Instead of using StartServer = "0" try NOT StartServer for the condition that disables the second checkbox. It is a little counterintuitive, but if you take a look at the MSI log, you should see that unchecking a checkbox doesn't set the value of the property to "0", it deletes it altogether.
Dana
On 9/7/06, Anton Filippov <[EMAIL PROTECTED]> wrote:
Hello all.
I have some checkboxes in dialog:
<Control Id="LaunchServer" Type="CheckBox" Property="StartServer"
CheckBoxValue="1">
<Text>Launch [ProductName]</Text>
</Control>
<Control Id="LaunchServerAsService" Type="CheckBox"
Property="StartServerAsService">
<Text>as service</Text>
<Condition Action="" = "0"</Condition>
<Condition Action="" = "1"</Condition>
</Control>
<Property Id="StartServer">0</Property>
When it show on dialog, I have:
LaunchServer - checked
LaunchserverAsService - disabled, checked
When I press LaunchServer and check it again
LaunchServerAsService - checked, enabled
But If I check LaunchServer again - LaunchserverAsService not change it state.
What wrong?
Thanks,
Anton
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users