Hello,

I'm in need of some suggestions on how to do this.  The problem is I have a
package that wipes out a registry key on upgrade/uninstall (I only do major
upgrades), call it "package A". So when I upgrade to "package B" with
MajorUpgrade element scheduling RemoveExistingProducts after
InstallInitialize, I wipe out the registry key.

So I am able to export the key to a registry file before I wipeout the
install, but how do I import the key back after installation?  I tried
running regedit /s /i <name of file> as a deferred custom action between
RemoveExistingProducts and InstallFinalize but the key never gets written. 
This key can have multiple values and/or subkeys.

Thanks for the help



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Help-importing-executing-a-registry-file-tp7585121.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to