8. WebSnap Application Deployment
===========================================================
If you created your application as a Web App Debugger
executable, you will fist have to convert it to an
ISAPI DLL, CGI executable, or Apache Shared Module. To
deploy your DLL or EXE to a web server, you will have to
place your application in a directory that has executable
rights. With Internet Information Services (IIS) this is
typically C:/Inetpub/Scripts. For each WebModule in your
application, you must copy the associated HTML file to the
same directory as your EXE/DLL. By default, the associated
HTML file is simply the WebModule unit's name with .html
as the extension.
Additionaly, you must register both WebBrokerScript.tlb
and stdvcl40.dll on the web server. TLB files cannot be
registerd with the Microsoft regsvr32 program, but must
be registerd with tregsvr, located in the Delphi bin
directory. You can copy tregsvr to the web server, and
register the files with:
tregsvr WebBrokerScript.tlb
and
tregsvr stdvcl40.dll
Finally, WebSnap applications require the Microsoft Active
Scripting Engine in order to work. It is included with
Internet Explorer 5, and is installed by default on Windows
2000 machines. To download the Scripting Engine, visit:
http://msdn.microsoft.com/scripting/