Peter R
Posts: 16
Joined: Tue Oct 31, 2006 6:36 pm

Download on demand?

Is it possible to create an installer where some components are located on the web, and downloaded and installed only if certain system requirements are met? Specifically, I would like to create a mixed 32/64 bit installer without doubling the size of the installer (the application is by far the largest component of the install).

One possible option would be to have a basic .exe that determines the system type and downloads either the 32 or 64 bit components needed. Another option would be to include the 64-bit components in the installer, but download the 32-bit components on 32-bit systems. This would need to be compatible with updates from older (32-bit only) version.

Thanks!
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Download on demand?

Hi Peter,

I'm afraid this is not possible. The mixed package works like this, it contains an x86 and an x64 MSI packages and one CAB file with all the resources. Based on the machine type
it launches the corespondent MSI package that reads the resources from the CAB.

The only solution would be to create your own version of a mixed package like this:
- create separate MSI/EXE packages for your x86 and x64 applications
- now create another third package, set it to not register with Windows Installer from Product Details page
-- add in it as feature based prerequisites the two packages for your application and check in in their Install Conditions tab, the corespondent OSes where you want to launch.

This would act like a wrapper, not a nice package design in my opinion but it works.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”