Not using any web based deployment but install fails looking

Got a problem you cannot solve? Try here.
Post Reply
dunion
Posts: 106
Joined: Tue Oct 14, 2008 10:43 am

Not using any web based deployment but install fails looking

Post by dunion »

Built plug-in action (Un)Install MSI Setup
Error during build: At least one Web Media Block must be defined before installation commands that may require media

This started happening after an instance where installaware's UI hung and I had to kill it with task manager. I have a basic install with some files and two driver .inf files.
dunion
Posts: 106
Joined: Tue Oct 14, 2008 10:43 am

Clarify - the build fails...

Post by dunion »

I believe one option is just to start over; but it would be nice to figure out what's up in case it happens again, and I have a fair amount of setup/form work done.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Don't start over!

Just insert an offline web media block, all the way on top of your script. Type in a web media block command or drag-drop one from the command palette; when the command window appears just press enter. This creates an offline block.

Then rebuild and you're all good to go. The web media block just declared will not have any effect unless you're doing a web build, but is still required by the compiler.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
dunion
Posts: 106
Joined: Tue Oct 14, 2008 10:43 am

THat seems to have fixed it.

Post by dunion »

Thanks!
Is there an explanation as to why I need to declare an empty web media block if I'm not building a web install?

Can I do the web installs from FTP sites instead of HTTP sites?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

You can specify any URL you like - even local network paths to restrict your setup to run on a local network!

The web media blocks are required by the compiler, even when you are not doing web builds.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply