Kevin Dente wrote:
> We've got a WiX 2.0 based install, and have an upgrade scenario that 
> I'm not sure how to accomplish. For the new version of the product, 
> the default (configurable) install directory has changed. When 
> upgrading existing systems, we need to copy some XML configuration 
> info from the original install dir to the new install dir. I'm not 
> sure of the best way to accomplish this. I've considered two options. 
> One is to read the config info into a property and write it out to a 
> new config file in the new location. Unfortunately, as far as I can 
> tell the Xml* custom actions don't support reading XML files, only 
> writing them. The other option is to copy the existing config file to 
> the new install directory - but I'm not really sure how to do that in 
> WiX/MSI. Any pointers? Or other approaches to consider?
http://wix.sourceforge.net/manual-wix2/wix_xsd_copyfile.htm (the 3.0 
version is essentially the same)


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to