[Setup] Support per-user installation · Issue #15516 · microsoft/PowerToys (original) (raw)
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 toperUser
, WiX start requiring using explicit registry keypaths as well as explicitRemoveFiles
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