1. Have the user copy it to a location.  Put said location somewhere  
in the Uninstall UI.  There is no CopyFiles Action during uninstall
2.In your installer, write a conditioncheck etc that checks for the  
location you gave in 1.
3. Check for File in Location.
4. If file exist, replace default config with altered config Else
5. Copy Default Config

Quoting j2associates <j2associa...@yahoo.com>:

> Hello all,
>
> We have a config file that is installed which can be customized post
> installation (not sensitive data). How can we save the config file during
> uninstall so that customizations can be merged into the new install.
>
> I was thinking along the following:
>
>     A. During uninstall copy the config file to the user's Temp folder so if
> reinstall never happens it is no big deal
>     B. During install, check the user's Temp folder and if the file is
> present, merge it and delete it
>
> Is this feasible, or is there a better way? In either case, can someone
> point me to some sample code?
>
>
>
>
>
> --
> View this message in context:  
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Saving-existing-xml-file-on-uninstall-and-then-merging-it-back-in-during-reinstall-tp7590217.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>




------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to