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!

MidnightRun
Posts: 1
Joined: Mon Apr 04, 2016 2:45 pm

Suggest the user to choose per-user or per-machine installation

Hi,
I want to archieve following:

The application can be installed per-user or per-machine.
When the customer gets a new version of the application, I want to give him a suggestion if he should install it per-user or per-machine depening on his previous chosen installation type.


I found the custom action "preserved install type" but I dont know how to build a installer like this with the Advanced Installer.

Thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Suggest the user to choose per-user or per-machine installation

Hello and welcome to our forums,

To achieve what you need you can follow our "Make the package install per-user or per-machine" article steps.

Next, if you want on upgrade to detect which install type the previous installation had, then you can save in a registry value the value of the "AI_InstallPerUser" property. Then you can use a registry search to read the above registry value. The "AI_InstallPerUser" property is the property associated with the radio button group used to choose the installation type on "InstallTypeDlg" dialog.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”