Personally when I deprecate a component using the transitive puncture method I 
tell my build automation to create a 0 byte file that matches the filename.  
This allows me to leave the Component/File definition in place but not consume 
much space in the package.

LindseyLeu <[EMAIL PROTECTED]> wrote:  
Thanks Phil,

I was able to remove the file using the method suggested but I have another
question. Do I need to keep the file being deleted around so that the
installer can reference it and delete it in the patch, or is can I delete
that file from the source? For files in other folders, I have been able to
remove them in a patch by adding entries in the removefile table and taking
out the file entry for the component all together. Is there an advantage of
using one technique over the other?

Thanks,
Lindsey



Wilson, Phil wrote:
> 
> You can't remove the component containing the file (that's not allowed
> during a patch) but you can mark it as a transitive component (don't
> know the WiX speak) with a condition that's false (like 0) to make it
> absent. 
> 
> Phil Wilson 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of LindseyLeu
> Sent: Monday, September 24, 2007 11:37 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Removing a file from the GAC using a patch
> 
> 
> Hi,
> 
> I have an assembly installed by the RTM installer that was put into the
> GAC.
> I now want to remove the file in a patch because it is no longer needed.
> How
> should I author my wix code to delete the file?
> 
> Thanks,
> Lindsey
> -- 
> View this message in context:
> http://www.nabble.com/Removing-a-file-from-the-GAC-using-a-patch-tf45109
> 61.html#a12865594
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Removing-a-file-from-the-GAC-using-a-patch-tf4510961.html#a12928033
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


       
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to