The only other thing I could think of is having 2 dialogs which are a
clone of each other & simply looping round between them until the user
enters some valid data.

        <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Cancel="yes" Text="!(loc.WixUINext)" >
          <Publish Event="DoAction" Value="ValidateMyStuff">1</Publish>
          <Publish Event="NewDialog"
Value="VerifyReadyDlg"><![CDATA[MYSTUFFISVALID = "1"]]></Publish>
          <Publish Event="NewDialog"
Value="MyConfigDlgCopy"><![CDATA[MYSTUFFISVALID <> "1"]]></Publish>
        </Control>

Do the same on the copy but reference the original dialog in the 2nd
NewDialog event. You would likely need to code additional properties to
pass the entered data between the 2 identical dialogs if you want it to
persist from the original to the copy.

Not sure how well that will work though, it all depends on whether the
MYSTUFFISVALID property is set before the NewDialog event is called as
the user might end up seeing the same dialog twice so I'd recommend
testing it as thoroughly as you can on the various versions of Windows
Installer.

Which type of Control(s) are you using to get data from the user?

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: gapearce [mailto:mr_gapea...@yahoo.com] 
Sent: 10 June 2010 17:04
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] NEXT button behavior


Thanks for the quick response, Pally.

That is the problem - I was hoping to not have to add an extra button.
I couldn't figure out how to check everything before the user clicks the
next button...

Hmmm.

Any other ideas?

Thanks again
Greg
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NEXT-butto
n-behavior-tp5163545p5163942.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------
------
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