The Windows Installer doesn't support that natively. You're much better off
writing separate registry values.
On Wed, Jul 27, 2011 at 4:50 PM, Balaji A.K. <ak_bal...@yahoo.com> wrote:
> Hi
> The situation is that there are two products which add to the same
> registry value (the same same setup MSM is used in both product MSI's for
> this). Lets say product 1 installs first and puts a reg value
> [Version]="1.0.0.0" under key HKLM\Software\Test and product 2 overwrites
> the reg value [Version] to "2.0.0.0". When product 2 is uninstalled, I am
> finding that the reg value is left as "2.0.0.0". I expected it to become
> "1.0.0.0". The WIX snippet is
>
> <Component Id='CP_VERSION_REG' Guid='xxxxxx' Location='local'
> Win64='$(var.Win64)'>
> <Registry Id='TEST_VERSION_REG' Root="HKLM"
> Key="Software\Test" Name="Version" Type='string'
> Value="%_BLDVERMAJOR%.%_BLDVERMINOR%.%_BLDNUMMAJOR%.%_BLDNUMMINOR%"
> KeyPath="yes" />
> </Component>
>
> What is the correct way to accomplish this rollback of registry values?
> Note that in my install execute sequence, I have <RemoveRegistryValues/>
> specified.
>
> Thanks
> Balaji
>
>
>
> ------------------------------------------------------------------------------
> Got Input? Slashdot Needs You.
> Take our quick survey online. Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> WiX-devs mailing list
> WiX-devs@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-devs
>
>
--
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs