1) The code will be different for immediate and deferred custom actions. Immediate CAs can get properties directly, deferred ones need to use CustomActionData. This may be something to do with what you're seeing. 2) RemoveExistingProducts will work fine after InstallInitialize, but note the documentation says "and before any actions that generate script", meaning that it pretty much has be immediately after InstallInitialize.
Phil Wilson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Sollas Sent: Thursday, June 05, 2008 2:46 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Re moveExistingProducts and Duplicate GUIDs I've resolved this by attacking it a little differently. I've prevented <RemoveExistingProducts/> from removing the logs directory by setting the log directory create component to Permenant. Given this, I can now sequence RemoveExistingProducts after InstallFinalize. I preserve my config files now as a conditional component, and merge the previous version into a new version using a custom action that runs before InstallFinalize. Now, I have a upgrade process that migrates my configuration files. Two outstanding questions remain, though at this point this is purely for informational purposes: 1) why can't a run a custom action with ExeCommand outside of InstallInitialize->InstallFinalize? I understand that I must run them "immediate", but when I do, there's apparently a problem getting the command line info. Note that CAQuietExec also fails. 2) I've yet to be able to successfully sequence RemoveExistingProducts in between InstallInitialize->InstallFinalize. Well, not entirely as I did discover that if I sequence InstallExecute somewhere, I can then sequence RemoveExistingProducts. I guess the question is, what are the sequence limitiations of RemoveExistingProducts and what is the purpose of sequencing InstallExecute? -- View this message in context: http://www.nabble.com/RemoveExistingProducts-and-Duplicate-GUIDs-tp17655018p17680219.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users