I had the "next" button incorrect in my dialog. Here's the new
definition.
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="!(loc.WixUINext)">
<Publish Event="NewDialog"
Value="InstallDirDlg">LicenseAccepted = "1"</Publish>
</Control>
-----Original Message-----
From: Pally Sandher [mailto:[email protected]]
Sent: Friday, November 19, 2010 2:32 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Next button referencing WixUI_InstallerDir
Because you're using <UIRef Id="WixUI_InstallDir" /> LicenseAgreementDlg
already has Publish events for the Next button set up. To make it work
like you would like see
http://wix.sourceforge.net/manual-wix3/WixUI_customizations.htm section
headed "Inserting a custom dialog into a built-in dialog set" and/or
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html
You're not far off though. Little bit of copy & pasting from the WiX
sources & you'll have it sorted.
Good Luck.
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: Alex McCool [mailto:[email protected]]
Sent: 19 November 2010 01:03
To: [email protected]
Subject: [WiX-users] Next button referencing WixUI_InstallerDir
Hi,
I'm trying to insert a UI dialog into the WixUI_InstallDir sequence to
supply website information, but my Next button is working. I can't
tell if I specifying the wrong id's, or I'm just off in left field.
Here's my dialog reference
<UI Id="superdooberUI">
<UIRef Id="WixUI_InstallDir" />
<DialogRef Id="websiteSetupDlg" />
<Publish Dialog="LicenseAgreementDlg" Control="Next"
Event="NewDialog" Value="websiteSetupDlg" Order="3">LicenseAccepted =
"1"</Publish>
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog"
Value="websiteSetupDlg">1</Publish>
</UI>
And the control's from <DialogRef Id="websiteSetupDlg" />, the back
button is working fine.
<Control Id="Back" Type="PushButton" X="180" Y="243" Width="56"
Height="17" Text="&Back">
<Publish Event="NewDialog"
Value="LicenseAgreementDlg">1</Publish>
</Control>
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="!(loc.WixUINext)">
<Publish Event="SpawnWaitDialog"
Value="WaitForCostingDlg">CostingComplete = 1</Publish>
<Condition Action="disable"><![CDATA[LicenseAccepted <>
"1"]]></Condition>
<Condition Action="enable">LicenseAccepted = "1"</Condition>
</Control>
Thanks,
Alex
------------------------------------------------------------------------
------
Beautiful is writing same markup. Internet Explorer 9 supports standards
for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------
------
Beautiful is writing same markup. Internet Explorer 9 supports standards
for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users