Page 1 of 1
Not using any web based deployment but install fails looking
Posted: Mon Jan 19, 2009 2:28 pm
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.
Clarify - the build fails...
Posted: Mon Jan 19, 2009 10:49 pm
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.
Posted: Mon Jan 19, 2009 11:11 pm
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.
THat seems to have fixed it.
Posted: Tue Jan 20, 2009 10:19 am
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?
Posted: Tue Jan 20, 2009 2:04 pm
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.