Hi,
The default REINSTALLMODE property is omus that causes all registry entries
to be overwritten. If you set REINSTALLMODE to os only files will be
updated and no registry values will be written. In this case standard
action WriteRegistryValues is not called.
Please be aware that in this case your patch will not be able to add new
registry as well.
We solved this problem this way: during patch installation we save all
dynamic values (i.e. values that can be changed by user) to properties and
use omus mode to add new registry. We do not care if all registry is
overwritten since we write the same values as before.


Message: 1
> Date: Fri, 24 May 2013 15:02:00 +0530
> From: Ravishankar <ravishankar.krishnasw...@idsnext.com>
> Subject: [WiX-users] Patch overwriting registry entries
> To: "General discussion for Windows Installer XML toolset."
>         <wix-users@lists.sourceforge.net>
> Message-ID: <519f3390.4060...@idsnext.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi All,
> My main installer creates some registry entries(Database
> ServerName,Database Name etc)
> I have created a patch using the pcp method and when installing the
> patch its overwriting the registry entries created by the main installer
>
> Can anyone please help me out.
>
> Thanks and Regards
> Ravi
>
>
>
>
> --
Regards,
Fyodor Koryazhkin..
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to