cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Jayrm14
Level 3

How to customize messageboxes displayed through MsiProcessMessage

I'm trying to display a YesNo messagebox on uninstallation from ARP. Im using installscript to display the messagebox, and Ive found that the message is always displayed under the progress bar. This has directed me to use MsiProcessMessage. I can display a basic messagebox using this technique, however I want to display a YesNo messagebox and cannot figure out how to customize the messagebox displayed. I cannot seem to find any examples either.

Could anyone give me some guidance or point me to some examples on how to do this?

Thanks
Labels (1)
0 Kudos
(1) Reply
Cary_R
Level 11

Hi There,

If I recall correctly, the dialog you can customize that is used for MsiProcessMessage is the dialog defined in the ErrorDialog property.

For InstallShield Basic MSI projects, this is the SetupError dialog by default. MSI has some requirements for an Error Dialog, though, so try not to modify anything that's stated as required:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa368546(v=vs.85).aspx
0 Kudos