cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Christoph
Level 8

UILevel value during full uninstall

Hi,

I've a custom action in the execute sequence that need to be triggered when the installer is running silently. Placed the condition "UILevel=2" on it.

However, it seems that this custom action is not executed when clicking 'Remove' from the Add/Remove Control Panel(and I want that).

I thaught that when the uninstaller is started via the ARP by clicking the 'Remove' button, it automatically runs silently and sets the UILevel to '2'...?!?

Is this correct?
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

Is the action in the Execute sequence? If it's in the User Interface sequence, MSI skips that sequence for a silent or basic UI.

Otherwise, if you create an MSI log file, is there a different value of UILevel?
0 Kudos
Christoph
Level 8

The CA is scheduled in the Execute Sequence.
I printed out the UILevel property during execution.

Until a few hours ago I always believed that when you do a Product Remove via the AddRemove Control Panel, that UILevel=2 but it isn't.

UILevel=2 when you explicitily launch the setup with the silent flag from the commanline.

Via the Add/Remove Control performing a product uninstall, gives UILevel the value '3'.

I didn't knew that... :rolleyes:
0 Kudos