Skip to content

Does MSI Installer support scope user? #103877

Answered by Trenly
BrandonWanHuanSheng asked this question in Q&A
Discussion options

You must be logged in to vote

It depends on the installer. If it is an MSI built with Wix, often times a user scoped install will still write its entries to the machine scoped registry incorrectly. This is a bug with the wix installer itself, and makes it difficult for winget to reason about them effectively. If it is an MSI that isn’t built with wix, it depends on how the publisher created the assembly. Some publishers will specify that their msi can only install to a machine context, others will specify that it can only install to a user context. The most common that I've seen is where if running elevated it will install to machine and if non-elevated it will install to user (think scope: machine & elevationRequired…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@filips123
Comment options

Answer selected by BrandonWanHuanSheng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants