I have one checkbox in my installer. for example <Control Id="checkBox13541" Type="CheckBox" Height="18" Width="345" X="15" Y="140" Text="Windows Firewall must be configured" Property="NEED_CONFIGURE_FIREWALL" CheckBoxValue="1" /> If it checked, I make some configuration actions during install. Some users doesn't use firewall, so they uncheck this checkbox. During upgrade, reinstall or so on actions they want to store unchecked status of this checkbox. So I made two things:
Store it in one component: <RegistryValue Id="registr5464234" Root="HKLM" Key="Software\Signatec\Installation" Name="NEED_CONFIGURE_FIREWALL" Type="string" Value="[NEED_CONFIGURE_FIREWALL]" /> And load value in AppSearch action: <Property Id="NEED_CONFIGURE_FIREWALL" Secure="yes" Value="1"> <RegistrySearch Id="NEED_CONFIGURE_FIREWALL_RS" Type="raw" Root="HKLM" Key="Software\Signatec\Installation" Name="NEED_CONFIGURE_FIREWALL" /> </Property> Problem: if checkbox is unchecked, installer store empty string in registry. During next installer start it doesn't see empty string in registry and use default value "1". So unchecked status doesn't load. Checkbox is checked during GUI of installer. Of course I can set default value to empty string, but I need checked status to be default. What can I do? ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users