Answer to problem 1: I already posted a link to yesterday on this very
thread (in fact I can see it on my screen as I type this further down
the thread). Between Neil S's blog & the WiX UI pages in the WiX manual
you should have all you need to make the changes required.

ExitDialog is called by Windows Installer. Just author one in the
InstallUISequence with sequence -1 & it'll be called at the end of the
installation if it was successful (if not it'll call whatever has
sequence -3, -2 is used for a user cancel event). You can do whatever
you like from there (NewDialogs, SpawnDialog etc).

I still don't get why you need a second License Agreement displayed
though. Also at that point the user doesn't need to accept your License
Agreement. Your software is already installed on their machine & you
can't initiate a rollback to remove it since the InstallExecuteSequence
has finished. At best you could try some method of forcing an uninstall
if the user doesn't accept the terms.

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: i...@roadrunner.com [mailto:i...@roadrunner.com] 
Sent: 22 June 2010 02:08
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Customizing WixUI_FeatureTree

Two problems with that:
- the ExitDialog is part of the UI_FeatureTree set, so I can't change it
from my project alone. I'll have to either modify the UI_FeatureTree set
and rebuild WiX, or copy the whole set into my project and modify the
copy
- after looking at the source for ExitDialog I'm still not sure how it
is invoked, or how to make it not run after the "progress" stage


---- Blair <os...@live.com> wrote: 
> You set your ReadmeDlg the way that ExitDialog is currently invoked, 
> then have ReadmeDlg's Next button go to ExitDialog. You can then 
> enable/add back in ExitDialog's Back button and set it to return to
ReadmeDlg.
> 
> -----Original Message-----
> From: i...@roadrunner.com [mailto:i...@roadrunner.com]
> Sent: Monday, June 21, 2010 5:29 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Customizing WixUI_FeatureTree
> 
> >> 1) Add a Readme.rtf file at the end of the install. This can either

> >> be in a dialog similar to EULA (that's what Visual Studio setup 
> >> projects do), or a checkbox to execute the RTF when the installer 
> >> closes. Given the choice between the two I would prefer the first 
> >> option (embed the Readme text in a dialog).
> 
> > 1 -
> > http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.h
> > tml However from looking at the sources WiXUI_FeatureTree already 
> > has LicenseAgreementDlg after the WelcomeDlg. If you want a second 
> > one showing a different RTF you'll need to write it (or copy & paste

> > from the LicenseAgreementDlg.wxs in the WiX sources).
> 
> This turns out to be harder than expected. I want to show my Readme 
> dialog after the install progress but before ExitDialog. However the 
> ExitDialog doesn't follow the standard Prev/Next navigation, so it's 
> not straight-forward to include something before it. Let's say I 
> already have
> this:
> 
> <UI>
>   <Dialog Id="ReadmeDlg"...>
>   ...
>   </Dialog>
>   <Publish Dialog="ReadmeDlg" Control="Next" Event="NewDialog"
> Value="ExitDialog">1</Publish>
> </UI>
> 
> I'm assuming this will create a dialog and its Next button will go to 
> ExitDialog.
> What do I need to do to get ReadmeDlg to show after the progress 
> instead of ExitDialog (but only after a successful install)?
> 
> 
> ----------------------------------------------------------------------
> ------
> --
> ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad 
> Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit.  
> See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> ----------------------------------------------------------------------
> -------- ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental

> unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's
Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit.  See the
prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to