I tried, but using FileId or putting FileCopy under a File will delete
my file on uninstall and not using FileId silently did absolutely
nothing and didn't show anything in the log. Basically I couldn't get it
to work. Maybe a bug?

 

Thx

dB.

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 04, 2008 12:46 PM
To: dB.
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How do I preserve a configuration file on a
major upgrade?

 

dB. wrote: 

I have a configuration file config/Config.xml, that I managed to
preserve by copying a Config_Original.xml to Config.xml at clean install
only (never install Config.xml). I couldn't get this to work with
CopyFile - it never ran without a FileId or forced a file to be
uninstalled otherwise. I did it with a custom action, but that's
admitting failure :)


Couldn't you install Config_Original.xml and use CopyFile on that id?




-- 
sig://boB
http://joyofsetup.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://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to