I am trying to create a script that will automate the process of creating an installShield object.
I have selected to develop it with VBScript because the Automation Api is very helpful for vbs developing. This a very simple code that i have made
Set m_ISWiProject = CreateObject("IswiAuto18.ISWiProject")
strFile = "C:\<WindowsFolder>\Profiles\<UserName>\Personal\MySetups\Test.ism"
m_ISWiProject.OpenProject strFile
The problem is that when i try to run it, i get this error
ActiveX component can't create object: 'ISWiAuto18.ISWiProject'
that is probably because of missing libraries or because the program cannot find the source code for the API that i am using.
Any information about using API with vbscript or even better VBScript and install shield is very appreciated.Thank you all in advance.