问题
I am using Installshield 2013 SP1 SAB(stand alone build). I am trying to change the product codes, strings and properties with help of following VBSCRIPT. But my VBScript is failing at the following code with error: "Unable to CreateObject with IS automation interface"
On Error Resume Next
Set oISM = CreateObject("IswiAuto20.ISWiProject")
if Err.Number <> 0 Then
Wscript.Echo "Unable to CreateObject with IS automation interface" & vbNewLine
Wscript.Quit Err.Number
End If
I have registered IswiAutomation20.dll manually, but even that does not solve my issue. I am using a 32-bit build server.
Tagging installshield gurus as they are the ones who can help. VBScript gurus can help me if I am wrong in the script.
回答1:
could be the case of the IswiAuto20 namespace. Try I**SW**iAuto20 instead of "IswiAuto20". Rob
来源:https://stackoverflow.com/questions/22221329/installshield-automation-is-failing-while-running-vbscript-with-error-unable-to