I use the `puncture` pattern for deprecating components also.  For the CAB 
storage issue, I have a custom task in my build automation that reads an XML 
file and creates 0 byte files to match the file table entries of the components 
being removed.  This allows me to build my install without wasting a bunch of 
space.

Ben Greenberg <[EMAIL PROTECTED]> wrote:  Hello,

I have a minor upgrade to my installer package where I would like to remove 
some files. I plan on distributing the new MSI and well as a patch for existing 
installations. The files in question live alone in their own components.

For the patch to work, I understand that I cannot remove components. What I 
have done instead is to set the components containing the files I want to 
remove to be Transitive. Then I set the Condition on the component to FALSE, so 
that the component will never get installed and it will be removed when the 
patch is applied (since I REINSTALL the feature in question).

With these settings, the files should never get installed. So it seems silly to 
have them taking up space in the embedded CAB I use to hold my files. What I 
have done is created another, external, CAB file (a unique DiskID) and set my 
removed components to live there. I would like to distribute the MSI and MSP 
without this external CAB file.

I have done initial testing with this scenario and regular installs and patches 
work as I expected. My question to the experts is: if I do not distribute the 
external CAB file with my package, can I run into problems at some point?

Thanks,
Ben


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


       
---------------------------------
Don't let your dream ride pass you by.    Make it a reality with Yahoo! Autos. 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to