Hi Neil, nice ba I must say! Also your numerous discussions with the Wix team gave me a lot of the needed insight concerning setups.
I've hit a challenge, I was expecting that the checkbox would be checked whenever I feed it a string value that is not empty. Maybe I'm just doing it wrong. But I'd like to tick an option when an installed path was found in the registry.
Based on the Bundle4 example, I have the following in my bundle.wxs:
<Variable Name="Noah4.0_32Bit" Type="string" Value="" Persisted="yes" bal:Overridable="yes" />
And the following in my theme.xml:
<Checkbox Name="Noah4.0_32Bit" X="185" Y="211" Width="-11" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">Noah4.0_32Bit</Checkbox>
I'm used to that checkboxes, when tied to strings, will accept any non-empty string as being TRUE. But that might be a wrong assumption from my side, I tried conditional setting of a numeric variable but in vain, seems that that is only possible in Wix MSI.
(FYI: I verified the variable using a textbox and my other checkboxes are using numeric variables which all work as advertised)
Thanks in advance, Joshua Krosenbrink