Skip to content

[Setup] Support per-user installation #15516

@yuyoyuppe

Description

@yuyoyuppe

Description of the new feature / enhancement

Moving to a full per user proved to be not so simple. This issue tries to have a comprehensive list of issues with it:

  • Cannot uninstall previous versions w/o elevation, since accessing locations like Program Files isn't possible with limited privileges. Looks like the least awkward solution is to employ elevated WiX bootstrapper for this somehow.
  • If Product is switched to perUser, WiX start requiring using explicit registry keypaths as well as explicit RemoveFiles elements, and those do not properly support downgrading and upgrading to a different install directory. We might try removing explicit Id/Guid for Components, also that'll likely resolve infamous missing app.dark.png class of issues.

Scenario when this would be used?

  • some environments disallow elevation
  • installation is more contained and cannot interfere with other users

Supporting information

No response

Metadata

Metadata

Labels

Area-QualityStability, Performance, Etc.Area-Setup/InstallRefers to installation mechanismIdea-EnhancementNew feature or request on an existing productResolution-Fix CommittedFix is checked in, but it might be 3-4 weeks until a release.

Type

No type

Projects

Status

Done ✔

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions