We made a MSI installer with WIX. It installs some files into a directory created in 'Program Files', and all works fine. However, if I change (with a text editor) a file that has been installed and then attempt to repair the product, the file is not repaired, i.e. it is not replaced by an original version provided in MSI.
Then I went through the below link, http://technet.microsoft.com/en-us/library/cc759262%28v=ws.10%29.aspx?ppud=4#BKMK_Repair It shows the command line options as /fa to do this and it works. How can I implement it in my WXS file. Below is my code for upgrade, <Upgrade Id="$(var.ProductUpgradeCode)"> <UpgradeVersion Minimum="$(var.ProductVersion)" OnlyDetect="yes" Property="NEWERVERSIONDETECTED"/> <UpgradeVersion Minimum="0.0.0" Maximum="$(var.ProductVersion)" IncludeMinimum="yes" IncludeMaximum="no" Property="OLDERVERSIONBEINGUPGRADED"/> </Upgrade> <Condition Message="A newer version of this software is already installed.">NOT NEWERVERSIONDETECTED</Condition> On repair we would like to replace all the files in the folder with the one in MSI. Thanks, Nikhil. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users