This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to customize messageboxes displayed through MsiProcessMessage
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Nov 09, 2011
07:45 AM
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
Could anyone give me some guidance or point me to some examples on how to do this?
Thanks
(1) Reply
Nov 09, 2011
11:11 AM
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
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