2014-12-10 1 views
0

옵션 대화 상자에 확인란을 포함하도록 RtfLicense 테마를 수정했습니다. 확인란의 이름은 설치 조건에서 사용하는 변수 이름과 같습니다. 번들을 실행하고 체크 박스를 체크하면 변수는 항상 false입니다.WIX - Burn 옵션 대화 상자에서 설치 조건을 설정하지 않습니다.

bundle.was ...

<Variable Name="INSTALLSERVER" /> 

    <Chain> 
     <ExePackage Cache="no" 
        InstallCondition="INSTALLSERVER" 
        Description="SQL Server and Server Bundle" 
        Id="Server" 
        SourceFile="ServerSQLBundle.exe"> 
     </ExePackage> 

RtfTheme.xml ....

<Page Name="Options"> 
     <Text X="11" Y="80" Width="-11" Height="30" FontId="2" DisablePrefix="yes">#(loc.OptionsHeader)</Text> 
     <Text X="11" Y="120" Width="-11" Height="30" FontId="3" DisablePrefix="yes">#(loc.OptionsDescription)</Text> 
     <Checkbox Name="INSTALLSERVER" X="11" Y="166" Width="260" Height="17" TabStop="yes" FontId="3">Install Server</Checkbox> 
     <Button Name="OptionsOkButton" X="229" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.OptionsOkButton)</Button> 
     <Button Name="InstallButton" X="314" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.InstallInstallButton)</Button> 
     <Button Name="WelcomeCancelButton" X="404" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.InstallCloseButton)</Button> 
    </Page> 

왜 변수가 설정되지지고?

답변

0

저는 Burn 전문가가 아니지만 변수를 체인 패키지에 전달하기 위해 변수를 "유지"해야한다고 생각합니다. 예 : <Variable Name="INSTALLSERVER" Type="numeric" Value="1" Persisted="yes" bal:Overridable="yes" />

관련 문제