InstallAware for Windows Installer
 

Using the COM Object

The COM object implements an IDispatch interface and can be called from environments supporting the interface. For instance, use the COM object to dynamically emit InstallAware setup scripts and build them from webpages via ASP scripting.

mAutoWeb.CoInstallAware Methods

InitializeScript
AddCommand
FinalizeScript

mAutoWeb.CoInstallAware Properties

BuildProject
GetTotalLines

Example ASP Script

Set IA = Server.CreateObject("mAutoWeb.CoInstallAware")
IA.InitializeScript  
IA.AddCommand "Set Variable","PREREQ","FALSE"
IA.FinalizeScript Request("ScriptFile")
Dim LineCount
LineCount = IA.GetTotalLines
Dim BuildResult
BuildResult = IA.BuildProject(Request("ProjectFile"), "$NULL$", Request("LogFile"), 0)


Copyright© 1996-2020 InstallAware Software. All rights reserved.