Multiple CAB for online product - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

stevebagnall
Posts: 4
Joined: Wed Apr 28, 2010 9:33 am

Multiple CAB for online product

My attempts to build a 4GB download are failing, any advice would be great (before my 30day trial runs out!)

I would like a small single download (bootstrap msi?) file which will then call the remaining files/cab/msi from a url.

My barriers so far are that CABS are limited to 2GB and that multiple smaller cabs can't be used on an URL.

I've even tried chaining a couple of smaller installs but got stuck.

Can you let me know if you've managed to do something similar in AI 7.6+?

Thanks

Steve
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Multiple CAB for online product

Hi Steve and welcome to Advanced Installer forums,

What makes you think multiple cabs can't be used on a URL?
You can try reading the following thread:
http://www.advancedinstaller.com/forums ... 47&p=24991

This discuses the basis for creating a web-based install.

Let me know if it helped.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
stevebagnall
Posts: 4
Joined: Wed Apr 28, 2010 9:33 am

Re: Multiple CAB for online product

Thanks for the quick reply.

The stumbling block is probably the size, 4GB is far too big for a single CAB- I was hoping for part1.cab part2.cab etc; all notes suggest I need to use the 'single cab' function.

I am playing with the idea of creating 'features' so that each feature has it's own cab <2GB.
I am also playing with maybe chaining section of the files so each cab <2GB.

How would you do this please?

--- Also, when a user wants to install the title, do they need to download both the .EXE and the .INI before they run the .exe ?

Thx

Steve.
(can I call you to discuss?)
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Multiple CAB for online product

Hi Steve,

On the Builds page->Configuration tab select Advanced Cab Layout. Right click files, select move to new cab to create new cabinets. Organize your resources into cabs.
On the bootstrapper tab, select "Include install files in EXE" and "Retrieve from online location". This will make sure the installer's ini and prerequisites are inside the .exe so the user only needs to download the .exe. . Fill in the URL field with the location to your .msi and make sure the .cab files are placed right next to the .msi at that url.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
stevebagnall
Posts: 4
Joined: Wed Apr 28, 2010 9:33 am

Re: Multiple CAB for online product

Thanks for the extra info.

I arrange into cabs using the Advanced CAB layout. However, when I choose the option 'Include install files in EXE' a message appears: 'This option requires single CAB file not included in the MSI database settings. They were set for you in "Media" tab.'

I go back to Builds and re-select Advanced CAB layout again, message appears: 'This option requires the "Leave install files outside" Bootstrapper option. It has been selected for you in the "Bootstrapper" tab.'

Am I doing this wrong?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Multiple CAB for online product

Hello,

Sorry about the misleading information, I've studied the issue in a little more detail. It appears you will have to use the "one CAB archive per feature" option, as this is the only option that is supported with msi placed at a URL.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
stevebagnall
Posts: 4
Joined: Wed Apr 28, 2010 9:33 am

Re: Multiple CAB for online product

It's running okay with multiple cabs as per your previous reply. I just need to ensure the option to 'Include Install files in EXE' is turned off.

Because this option is turned off, to avoid the user having to download the .EXE and the associated .INI file seperately - I ZIPPED the two files together and converted them into a single .EXE using ZIP2EXE.

Might be a worthwhile enhancement for future releases since the digital software market is growing, and so is the size of the software!
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Multiple CAB for online product

Hello,

I have added an improvement on our TODO list to enable having the .ini inside the exe when using advanced cab layout. This improvement will be available in a future version of Advanced Installer.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”