John Robbins wrote: > I'd like to display a message box on a non-fatal warning during my install. > Additionally, because of a bug in Visual Studio (I'm installing add-ins), I > want to show a message box on uninstall. Given my limited WiX and MSI > knowledge, I don't see how to do the display unless I do a complete custom > UI. Am I missing something simple? Any help greatly appreciated. > In a full UI, you can use MsiProcessMessage to display message boxes. (See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/sending_messages_to_windows_installer_using_msiprocessmessage.asp for details.) And you can always construct a normal MSI dialog and use a SpawnDialog control event to show it.
But that won't work for a standard uninstall because ARP runs the uninstall in basic UI mode. One approach is to use ARPNOREMOVE to force ARP to run maintenance mode for any uninstall. That's in full UI mode so you can use MsiProcessMessage and/or standard MSI dialogs. -- sig://boB http://bobs.org Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users