Page 1 of 1

WSE 3.0 Prerequisite

Posted: Wed May 24, 2006 4:38 pm
by skibbs
How would I go about making the Web Services Enhancement 3.0 package a prerequisite to my installation?

Thanks

Posted: Wed May 24, 2006 5:10 pm
by MichaelNesmith
Many ways to go by that. A whitepaper discusses how to extend the Application Runtimes view:

http://www.installaware.com/installawar ... s_view.pdf

But you don't need to extend that view just to install that prereq. If you want to add a prereq to your setup, you can just follow these simple steps:

1) Download the native prereq installer
2) Process it with the Setup Decompressor
3) Add it to your setup as a Support File if it is a single file. If its multiple files and folders, add it to your setup using the File Bag plug-in.
4) Detect the presence/absence of the prereq using the Read Registry, Check Process, Check Service, Is MSI Setup Installed commands (whichever ones work for you).
5) If absent, install the prereq using the Run Program, Run Program As, or (Un)Install MSI Setup commands (again, whichever one works for you).

That's the basic idea. You can just switch to your setup script and expand the code regions that install the remainder of your runtimes to see how the script flows for installing runtimes, and just copy-paste the code and modify it as necessary.

Posted: Fri May 26, 2006 3:06 pm
by skibbs
Worked perfectly by extending the runtimes view, thanks!

Posted: Fri May 26, 2006 4:32 pm
by MichaelNesmith
If you would like to contribute your runtime installer, post it in the plug-ins forum! Of course this isn't required by any means and you may want to keep it private, but it might help out other members of our community!