I have the following dialog logs defined, just a modified
MyWelcomeEulaDlg:

 

<Dialog Id="MyWelcomeEulaDlg" Width="370" Height="270"
Title="!(loc.WelcomeEulaDlg_Title)">

                                                            <Control
Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234"
TabSkip="no" Text="!(loc.WelcomeEulaDlgBitmap)" />

                                                            <Control
Id="LicenseAcceptedCheckBox" Type="CheckBox" X="130" Y="207" Width="226"
Height="18" CheckBoxValue="1" Property="LicenseAccepted1"
Text="!(loc.WelcomeEulaDlgLicenseAcceptedCheckBox)" />

                                                            <Control
Id="Back" Type="PushButton" X="156" Y="243" Width="56" Height="17"
Text="!(loc.WixUIBack)" >

          <Publish Event="SpawnDialog" Value="VersionConfDlg"/>

                                                            </Control>

                                                            <Control
Id="Install" Type="PushButton" ElevationShield="yes" X="212" Y="243"
Width="80" Height="17" Default="yes" Text="!(loc.WelcomeEulaDlgInstall)"
Hidden="yes">

 
<Publish Event="SpawnWaitDialog"
Value="WaitForCostingDlg">CostingComplete = 1</Publish>

 
<Publish Event="SpawnDialog" Value="VersionConfDlg"/>

 
<Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <>
1]]></Publish>

 
<Publish Event="SpawnDialog" Value="OutOfRbDiskDlg">OutOfDiskSpace = 1
AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT
PROMPTROLLBACKCOST)</Publish>

 
<Publish Event="EndDialog" Value="Return">OutOfDiskSpace = 1 AND
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>

 
<Publish Event="EnableRollback" Value="False">OutOfDiskSpace = 1 AND
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>

 
<Publish Event="SpawnDialog" Value="OutOfDiskDlg">(OutOfDiskSpace = 1
AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND
PROMPTROLLBACKCOST="F")</Publish>

 
<Condition Action="disable"><![CDATA[LicenseAccepted <>
"1"]]></Condition>

 
<Condition Action="enable">LicenseAccepted1 = "1"</Condition>

 
<Condition Action="show">ALLUSERS</Condition>

                                                            </Control>

                                                            <Control
Id="InstallNoShield" Type="PushButton" ElevationShield="no" X="212"
Y="243" Width="80" Height="17" Default="yes"
Text="!(loc.WelcomeEulaDlgInstall)" Hidden="yes">

 
<Publish Event="SpawnWaitDialog"
Value="WaitForCostingDlg">CostingComplete = 1</Publish>

 
<Publish Event="SpawnDialog" Value="VersionConfDlg">Installed OR
HPSTKVER</Publish>

 
<Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <>
1]]></Publish>

 
<Publish Event="SpawnDialog" Value="OutOfRbDiskDlg">OutOfDiskSpace = 1
AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT
PROMPTROLLBACKCOST)</Publish>

 
<Publish Event="EndDialog" Value="Return">OutOfDiskSpace = 1 AND
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>

 
<Publish Event="EnableRollback" Value="False">OutOfDiskSpace = 1 AND
OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>

 
<Publish Event="SpawnDialog" Value="OutOfDiskDlg">(OutOfDiskSpace = 1
AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND
PROMPTROLLBACKCOST="F")</Publish>

          <Condition Action="disable"><![CDATA[LicenseAccepted <>
"1"]]></Condition>

 
<Condition Action="enable">LicenseAccepted1 = "1"</Condition>

 
<Condition Action="show">NOT ALLUSERS</Condition>

                                                            </Control>

                                                            <Control
Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17"
Cancel="yes" Text="!(loc.WixUICancel)">

 
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>

                                                            </Control>

                                                            <Control
Id="Title" Type="Text" X="130" Y="6" Width="225" Height="30"
Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeEulaDlgTitle)" />

                                                            <Control
Id="LicenseText" Type="ScrollableText" X="130" Y="36" Width="226"
Height="162" Sunken="yes" TabSkip="no">

 
<Text SourceFile="files\ialic.rtf" />

                                                            </Control>

                                                            <Control
Id="Print" Type="PushButton" X="88" Y="243" Width="56" Height="17"
Text="!(loc.WixUIPrint)">

 
<Publish Event="DoAction" Value="WixUIPrintEula">1</Publish>

                                                            </Control>

                                                            <Control
Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />

                                             </Dialog>

 

When I run my installer and hit the Install button, I never see the
VersionConfDlg configured to spawn.  If I remove the <Publish
Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <>
1]]></Publish> line I can see my dialog.  Using orca I can see the
"order" column appears to be correct.  It seems that the "EndDialog"
action happens first no matter what the order is set to.  I am new to
MSI, is this by design, is there some bug here.  It seems like it should
work like the following 1.  Wait for CostingComplete, 2.  Show
"VersionConfDlg" if necessary, 3.  EndDialog if condition met.

Unfortunately it seems to skip the first 2 and just end the dialog.  Any
help or explanation would be appreciated!!

Wix version 3.0.5217.0

 

Thanks,

               George



** Confidentiality Notice:
This e-mail, including any associated or attached files, is intended solely for 
the individual or entity to which it is addressed. This e-mail is confidential 
and may well also be legally privileged. If you have received it in error, you 
are on notice of its status. Please notify the sender immediately by reply 
e-mail and then delete this message from your system. Please do not copy it or 
use it for any purposes, or disclose its contents to any other person.

This email is from the Invensys Process Systems business unit of the Invensys 
Group, a group of companies owned by Invensys plc, which is a company 
registered in England and Wales with its registered office at Portland House, 
Bressenden Place, London, SW1E 5BF (Registered number 166023).  For a list of 
European legal entities within the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.  

You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail 
inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be 
subject to the terms of any agreements between Invensys (and/or its 
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and 
affiliates).

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to