Ah. *slaps head on desk* 

So that works, however when I display the dialog the check box is ticked. It 
must be un-ticked and re-ticked to continue; the dialog looks as follows

    <!--Supplemental EULA Dialog-->
    <UI>
      <Dialog Id="SupplementalEulaDlg" Width="370" Height="270" 
Title="Supplemental License for SRE Plug-Ins">
        <Control Id="LicenseAcceptedCheckBox" Type="CheckBox" X="20" Y="207" 
Width="330" Height="18" CheckBoxValue="1" Property="SUPPLEMENTARYEULAACCEPTED" 
Text="!(loc.LicenseAgreementDlgLicenseAcceptedCheckBox)" />
        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Text="!(loc.WixUIBack)" />
        <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Default="yes" Text="!(loc.WixUINext)">
          <Publish Event="SpawnWaitDialog" 
Value="WaitForCostingDlg">!(wix.WixUICostingPopupOptOut) OR CostingComplete = 
1</Publish>
          <Condition Action="disable"><![CDATA[SUPPLEMENTARYEULAACCEPTED <> 
"1"]]></Condition>
          <Condition Action="enable">SUPPLEMENTARYEULAACCEPTED = "1"</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="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" 
Height="44" TabSkip="no" Text="!(loc.LicenseAgreementDlgBannerBitmap)" />
        <Control Id="LicenseText" Type="ScrollableText" X="20" Y="60" 
Width="330" Height="140" Sunken="yes" TabSkip="no">
          <Text SourceFile="SQLBinariesEula.rtf" />
        </Control>
        <Control Id="Print" Type="PushButton" X="112" Y="243" Width="56" 
Height="17" Text="!(loc.WixUIPrint)">
          <Publish Event="DoAction" Value="WixUIPrintEula">1</Publish>
        </Control>
        <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" 
Height="0" />
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" 
Height="0" />
        <Control Id="Description" Type="Text" X="25" Y="23" Width="340" 
Height="15" Transparent="yes" NoPrefix="yes" 
Text="!(loc.LicenseAgreementDlgDescription)" />
        <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" 
Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}Supplemental License 
for SRE Plug-Ins" />
      </Dialog>
    </UI>

The property is declared this

<Property Id="SUPPLEMENTARYEULAACCEPTED" Value="0" />

-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: Tuesday, July 27, 2010 16:13
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Adding a feature specific EULA

Does the dialog named "SupplementalEulaDlg" have a <Control Id="Next" ...> 
inside of it?

-----Original Message-----
From: Barry Dorrans [mailto:bdorr...@microsoft.com]
Sent: Tuesday, July 27, 2010 3:56 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Adding a feature specific EULA

Arrghh.

So almost there, well, maybe. Light is throwing (but not appearing in the VS 
Error List Window - I see them in output)

error LGHT0204: ICE03: Not a valid foreign key; Table: ControlEvent, Column:
Control_, Key(s):
SupplementalEulaDlg.Next.NewDialog.VerifyReadyDlg.SUPPLEMENTARYEULAACCEPTED
= "1"

Now I declared the property right at the beginning. There are no complaints 
when I use it in <condition />s, but as soon as  try to make the next button 
dependant on it,

<Publish Dialog="SupplementalEulaDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg">SUPPLEMENTARYEULAACCEPTED = "1"</Publish>

Bang.

Now I'm taking that syntax from the existing FeatureTree UI, so I'm at a loss 
again.

----------------------------------------------------------------------------
--
The Palm PDK Hot Apps Program offers developers who use the Plug-In Development 
Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP 
Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to