You could author the REINSTALLMODE Property into your MSI.  That might force it 
to always replace all files.  That is a very dangerous thing to do in general, 
because I believe you can downgrade files.  You have to be very certain you are 
installing only your files.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fanshteyn, Timur
Sent: Tuesday, November 28, 2006 09:56
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Automatic repair during install

I have a server installation - no UI , installs a service on server. How can I 
have the MSI package repair the installation during install.

Here is a scenario:

Install package
Modify one of the files that was installed (using notpad for example)
Rerun the installation

I would like the installation replace the changed file with the original. The 
only way that I was able to do this is by specifying REINSTALL=ALL REINSTALL 
REINSTALLMODE=amus

Default REINSTALLMODE of omus did not replace the file as expected. I would 
like to be able to run identical command line every time to either install the 
package, or to correct a problem with a prior install.

Timur Fanshteyn
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to