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!

zeiddev
Posts: 103
Joined: Sat Aug 10, 2013 12:30 am

Quit Installer if process running

I have a launch condition that prevents the installer continuing if a specific process is running. This works well during first install. However it does not seem to work when you go back in and modify the installation by adding a new feature etc.

Am I missing something here?

Thanks

David
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Quit Installer if process running

Hi David,

This happens because launch conditions are not evaluated on maintenance (modify, repair, remove).

If you want all launch conditions to be evaluated on maintenance phase too you can go to Table Editor page, locate
InstallUISequence and InstallExecuteSequence tables. Then in each of them locate the standard action "LaunchConditions",
then remove the current condition, i.e. NOT Installed, leaving the condition field empty.

NOTE, this till trigger evaluation of all launch conditions. So if for example you have a launch condition that checks for .NET 4.0 (which the user
had on the machine when he installed your application), this will be checked on uninstall too. So if the user uninstalls/downgrades the .NET platform
then he will not be able to uninstall your application.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”