ChrisGue
Posts: 93
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”