I am trying to customize wix uninstall, I've added custom dialog where user can check or uncheck checkbox. If user unchecks the checkbox, the file is not removed. Where is the problem, could you help? Why does not it work for changing the property?
<UI>
<Dialog Id="UninstallDlg" Width="370" Height="270" Title="!(loc.WelcomeDlg_Title)">
<Control Id="NextB" Type="PushButton" X="248" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)" />
<Control Id="BackB" Type="PushButton" X="192" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" />
<Control Id="FullDelete"
Type="CheckBox"
Height="18"
Width="295"
X="26" Y="58"
Text="Not to delete custom files"
Property="FULLUNINSTALL"
CheckBoxValue="1" />
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.CustomizeDlgBannerBitmap)" />
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="2" />
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="2" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="210" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.CustomizeDlgTitle)" />
</Dialog>
</UI>
<Component Id="FullDelete" Guid="{469E4DE7-A031-449F-8B75-D4CBC94F88B6}">
<Condition>FULLUNINSTALL = 0</Condition>
<RemoveFile Id="RemoveDatabase" Name="*.sdf" On="uninstall"/>
</Component>
<Property Id="FULLUNINSTALL" Secure="yes">1</Property>