installer account level and upgrades - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

kilroytrout
Posts: 1
Joined: Mon Mar 17, 2008 12:34 am

installer account level and upgrades

I have an old MSI created with Visual Studio that I want to be able to uninstall with a new installer built with AI. I created a cusom AI upgrade rule to uninstall the associated old MSI upgrade code. Unfortunately, this only works if the user happened to install the original application at the machine account level (i.e., selecting "Everyone" vs "Just me"). The AI installer apparently runs at machine level, and will refuse to uninstall the old package if it were a "just me" install.

First of all, does the AI installer enable such an option (machine vs user), and second of all how can I detect the original package installation level and uninstall it accordingly?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Please note that Windows Installer does not support this.

If an application is installed as per-user, any major upgrade to the application must also be a per-user installation. If an application is installed as per-machine, any major upgrade to the application must also be a per-machine installation.

You can read more about this here:
http://msdn2.microsoft.com/en-us/library/aa369786.aspx

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”