Upgrade always ran as per user not per machine #7242
Unanswered
DavidStrachanLexacom
asked this question in
Questions
Replies: 1 comment 8 replies
-
Per-user/per-machine is a setting on the package. Your current package is per-user. The package already installed is per-machine. The Windows Installer will not upgrade across "install scopes". So the real question is: Why does your package have a different install scope now? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am fairly new to Wix and inherited an previous setup, so apologies in advance if my question is very basic.
The problem:
Upgrades are not removing previous install for some user.
Diagnostic:
I found that this was only impacting users that installed originally to the machine and not user. I setup and ran the logging and saw:
FindRelatedProducts: current install is per-user. Related install for product '{GUID}' is per-machine. Skipping...
Question:
Why is an upgrade running install per-user when the original was set per-machine?
Is this due to the upgrade not running Install, but running InstallNoShield (not elevating privileges)?
Where in the Wix Setup would the upgrade install be defined?
Additional information:
WE have MajorUpgrade set as:
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed. Setup will now exit."/>
Beta Was this translation helpful? Give feedback.
All reactions