Hello,

I am trying to use Wix to make a installer for the following scenario: my
application has 3 critical components: foo, bar and baz. Foo is created on
demand when a user clicks the download link. Bar and baz remain unchanged
and they both depend on foo. They are also quite large and I want the
installer to be as small as possible when users download it. I was thinking
the installer needs to contain only foo and download bar and baz from my web
site during install (like a web installer does), while showing download
progress. Question is: what is the best way do this with Wix?

I have thought of several ways, each with their issues:
1. run a custom action after InstallInitialize which downloads the missing
components to some temp location and copies them to install location.
Issues:
    - the missing files are not included in the database so they will not be
removed on uninstall. One way to fix this is to include 0-bytes bar and baz
which get installed by msi and then overwrite them with the downloaded ones.
However what will be downloaded will be a zip and the custom action needs to
also unpack it. I feel this is something the msi was supposed to do...
    - cost will not be accurate. I don't suppose I could just update the
file table?

2. create a minor upgrade msp which contains just bar and baz, which will be
downloaded instead. Issues:
    - adding missing components is not exactly a minor upgrade
    - can't use the msp during deferred installation. My best shot would
probably be to run msiexec with /patch arg which means this is not the job
of the installer anymore, it's the bootstrapper's. I don't know if can use
setupbld.exe to specify how to run the msi.

Any help on this will be highly appreciated. Thanks!
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Hybrid-installer-tp5986639p5986639.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to