One solution I have seen implemented is to write an immediate custom action that runs before RemoveExistingProducts, queries the registry table for registry path and name, reads the values for keys in the table, and overwrites the value column of the registry table for the in memory database. This can be scoped by making a custom table that identifies which registry rows to migrate. This is essentially the same mechanism as the the registry search except you are required to write the registry search code yourself. This isn't actually a better solution, just different. It might be more maintainable and performant than all the registry searches and properties if you have a lot of registry values, but its a custom action so it will likely have bugs :). -Eric
> Date: Wed, 13 May 2009 15:56:08 -0500 > From: alex.ivan...@shavlik.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Preserve registry settings on upgrade > > This is what I am doing. I hoped there was a better way. > > > -----Original Message----- > From: Michael Osmond [mailto:mosm...@baytech.com.au] > Sent: Wednesday, May 13, 2009 14:43 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Preserve registry settings on upgrade > > Alex, > > Use the Registry Search to read the values into Properties before the > upgrade, and use the Properties to write the registry settings. > > Michael > > ________________________________________ > From: Alex Ivanoff [alex.ivan...@shavlik.com] > Sent: Thursday, 14 May 2009 12:34 AM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Preserve registry settings on upgrade > > Is it possible to preserver registry settings on major upgrade and only > delete it on uninstall? > > > > ------------------------------------------------------------------------ > ------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks > to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------ > ------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks > to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users _________________________________________________________________ Insert movie times and more without leaving HotmailĀ®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users