WiX does not currently have CustomActions to read XML files. It’s an outstanding feature request.
-----Original Message----- From: Yuri N. Sakharov [mailto:yun...@yahoo.com] Sent: Friday, January 09, 2009 08:49 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Save configuration data during upgrade. There are exe-file and its XML config-file in the WiX 3 installer. There is some user data stored inside this config-file. How can I save and restore this user data during upgrade the product? I could not find the standard way to do that but Microsoft says that the best practice is to store data in these files instead Windows registry. Can XmlFile or XmlConfig be used to _read_(them write well) data from application’s XML config files? I tried to do that with custom action but got error “ICE77: XXX is a in-script custom action. It must be sequenced in between the InstallInitialize action and the InstallFinalize action in the InstallExecuteSequence table”. Also I would prefer to have custom action scheduled before InstallInitialize and even at the beginning of InstallUISequence to have possibility to show this user data in the dialogs. Thanks, Yuri ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ 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 is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users