Hi Kevin,

I had the same (copy some configuration from a previously installed XML). What 
I did was I wrote a custom action reading the XML within a property than write 
that out within the new file.

Dacian


----- Original Message ----
From: Kevin Dente <[EMAIL PROTECTED]>
To: Wix Users <wix-users@lists.sourceforge.net>
Sent: Wednesday, June 20, 2007 6:06:15 PM
Subject: [WiX-users] Migrating files during major upgrade

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?


Thanks,
Kevin

-------------------------------------------------------------------------
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







       
____________________________________________________________________________________
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
-------------------------------------------------------------------------
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