Ok, I see this guy:

 

createKeyAndRemoveKeyOnUninstall 

Creates the key, if absent, when the parent component is installed then remove 
the key with all its values and subkeys when the parent component is 
uninstalled. 

 

...as an Action for the Registry element.  That is almost what I'm looking for, 
except I need to remove a REG value and leave the key it's under intact.  I'm 
modifying a value in an important MS key on install, and I want to either 
change it back or remove it during uninstall.  When I build this project as a 
"Setup Wizard" project in VS2005, the MSI generated has the desired 
behavior...so it's got to be possible.  Any ideas?

 

Thanks for the help!

 

Alan

 

________________________________

From: János Brezniczky [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 14, 2007 11:22 AM
To: Lanteigne, Alan
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX MSI not removing REG entries during removal

 

Nope, I was wrong.

See the action attribute of registry element in the WiX help.

 

2007/11/14, János Brezniczky <[EMAIL PROTECTED]>: 

If removal is what you expect, ICE validation (either with Orca or smoke) is 
related to the question, and running it will help you in case roaming user 
profiles would be involved.
As I remember <Registry... values are removed together with the contents of the 
component they belong to. 

 

2007/11/14, Lanteigne, Alan <[EMAIL PROTECTED]>: 

During removal, should a WIX/Votive generated MSI remove any registry values it 
wrote during install?  Or is there some place you have to specify that as the 
desired behavior? 

 

Thanks,

 

Alan

 

Alan S. Lanteigne  | Channel Ready Solutions
phone & fax +1.317.715.8293| [EMAIL PROTECTED]

Interactive Intelligence Inc. 
Deliberately Innovative
www.inin.com <http://www.inin.com/>  

 





-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. 
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wix-users 

 

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to