I would like to display a dialog during my install if a specific condition
is met.  But after displaying the message I would like allow the user to
continue with the installation.  I have tried a couple of ways.  In both
attempts I have created a new dialog with an OK button:

            

<Dialog Id="NoJavaDlg" Width="284" Height="73" Title="[ProductName] [Setup]"
NoMinimize="yes">

            <Control Id="Icon" Type="Icon" X="7" Y="11" Width="24"
Height="24" ToolTip="Information icon" FixedSize="yes" IconSize="32"
Text="[InfoIcon]" />

            <Control Id="Text" Type="Text" X="38" Y="8" Width="240"
Height="40" TabSkip="no">

                        <Text>Blah blah</Text>

            </Control>

            <Control Id="OK" Type="PushButton" X="114" Y="52" Width="56"
Height="17" Default="yes"  Cancel="yes" Text="[ButtonText_OK]">

                        <Publish Event="EndDialog"
Value="Return">1</Publish>

            </Control>

</Dialog>

 

I have tried doing this on the next click of a dialog and it does not work
correctly (it shows the dialog but never makes it to CustomizeDlg):

 

<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17"
Default="yes" Text="[ButtonText_Next]">


            <Publish Property="InstallMode" Value="Custom">1</Publish>


            <Publish Event="NewDialog" Value="CustomizeDlg"><![CDATA[IAgree
= "Yes"]]></Publish>

<Publish Event="SpawnDialog" Value="NoJavaDlg"><![CDATA[IAgree = "Yes" and
JAVA_PREREQ <> "1"]]></Publish>


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


            <Condition Action="disable"><![CDATA[IAgree <>
"Yes"]]></Condition>

<Condition Action="enable">IAgree = "Yes"</Condition>

</Control>

 

I also tried putting it on the load CustomizeDlg but am unsure how to get it
to show up (without needing a button click).  This would be the best way (in
my opinion) but I'm not sure if it is possible.

 

Does anyone know what I'm doing wrong?  Is there another approach?

 

Thanks in advance,

Jonas Abrams

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to