May have to make the Component Transitive as well... and this is a very strange thing to do so you might just change the application to not need to do this at all. I'd certainly recommend the latter.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: Thursday, September 27, 2007 12:26 To: li yang; [email protected] Subject: Re: [WiX-devs] question about REINSTALL / ADDLOCAL condition 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 ------------------------------------------------------------------------- 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
