When people require files removed I've marked them as transitive components 
with a condition that evaluates false. As you know, removing components during 
a minor update is not supported.

Phil Wilson


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Thursday, March 27, 2008 7:51 AM
To: Georgi Shopov
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX remove files in minor upgrade (servce pack)

Georgi Shopov wrote:
> Can anybody tell me what is the preferred way to remove files during minor
> upgrades?
>

The need to remove files is a sign that you should consider using a
major upgrade. It's possible to remove files but you've discovered the
drawback. You need to add RemoveFile table rows to have a patch delete
the file and it complicates patch uninstall. (See "Uninstallable
Patches" in the MSI SDK for details.)

The general recommendation is to do nothing, just leave the files there.
You can also replace it with a zero-byte or nulled-out file.

--
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to