Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

win,msi: change InstallScope to perMachine #25590

Closed
wants to merge 2 commits into from
Closed

win,msi: change InstallScope to perMachine #25590

wants to merge 2 commits into from

Conversation

joaocgreis
Copy link
Member

Currently, installing with the MSI always asks for Administrator permissions, as mentioned in #7629 . Explicitly installing per machine only adds the benefit that shortcuts are placed in ProgramData thus being accessible to all users and also solving #5849 .

The second commit moves the installation path in the registry to Local Machine. The registry stores HKLM in different places for 32 and 64 bit applications, so the installer will not suggest the old path when upgrading from 32 to 64 bit version, solving #5592 and #25087 .

MSI could not install for a single user before, this makes it explicit.
With this, Start Menu shortcuts are placed in ProgramData and not the
installing user's AppData folder, making the shortcuts available to
other users. This also fixes the installation when AppData is a network
folder.

Fixes #5849
Since install is per machine only, installation path should be stored
in local machine instead of current user.
@joaocgreis joaocgreis closed this Jun 30, 2015
@joaocgreis joaocgreis changed the title win,msi: explicitly installing per machine only win,msi: change InstallScope to perMachine Jul 7, 2015
@joaocgreis
Copy link
Member Author

Cannot reopen because of isaacs/github#361. Recreated as #25640.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants