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

How to suppress AskYesNo dlg

I have one MSI project in which i wrote an install script custom action and sequenced it to execute during Uninstallation. Inside the customaction there is an AskYesNo() function. Normal uninstallation the message is popping up and thats the desired behavior too.

My problem here is that when i try the silent uninstallation with /q or /qn or /qb still only that dialog is popping up.

Is there any way to suppress this AskYesNo dialog?

Can anyone provide some information on this?
Labels (1)
0 Kudos
(3) Replies
TsungH
Level 12

You can either check from inside of your InstallScript custom action if it is running silently, or set a condition on the said custom action so that it will not run in silent mode.
0 Kudos
manomatt
Level 8

Thanks for that hint. The issue i had spotted when i am doing the major Upgrade and since the earlier product that is already installed in the machine is having this issue is there anything that i can do to supress it from my new installer?
0 Kudos
TsungH
Level 12

Other than modifying the cached MSI, the answer is no. That's one reason why there shouldn't be any prompt for user input during Execute Sequence.
0 Kudos