http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html
That link doesn't get posted enough to the list when people ask about customizing WiX UI (only once in the last week, twice in the last month, 10 times in the last 3 months, etc) so it's easy to miss. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: xxxxxx [mailto:contactnim...@googlemail.com] Sent: 27 May 2010 10:15 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom dialogs - once more Hi Pally, thanks for your detailed reply. Unfortunately it didn't bring me much further than where I already was. Customizing the existing ExitDialog is not an option for two reasons: - only one checkbox can be activated, but I need two, and, more important - there is still the infamous "letterbox" bug in the exit dialog (Windows background shines through) Both render this easy approach unusable for my purposes.Some authors suggested workarounds, mainly targeting putting the checkboxes into the status area, where the "letterbox" bug does not seem to appear, but, frankly speaking, this ist just replacing one bull**** with another bull****. So I was trying to replace the entire ExitDialog dialog following the instructions given in http://wix.sourceforge.net/manual-wix3/WixUI_customizations.htm but got no success for two reasons: 1.) The instructions say how to "insert" a dialog somewhere in the dialog sequence, but I need to "replace" the entire ExitDialog 2.) The ID of the ExitDialog is -1. Doing a little trial and error with ORCA I found out, that the Windows Installer seems to be hard coded to display dialog -1 at the end of the installation sequence. Trying to author a dialog with a sequence number of -1 reveals that the Wix <publish dialog> tag refuses to take negative numbers. Unless I missed something, I suspect that I may probably be able to replace any dialog, but not the ExitDialog, UserExit and FatalError dialogs, because those three have negative Sequence numbers. So I am stll stuck. Can you bring me further by either showing me where I was wrong, or showing me ways I didn't think of yet? Thanks, AL. Pally Sandher wrote: > 1 - answered an almost identical question yesterday funnily enough > with a link to the documentation page explaining exactly how to do > what you're asking -> > http://wix.sourceforge.net/manual-wix3/WixUI_customizations.htm > > 2 - That's a standard part of the WiX UI & has been for a very long > time > -> http://wix.sourceforge.net/manual-wix3/run_program_after_install.ht > -> m > > Both those pages are in the WiX.chm which you will have on your local > machine where you've installed WiX 3.0/3.5 & there is a shortcut in > your start menu to it too. The documentation isn't even lots of levels > deep & it's fully searchable on the web & in the .chm. > > Custom dialogs aren't a weak spot in WiX, they're actually a very > strong point. The problem is people look at the stock WiX UI's & think > that's all that is available/supported rather than seeing that they're > supplied as an easy UI solution to save people time when all they want > is something pretty standard. You can drop the entire WiXUI if you > wish & author a whole custom UI from scratch in your packages. That's > a drastic step for most people but it's 100% supported & documented if > you look in the WiX documentation (see > http://wix.sourceforge.net/manual-wix3/wix_xsd_ui.htm & it's children). > > You'd probably want to put your custom dialog with regards to > shortcuts before the PrepareDlg as once you hit the "install" button > it's too late to do Feature/Component conditions (which is what you'll > need with appropriate properties to do what you want to do) but it's > up to you where you want it. Replacing the exit dialog is also easily > done by reading the first link I pasted above but my guess is you > won't need to once you read the second. > > Palbinder Sandher > Software Deployment & IT Administrator > T: +44 (0) 141 945 8500 > F: +44 (0) 141 945 8501 > > http://www.iesve.com > **Design, Simulate + Innovate with the <Virtual Environment>** > Integrated Environmental Solutions Limited. Registered in Scotland No. > SC151456 > Registered Office - Helix Building, West Of Scotland Science Park, > Glasgow G20 0SP Email Disclaimer > > > -----Original Message----- > From: xxxxxx [mailto:contactnim...@googlemail.com] > Sent: 26 May 2010 16:41 > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Custom dialogs - once more > > Hi wix users, > > I admit, I am not creating wix packages the whole day long, and so I > look into wix from time to time when I need to create an installer for a > software. So far I managed to click together simple installers which > copy some files. Now I want to go one step further: what is missing in > the standard dialogs is a dialog which > > - asks the user whether he wants shortcuts on the desktop, the start > menu, or both > - asks the user whether he wants to start the application right after > the installation has finished > > Seems pretty easy, and is included in many installers I've seen. > Unfortunately, even after sinking considerable time into digging > documentations (found almost none, and the ones I found rised almost as > many questions as they answered, or were wrong or incomplete or both. > > Can anyone provide a sample which shows me how to do this? I have > already learned that custom dialogs are quite a weak spot in the wix > toolkit, so I don't care much wehere in the sequence the custom dialog > is inserted (before or after the installation part), thogh putting it at > the end would be the best way to do it, bit I already failed trying to > replace the exit dialog (sequence number -3) since the wix toolkit seems > to reject negative dialog numbers alltogether - so I guess tehre isn't a > way to do it in the current version. > > Thanks, > > AL > > ------------------------------------------------------------------------ > ------ > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------ ------ > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------ ------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users