I think, that works, If property set in LaunchCondition section.
If I set this property from checkbox, for example, during installation
sequnce - this not work.

Code:
<Component Id="RemoveRegistryKeys"
Guid="0D7B6E1B-4EA2-4e9b-AE90-3591700CFCAC" DiskId="1">
  <Condition>NOT KeepOldReg</Condition>
  <Registry Id="RemoveV3.1" Action="remove" Root="HKLM"
Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\Solver3"
Name="UninstallString" />
  <Registry Id="RemoveV3.2" Action="remove" Root="HKLM"
Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\Solver3"
Name="DisplayName" />
  <Registry Id="RemoveV3.3" Action="remove" Root="HKLM"
Key="Software\Microsoft\Windows\CurrentVersion\Uninstall"
Name="Solver3" />
</Component>

KeepOldReg property set through checkbox in SelectionTree dialog.

Anton.


On 11/2/06, sbarry <[EMAIL PROTECTED]> wrote:
>
> Just stick all the registry key removals in a component that is conditional
> based on your property being set.
>
> <Component Id="C_RemoveRegKeys" Guid="EE8995B1-F036-49D7-9B20-2AEC58163BE3">
>              <Condition>
>                YOUR_PROPERTY
>              </Condition>
>             <!--Remove Reg Key Entries go here-->
> </Component>
> --
> View this message in context: 
> http://www.nabble.com/How-to-remove-reg-keys-by-condition--tf2551738.html#a7124381
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> 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

Reply via email to