Where is your replacement of WixUI_Advanced? The two <Publish> tags aren’t
sufficient.
Blair
From: Pierre-Alain GALTIER
Sent: Wednesday, November 06, 2013 7:53 AM
To: General discussion for Windows Installer XML toolset.
The whole fragment is :
<UI Id="myWixUI">
<Property Id="VIV_SelectArchDlg_Back" Value="AdvancedWelcomeEulaDlg" />
<Property Id="VIV_SelectArchDlg_Next" Value="InstallDirDlg" />
<Publish Dialog="AdvancedWelcomeEulaDlg" Control="Advanced"
Event="NewDialog" Value="VIV_SelectArchDlg">LicenseAccepted = "1"</Publish>
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog"
Value="VIV_SelectArchDlg">1</Publish>
<!--
======================================================================================================
-->
<!-- === Select Visio PLC architecture dialog
== -->
<!-- ===
==
-->
<!-- === Buttons:
== -->
<!-- === [Back] -
== -->
<!-- === [Next] -
== -->
<!-- === [Cancel] -
== -->
<!-- ===
== -->
<!--
======================================================================================================
-->
<Dialog Id="VIV_SelectArchDlg" Width="370" Height="270"
Title="!(loc.AdvancedWelcomeEulaDlg_Title)" NoMinimize="yes">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370"
Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15"
Transparent="yes" NoPrefix="yes">
<Text>[DlgTitleFont]Visio PLC type</Text>
</Control>
<Control Id="Description" Type="Text" X="25" Y="23" Width="300"
Height="15" Transparent="yes" NoPrefix="yes">
<Text>Select your Visio PLC type</Text>
</Control>
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370"
Height="0" />
<Control Id="RadioButtonGroupID" Type="RadioButtonGroup" X="30" Y="94"
Width="305" Height="100" Property="VIV_PLCTYPE">
<RadioButtonGroup Property="VIV_PLCTYPE">
<RadioButton Value="SIEMENS" X="0" Y="0" Width="200" Height="10"
Text="Siemens" />
<RadioButton Value="TWIDO" X="0" Y="20" Width="200" Height="10"
Text="Twido (Schneider)" />
</RadioButtonGroup>
</Control>
<Control Id="Back" Type="PushButton" X="180" Y="243" Width="56"
Height="17" Text="!(loc.WixUIBack)">
<Publish Event="NewDialog"
Value="[VIV_SelectArchDlg_Back]"><![CDATA[1]]></Publish>
</Control>
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="!(loc.WixUINext)">
<Publish Event="NewDialog"
Value="[VIV_SelectArchDlg_Next]"><![CDATA[CostingComplete = 1 AND VIV_PLCTYPE
<> ""]]></Publish>
<Publish Event="SpawnWaitDialog"
Value="WaitForCostingDlg"><![CDATA[CostingComplete = 1]]></Publish>
</Control>
<Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56"
Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
<Publish Event="SpawnDialog" Value="CancelDlg"><![CDATA[1]]></Publish>
</Control>
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370"
Height="0" />
</Dialog>
</UI>
Pierre-Alain GALTIER
Responsable Pôle Informatique & Technologie
IT Department Manager
[email protected] | www.vivelys.com
Tel. +33 (0)4 67 85 68 43 | Fax +33 (0)4 67 85 68 41
-----Original Message-----
From: Pierre-Alain GALTIER [mailto:[email protected]]
Sent: Wednesday, November 6, 2013 4:05 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Inserting a dialog when user click on the"Advanced"
button [P]
Thank you
When I hit the Advanced button in the Welcome Eula Dialogbox, the next dialog
box is InstallDir and the logging said :
Action 15:57:31: AdvancedWelcomeEulaDlg.
Action start 15:57:31: AdvancedWelcomeEulaDlg.
Info 2898.For WixUI_Font_Title textstyle, the system created a 'Tahoma' font,
in 0 character set, of 14 pixels height.
Action 15:57:32: AdvancedWelcomeEulaDlg. Dialog created
MSI (c) (44:14) [15:57:32:054]: Note: 1: 2205 2: 3: _RemoveFilePath
MSI (c) (44:14) [15:57:32:058]: PROPERTY CHANGE: Modifying CostingComplete
property. Its current value is '0'. Its new value: '1'.
MSI (c) (44:14) [15:57:32:058]: Note: 1: 2205 2: 3: BindImage
MSI (c) (44:14) [15:57:32:058]: Note: 1: 2205 2: 3: ProgId
MSI (c) (44:14) [15:57:32:058]: Note: 1: 2205 2: 3: PublishComponent
MSI (c) (44:14) [15:57:32:058]: Note: 1: 2205 2: 3: SelfReg
MSI (c) (44:14) [15:57:32:058]: Note: 1: 2205 2: 3: Extension
MSI (c) (44:14) [15:57:32:058]: Note: 1: 2205 2: 3: Font
MSI (c) (44:14) [15:57:32:058]: Note: 1: 2205 2: 3: Class
MSI (c) (44:14) [15:57:32:058]: Note: 1: 2205 2: 3: TypeLib
MSI (c) (44:14) [15:57:32:059]: Note: 1: 2727 2:
MSI (c) (44:48) [15:57:34:894]: PROPERTY CHANGE: Adding LicenseAccepted
property. Its value is '1'.
Action 15:57:36: InstallDirDlg. Dialog created
I could see my Dialog box only if I hit the Back button of the InstallDirDlg
Dialog
Then the log said:
Action 16:01:39: AdvancedWelcomeEulaDlg. Dialog created
MSI (c) (D4:40) [16:01:39:968]: Note: 1: 2205 2: 3: _RemoveFilePath
MSI (c) (D4:40) [16:01:39:972]: PROPERTY CHANGE: Modifying
CostingComplete property. Its current value is '0'. Its new value: '1'.
MSI (c) (D4:40) [16:01:39:972]: Note: 1: 2205 2: 3: BindImage
MSI (c) (D4:40) [16:01:39:972]: Note: 1: 2205 2: 3: ProgId
MSI (c) (D4:40) [16:01:39:972]: Note: 1: 2205 2: 3: PublishComponent
MSI (c) (D4:40) [16:01:39:972]: Note: 1: 2205 2: 3: SelfReg
MSI (c) (D4:40) [16:01:39:972]: Note: 1: 2205 2: 3: Extension
MSI (c) (D4:40) [16:01:39:972]: Note: 1: 2205 2: 3: Font
MSI (c) (D4:40) [16:01:39:972]: Note: 1: 2205 2: 3: Class
MSI (c) (D4:40) [16:01:39:972]: Note: 1: 2205 2: 3: TypeLib
MSI (c) (D4:40) [16:01:39:973]: Note: 1: 2727 2:
MSI (c) (D4:3C) [16:01:42:065]: PROPERTY CHANGE: Adding LicenseAccepted
property. Its value is '1'.
Action 16:01:44: InstallDirDlg. Dialog created
I hit the back button...
Action 16:01:45: VIV_SelectArchDlg. Dialog created
Thank you for your help
Pierre-Alain GALTIER
Responsable Pôle Informatique & Technologie
IT Department Manager
[email protected] | www.vivelys.com
Tel. +33 (0)4 67 85 68 43 | Fax +33 (0)4 67 85 68 41
-----Original Message-----
From: Steven Ogilvie [mailto:[email protected]]
Sent: Wednesday, November 6, 2013 3:18 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Inserting a dialog when user click on the "Advanced"
button [P]
Classification: Public
What does the MSI logging reveal? ( to enable MSI logging check this out:
http://support.microsoft.com/kb/223300)
-----Original Message-----
From: Pierre-Alain GALTIER [mailto:[email protected]]
Sent: November-06-13 8:58 AM
To: [email protected]
Subject: [WiX-users] Inserting a dialog when user click on the "Advanced" button
Hello,
I have a custom dialog box that I’ve successfully inserted between the
LicenseAgreementDlg and InstallDirDlg using WixUI_InstallDir template.
Now I want to use the WixUI_Advanced template and insert the same dialogbox
when user press the “Advanced” or “Install” buttons.
… and I failed L
I added the following line but didn’t show my dialog when user click on
Advanced button and I do not understand the reason :
<Publish Dialog="AdvancedWelcomeEulaDlg" Control="Advanced"
Event="NewDialog" Value="VIV_SelectArchDlg">LicenseAccepted = "1"</Publish>
Any advise ?
Thanks
Pierre-Alain GALTIER
Responsable Pôle Informatique & Technologie IT Department Manager
[email protected] | www.vivelys.com Tel. +33 (0)4 67 85 68 43 |
Fax +33 (0)4 67 85 68 41
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers Accelerate application
performance with scalable programming models. Explore techniques for threading,
error checking, porting, and tuning. Get the most from the latest Intel
processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
This message has been marked as Public by Steven Ogilvie on November-06-13
9:17:48 AM.
The above classification labels were added to the message by TITUS Message
Classification. For more information visit www.titus.com.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users