This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Major Upgrade not working for multiple users on the same machine
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 15, 2013
12:01 PM
Major Upgrade not working for multiple users on the same machine
I have my project set to check and see if the upgradecode exists on a machine. If it finds the code exists, it pops up a message. I have tested this has working, but when I install my application as user 1 and then switch to user 2 on the same machine and run the same MSI, I would expect the same behavior. What I am seeing it that it does not see the upgradecode as existing for the second user. Am I not understanding how this works and is there a way to make this work with 2 different users?
Thanks
Thanks
- Tags:
- upgrade
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 15, 2013
09:19 PM
You are not understanding how it works. More information can be found at:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa369786%28v=vs.85%29.aspx
Basically:
1) Per-User installs performed for one account are out of scope / not visible to other accounts.
2) A major upgrade can also not change context. ( Per-User to Per-Machine or vice versa )
http://msdn.microsoft.com/en-us/library/windows/desktop/aa369786%28v=vs.85%29.aspx
Basically:
1) Per-User installs performed for one account are out of scope / not visible to other accounts.
2) A major upgrade can also not change context. ( Per-User to Per-Machine or vice versa )
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 16, 2013
09:26 AM
Thanks, so to clear there is no way to prevent 2 different users from installing the same application on the same machine using Installshield or Windows installer?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 16, 2013
01:32 PM
You can set ALLUSERS=1 in the package and modify the UI to not allow switch to Per-User. I almost always do this.