how to check if the uninstallation has been called with... - 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!

ChrisGue
Posts: 116
Joined: Tue Feb 03, 2009 7:26 pm

how to check if the uninstallation has been called with...

Hi ,
I want to have a custom action that is not called when the user uninstalls with the option
/passive
or
/quiet
How can I check in the execution condition if one of these command line parameters have been applied?

Thanks,
Chris
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Re: how to check if the uninstallation has been called with...

Hi Chris,

You can use the UILevel Property in order to determine the level of the user interface. For instance, you can use an Execution Condition for the Custom Action such as the following:

Code: Select all

UILevel = 5
or even:

Code: Select all

UILevel > 3
Hope this helps.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”