By changing it to 'Order="3"' seems to be working. Thanks for the hint.

dl

Pally Sandher wrote:
> 
> I'd try changing
> 
> <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog"
> Value="UserRegistrationDlg" Order="2">LicenseAccepted = "1"</Publish>
> 
> To 'Order="1"' as from looking at the WiX v3.0 sources, WiXUI_Mondo.wxs
> has the following:
> 
> <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog"
> Value="SetupTypeDlg" Order="2">LicenseAccepted = "1"</Publish>
> 
> So it they could be conflicting.
> Your code looks absolutely fine, other than this nothing jumps out as a
> possible cause here.
> 
> If this fixes your issue could you e-mail Gábor DEÁK JAHN
> (mailto:d...@tramontana.co.hu?subject=wixtutorial) to let him know so he
> can update the tutorial?
> 
> Good luck & it's good to see people using resources like the tutorial.
> Keep it up, it doesn't take much to get into WiX but it's very powerful
> once you know how to use it =)
> 
> 
> 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: DerekLiang [mailto:derek.liang...@gmail.com] 
> Sent: 14 September 2009 19:18
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] replacing DialogRef with Dialog is not working
> 
> 
> Hi all,
> 
> I am wondering how to insert a custom dialog into a built-in dialog set in
> a SINGLE file.
> 
> Here is what I do. Please let me know what do I do wrong.
> 
> 1. download the sample zip files, compile, and test successfully.
> http://www.tramontana.co.hu/wix/download.php?file=samples/samplewixuiadddlg.zip&type=application/zip
> 2. replaced the  <DialogRef Id="UserRegistrationDlg" /> in File
> SampleWixUIAddDlg.wxs with the content between the <UI> and </UI> tags in
> UserRegistrationDlg.wxs as the following.
> 3. compilation is success. However when I try to install the MSI, the
> UserRegistrationDlg is a not appearing.
> 
> Is this supposed to work, or there is something else I need to do.
> 
> Thanks in advance!
> 
> dl
> 
> ---content of SampleWixUIAddDlg.wxs ---- <?xml version="1.0"
> encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
>     <Product Name="Foobar 1.0" Id="DF713893-D1DA-4D9D-B58C-1BE2D615E3E9"
> UpgradeCode="DBE560F6-1832-4F36-9EE0-9F8A31DF9077" Language="1033"
> Codepage="1252" Version="1.0.0" Manufacturer="Acme Ltd.">
>         <Package Id="*" Keywords="Installer" Description="Acme's Foobar
> 1.0 Installer" Comments="Foobar is a registered trademark of Acme Ltd."
> Manufacturer="Acme Ltd." InstallerVersion="100" Languages="1033"
> Compressed="yes" SummaryCodepage="1252" />
>         <Media Id="1" Cabinet="Sample.cab" EmbedCab="yes"
> DiskPrompt="CD-ROM #1" />
>         <Property Id="DiskPrompt" Value="Acme's Foobar 1.0 Installation
> [1]"
> />
>         <Directory Id="TARGETDIR" Name="SourceDir">
>             <Directory Id="ProgramFilesFolder" Name="PFiles">
>                 <Directory Id="Acme" Name="Acme">
>                     <Directory Id="INSTALLDIR" Name="Foobar 1.0">
>                         <Component Id="MainExecutable"
> Guid="69A40E29-6F4E-4E45-BA28-E839329C7F00">
>                             <File Id="FoobarEXE" Name="FoobarAppl10.exe"
> DiskId="1" Source="FoobarAppl10.exe" KeyPath="yes">
>                                 <Shortcut Id="startmenuFoobar10"
> Directory="ProgramMenuDir" Name="Foobar 1.0" WorkingDirectory="INSTALLDIR"
> Icon="Foobar10.exe" IconIndex="0" Advertise="yes" />
>                                 <Shortcut Id="desktopFoobar10"
> Directory="DesktopFolder" Name="Foobar 1.0" WorkingDirectory="INSTALLDIR"
> Icon="Foobar10.exe" IconIndex="0" Advertise="yes" />
>                             </File>
>                         </Component>
>                         <Component Id="HelperLibrary"
> Guid="73099C09-DAFF-4A5C-8EDE-A35593418FAA">
>                             <File Id="HelperDLL" Name="Helper.dll"
> DiskId="1" Source="Helper.dll" KeyPath="yes" />
>                         </Component>
>                         <Component Id="Manual"
> Guid="43BCCCEA-2D92-4308-AB60-061FFCAEE6EA">
>                             <File Id="Manual" Name="Manual.pdf" DiskId="1"
> Source="Manual.pdf" KeyPath="yes">
>                                 <Shortcut Id="startmenuManual"
> Directory="ProgramMenuDir" Name="Instruction Manual" Advertise="yes" />
>                             </File>
>                         </Component>
>                     </Directory>
>                 </Directory>
>             </Directory>
>             <Directory Id="ProgramMenuFolder" Name="Programs">
>                 <Directory Id="ProgramMenuDir" Name="Foobar 1.0">
>                     <Component Id="ProgramMenuDir"
> Guid="1E5FF05A-8F12-431E-B180-0FDA9E648D3C">
>                         <RemoveFolder Id="ProgramMenuDir" On="uninstall"
> />
>                         <RegistryValue Root="HKCU"
> Key="Software\[Manufacturer]\[ProductName]" Type="string" Value=""
> KeyPath="yes" />
>                     </Component>
>                 </Directory>
>             </Directory>
>             <Directory Id="DesktopFolder" Name="Desktop" />
>         </Directory>
>         <Feature Id="Complete" Title="Foobar 1.0" Description="The
> complete package." Display="expand" Level="1"
> ConfigurableDirectory="INSTALLDIR">
>             <Feature Id="MainProgram" Title="Program" Description="The
> main executable." Level="1">
>                 <ComponentRef Id="MainExecutable" />
>                 <ComponentRef Id="HelperLibrary" />
>                 <ComponentRef Id="ProgramMenuDir" />
>             </Feature>
>             <Feature Id="Documentation" Title="Description"
> Description="The instruction manual." Level="1000">
>                 <ComponentRef Id="Manual" />
>             </Feature>
>         </Feature>
>         <UI Id="MyWixUI_Mondo">
>             <UIRef Id="WixUI_Mondo" />
>             <Dialog Id="UserRegistrationDlg" Width="370" Height="270"
> Title="[ProductName] [Setup]" NoMinimize="yes">
>                 <Control Id="NameLabel" Type="Text" X="45" Y="73"
> Width="100" Height="15" TabSkip="no" Text="&amp;User Name:" />
>                 <Control Id="NameEdit" Type="Edit" X="45" Y="85"
> Width="220"
> Height="18" Property="USERNAME" Text="{80}" />
>                 <Control Id="OrganizationLabel" Type="Text" X="45" Y="110"
> Width="100" Height="15" TabSkip="no" Text="&amp;Organization:" />
>                 <Control Id="OrganizationEdit" Type="Edit" X="45" Y="122"
> Width="220" Height="18" Property="COMPANYNAME" Text="{80}" />
>                 <Control Id="CDKeyLabel" Type="Text" X="45" Y="147"
> Width="50" Height="10" TabSkip="no">
>                     <Text>CD &amp;Key:</Text>
>                 </Control>
>                 <Control Id="CDKeyEdit" Type="MaskedEdit" X="45" Y="159"
> Width="250" Height="16" Property="PIDKEY" Text="[PIDTemplate]" />
>                 <Control Id="Back" Type="PushButton" X="180" Y="243"
> Width="56" Height="17" Text="&amp;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="&amp;Next">
>                     <Publish Event="ValidateProductID"
> Value="0">1</Publish>
>                     <Publish Event="SpawnWaitDialog"
> Value="WaitForCostingDlg">CostingComplete = 1</Publish>
>                     <Publish Event="NewDialog"
> Value="SetupTypeDlg">ProductID</Publish>
>                 </Control>
>                 <Control Id="Cancel" Type="PushButton" X="304" Y="243"
> Width="56" Height="17" Cancel="yes" Text="Cancel">
>                     <Publish Event="SpawnDialog"
> Value="CancelDlg">1</Publish>
>                 </Control>
>                 <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0"
> Width="370" Height="44" TabSkip="no" Text="WixUI_Bmp_Banner" />
>                 <Control Id="Description" Type="Text" X="25" Y="23"
> Width="280" Height="15" Transparent="yes" NoPrefix="yes">
>                     <Text>Please enter your customer information</Text>
>                 </Control>
>                 <Control Id="BottomLine" Type="Line" X="0" Y="234"
> Width="370" Height="0" />
>                 <Control Id="Title" Type="Text" X="15" Y="6" Width="200"
> Height="15" Transparent="yes" NoPrefix="yes">
>                     <Text>{\WixUI_Font_Title}Customer Information</Text>
>                 </Control>
>                 <Control Id="BannerLine" Type="Line" X="0" Y="44"
> Width="370" Height="0" />
>             </Dialog>
>             <Publish Dialog="LicenseAgreementDlg" Control="Next"
> Event="NewDialog" Value="UserRegistrationDlg" Order="2">LicenseAccepted =
> "1"</Publish>
>             <Publish Dialog="SetupTypeDlg" Control="Back"
> Event="NewDialog"
> Value="UserRegistrationDlg">1</Publish>
>         </UI>
>         <UIRef Id="WixUI_ErrorProgressText" />
>         <Property Id="PIDTemplate"><![CDATA[12345<###
> ###>@@@@@]]></Property>
>         <Icon Id="Foobar10.exe" SourceFile="FoobarAppl10.exe" />
>     </Product>
> </Wix>
> ---end of content of SampleWixUIAddDlg.wxs ----
> 
> Related tutorial can be found at
> http://www.tramontana.co.hu/wix/lesson2.php#2.5
> 
> 
> --
> View this message in context:
> http://n2.nabble.com/replacing-DialogRef-with-Dialog-is-not-working-tp3644211p3644211.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day trial. Simplify your report design, integration and deployment -
> and focus on what you do best, core application coding. Discover what's
> new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9&#45;12, 2009. Register
> now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/replacing-DialogRef-with-Dialog-is-not-working-tp3644211p3650575.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to