With an ALLUSER=2 MSI, What will happen if the per-user install is followed by an per-machine install?
Question
Will happen if the per-user install is followed by an install running with administrator privileges (i.e. one triggered by the IT administrator)?
Answer
Say the admin installs the same app per machine. After this setup is done, User1 still sees the per-user installed app in ARP, and User1 cannot use the full functionalities in the per-machine installed app. But other users could use the per-machine installed app. So when MSI does a per-machine install, it does not uninstall the same app installed per-user for some particular user context.
If you’d like ensure the full functionalities of your app are available to all users, and some of them require admin privilege to install, please condition your setup to run for admin (see LaunchCondition Table and Privledged Property)
Content credit also belongs to
- Chun-Yen, MSI Team Test Engineer. You can get other Chun-Yen insights about developing for Windows Installer from the Windows Installer Chat Archives
[Author: Robert Flaming and Editorial Support: Stefan Krueger]
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at https://www.microsoft.com/info/cpyright.htm.
Comments
- Anonymous
April 05, 2008
PingBack from http://copyrightrenewalsblog.info/windows-installer-team-blog-with-an-alluser2-msi-what-will-happen/