It should remove the file if the component is removed from a Feature.
Have you tested it? If so have you checked a verbose log?

If you're getting an orphaned file try scheduling RemoveExistingProducts
Before InstallInitialize e.g. 

<RemoveExistingProducts Before="InstallInitialize"/>

See http://msdn.microsoft.com/en-us/library/aa371197.aspx

Palbinder Sandher 
Software Deployment & 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: Stelios Kyprou [mailto:stelios.kyp...@formicary.net] 
Sent: 01 July 2010 18:06
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Upgrade msi with removed components

Hello wix users,
a quick question!
If i create my msi with a major version upgrade (assume i'm doing
everything correctly, i.e change ProductCode, PackageCode, leave
Upgradecode intact, change version number, add

<RemoveExistingProducts After="InstallFinalize"/>

in InstallExecuteSequence),
and leave the Component Guids the same, and only remove one Component
with a file Foo.txt, isn't it supposed to be removed from the install
location? or does it stay orphaned?

Regards,
Stelios

--
Stelios Kyprou
Systems Engineer
Formicary - delivering quality financial technology solutions(TM)
www.formicary.net



------------------------------------------------------------------------
----
This message is confidential and may be privileged. It is intended
solely for
the named addressee. If you are not the intended recipient, please
inform us.
Any unauthorised dissemination, distribution or copying hereof is
prohibited.

Formicary Limited registered office in England and Wales, address 1
Taillar
Road, Hedon, East Yorkshire HU12 8GU, registration number 3894343, VAT
number
747644304, does not guarantee that the integrity of this communication
has been
maintained nor that this communication is free of viruses, interceptions
or
interference.
------------------------------------------------------------------------
----
------------------------------------------------------------------------
------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to