Take a look at "NOT Installed" (Installed is a built-in property).

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of li yang
Sent: Wednesday, September 26, 2007 15:20
To: [email protected]
Subject: [WiX-devs] question about REINSTALL / ADDLOCAL condition

Hi All,

  I need to remove one registry based on current installation is reinstall
(repair) or addlocal (new install). I did the following

   <Component Id="XXX" DiskId="1" Guid="YYY" >
      <Condition>REINSTALL=ALL</Condition>
      <Registry Root="HKLM" Key="[ProductRootRegKey]\CCC" Name="DDD"
Action="remove" />
    </Component>

  But seems the upper code does not work. Reinstall and addlocal has the
same action to registry.

  Any help?

  Thanks



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to