Hello,

I would like to have a component that does not get removed at uninstall. 
However, if I uninstall and install again, I would like the file to be replaced 
with the one in the installer. Here is my code:


            <Component Id="PrefsFileComponent" Guid="*" Permanent="yes" 
NeverOverwrite="no">
              <File Id="PrefsXML" Name="preferences.xml" 
Source="$(var.RESOURCES)\preferencesServeDirectories.xml" KeyPath="yes" />
            </Component>

The problem is when I install and uninstall, then edit this "preferences.xml" 
file. If I do the install, I would like my XML edits to be removed since the 
installer should replace the file with the one in the MSI. However, it is not 
getting replaced.

I am using Win 7, Wix 3.5

Thanks.

-Jono

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to