The description of this is a Small Update.  Typically when I hear of someone 
not wanting to write to the registry during an upgrade it is because they are 
having negative side effects from the fact that properties don't persist in the 
cached MSI and they are trying to work around the symptom instead of addresing 
the cause.
   
  Rennie, am I guessing your situation correctly?   Are you using [FOO] in the 
Registry table and seeing some default or null value get written to the 
registry during an upgrade instead of the value that was written during the 
initial installation?
   
  If so, generally you want to use an AppSearch to retrieve the value of FOO 
from the registry so that if the component reinstalls, it'll be written back 
out correctly to the registry.

Rob Mensching <[EMAIL PROTECTED]> wrote:
        v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  
w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}        
        I haven’t played games like this with the Windows Installer but my 
understanding is that if the Component believes it needs to be repaired (the 
KeyPath is being updated) then the whole Component gets written.
   
  You might (although I wouldn’t really recommend it) be able to condition the 
registry related actions.
   
  Why do you need to not have registry stuff written?  
   
   
      From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rennie 
Petersen
Sent: Friday, June 08, 2007 3:37 AM
To: Rennie Petersen; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Avoiding registry entries being modified with 
REINSTALL=ALL REINSTALLMODE=vos


   
  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


       
---------------------------------
You snooze, you lose. Get messages ASAP with AutoCheck
 in the all-new Yahoo! Mail Beta. 
-------------------------------------------------------------------------
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