Web media blocks

Got a problem you cannot solve? Try here.
Orenk9
Posts: 19
Joined: Mon Mar 12, 2007 5:02 am

Web media blocks

Postby Orenk9 » Sun Jun 17, 2007 12:49 am

Hi,

I've a question about the content of the 7zip files:
My application consists of a few dlls and some exe's.
I also defined .net 2.0 and Windows Installer 3.0 as pre-req.

When I build a web based verion of my installation I get 4 files:
the main exe setup file
7zip file for .net 2.0
7zip file for Windows Installer
and - 7zip file with my application name.

My question is:
How does InstallAware decides which of my files to put in the main exe setup file, and which to put in the 7zip file?

This causing me some much headache, because I host the main exe on download sites, and the 7zip files are hosted on my site (download sites canhost only one file, and I don't want to host the single exe setup because it is too large - 25MB - because of the .net 2.0 pre-req).
The result is I have to create a different folder for each version on my site.
If I could define all my application files to be in the main exe setup file, it will be SOME MUCH BETTER!!

Please answer this!

Thanks,

Oren.

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Sun Jun 17, 2007 12:54 pm

Hi Oren,

Switch to the MSIcode editor and search for "offline content" as well as "web media block". These sections declare the beginning of offline (inside the main setup.exe) and online (inside a 7zip file) web media blocks.

The web media block command can be used as many times as you like inside the MSIcode script to segment your setup in any way you like, between offline and online parts (that can also be shared across setups).

Of course, you can also just build your setup in uncompressed, or single file compressed modes; along with the web build mode. When you do not use a web build mode, the web media block directives are ignored.

Web media blocks are discussed at length in the online help file, and our whitepapers; which you can refer to for more information.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 159 guests