The MSI only does what you tell it to do. I had the same issue when I
created my first MSP.

You need to modify your code that generates dummy1.msi so that all the
files you're removing have RemoveFile tags specified for them. Simply
deleting the File tags from your code isn't enough (I find it more
logical to modify the File tags to RemoveFile tags) as you need to
explicitly tell the Windows Installer what to do with these files, it
doesn't assume that because a file doesn't exist in the new version that
you want to delete it.

Look up RemoveFile in the documentation as it is a little different from
the File tag & requires the 'On=""' parameter.


Palbinder Sandher 
Software Deployment and IT Administrator 

T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 
http://www.iesve.com 

**Design, Simulate + Innovate with the <Virtual Environment>**

Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP

Email Disclaimer


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Yu, Brian
Sent: 08 September 2008 15:58
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Patch msi does not remove old files


I ran dummy1.msi which updates what dummy.msi puts into installdir

Dummy.msi deploy 50 files, dummy1.msi deploy 10 files to the same
installdir

However, the 40 files remains after running the below command.

How can I get rid of the old files?


msiexec /i dummy1.msi REINSTALL=ALL REINSTALLMODE=vomus

------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK &
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to