Skip to content

feat(cli): add MSI install scope and default it to per-user - #5799

Open
nikuda wants to merge 2 commits into
DioxusLabs:mainfrom
nikuda:feat/wix-per-user-install-scope
Open

feat(cli): add MSI install scope and default it to per-user#5799
nikuda wants to merge 2 commits into
DioxusLabs:mainfrom
nikuda:feat/wix-per-user-install-scope

Conversation

@nikuda

@nikuda nikuda commented Aug 31, 2026

Copy link
Copy Markdown

MSI installers from dx bundle now default to per-user: %LOCALAPPDATA%\Programs\<product>, InstallScope="perUser", InstallPrivileges="limited", no UAC. That matches the existing NSIS default (CurrentUser). Per-machine (ProgramFiles, elevated) is opt-in.

Previously the WiX template hardcoded InstallScope="perMachine" with no config.

Config

[bundle.windows.wix]
install_scope = "PerUser"    # default if omitted
# install_scope = "PerMachine"

Breaking changes

Stock dx bundle --package-types msi (no install_scope) installs per-user instead of per-machine.

Test plan

  • Parse: omitted [bundle.windows.wix]PerUser; install_scope = "PerMachine"PerMachine
  • Template: per-user uses LocalAppDataFolder\Programs and InstallPrivileges="limited"; per-machine keeps ProgramFiles*Folder

nikuda added 2 commits August 31, 2026 12:51
Add [bundle.windows.wix] install_scope (PerUser / PerMachine).
Unset matches NSIS CurrentUser: %LOCALAPPDATA%\Programs, no UAC.
PerMachine remains opt-in for Program Files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant