I think you might have to use a RegistrySearch to get the current values and 
use those as the values 
to write.

Rob

Rennie Petersen wrote:
> No answers. :-(
>  
> Of course, this is not WiX specific, but I'm wondering if someone could 
> help me anyway.
>  
> To elaborate, the situation is that in my MSI I have not written any 
> <Upgrade element, nor any <RemoveExistingProducts element.
>  
> The <Product element contains the same Version= tag (Version="4.1.1.0") 
> and the same UpgradeCode=guid tag as used when the prior install was done.
>  
> On the msiexec.exe command line I specify REINSTALL=ALL and 
> REINSTALLMODE=vos. I'm not specifying REINSTALLMODE=vomus because I do 
> not want the registry entries to be modified.
>  
> But the registry entries are being modified anyway.
>  
> Any idea of how I can prevent this?
>  
> Thanks.
>  
> Rennie
>  
> 
>     ------------------------------------------------------------------------
>     *From:* [EMAIL PROTECTED]
>     [mailto:[EMAIL PROTECTED] *On Behalf Of
>     *Rennie Petersen
>     *Sent:* 6. juni 2007 19:18
>     *To:* wix-users@lists.sourceforge.net
>     *Subject:* [WiX-users] Avoiding registry entries being modified
>     withREINSTALL=ALL REINSTALLMODE=vos
> 
>     I'm doing a reinstall, but I don't want the existing registry
>     entries to be modified.
> 
>     So instead of specifying REINSTALLMODE=vomus I specify
>     REINSTALLMODE=vos.
> 
>     But the registry entries still get reset to the values in my MSI.
> 
>     Is it possible to avoid this?
> 
>     Thanks.
> 
>     Rennie
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to