Introduce a new setup wizard implementation (wizard.c) and wire it into the project. Add dialog resources and embed a PNG sidebar image and update resource IDs. Enable dark-mode rendering for wizard/task dialog pages and controls and add helper functions for applying dark styling. Fix archive path handling in extract.c by normalizing prefix checks and trimming architecture prefixes consistently. Harden file commit/rollback logic in util.c: proactively remove stale .bak files, use safer rename semantics, adjust access flags, ensure proper cleanup/dereference paths and error handling.
Introduce an atomic two-phase extraction and commit flow for the setup tool: add staging (.new/.bak per-session) and commit/rollback/finalize helpers (SetupWriteFileAtomic, SetupCommitFile, SetupRollbackFile, SetupFinalizeFile, SetupGetSessionId) and use a staged list during extraction to commit files only after successful staging. Update SetupUseExistingKsi and SetupUpdateKsi to use file-size/content comparisons and safer rename semantics. Adjust progress reporting and skip/normalize architecture-specific paths during extraction.
Convert command execution APIs to accept argument lists instead of single command strings . These changes improve argument separation/quoting safety and allow complex command invocations (including PowerShell-based CMake setup) to run in a single process session.