Thank you for your reply. Can you please give me an example of how i write this
in my .wxs file and how to check if its install or repair.
The scenario is that a user has installed the product and lets say he has
changed the content one of the installed file. Now he runs the installer again
by double clicking the setup msi and now it asks for Repair option. when the
user select the repair radio button and completes the install, nothing hapens
to the changed file. It has to be restored back to the original. Can i do this
in my .wxs file and how?
Thanks for any help
John S
Re: [WiX-users] Overwriting existing files
From: Matt Anderson <[EMAIL PROTECTED]> - 2007-04-21 03:48
>Try using the REINSTALLMODE property with the REINSTALL property. The
>REINSTALLMODE property tells the installer how to overwrite the files and if
>to use versioning rules or not. The REINSTALL property tells it what features
>to apply REINSTALLMODE to.
>Take a look at http://msdn2.microsoft.com/en-us/library/aa371182.aspx for more
>info.
>Just as a side note, if you are running a fresh install, just leave REINSTALL
>out.
>Hope this helps you out.
>-Matt Anderson
[WiX-users] Overwriting existing files
From: John S <[EMAIL PROTECTED]> - 2007-04-20 21:41
>Hiya folks,
>A quick question,
>How can the existing files be overwritten during a repair option?
>appreciate any help.
>-John
>Software Developer
>BP- London
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
-------------------------------------------------------------------------
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