Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 2

Microsoft VBScript runtime error: ActiveX component can't create object: 'ISWiAuto27.ISWiProject'


I am using InstallShield2021 R1 to create installer on win server 16, SAB of Installshield2021 is not installed on it.
I am trying to set some attributes like ProductVersion, ProductCode and PackageCode for my installation project through VBScript(VBScript is given below)
But getting Error "Microsoft VBScript runtime error: ActiveX component can't create object: 'ISWiAuto27.ISWiProject'"

If WScript.Arguments.Count = 0 Then
End If

Function UpgradeVersion( sProject )
Set oFile = CreateObject("Scripting.FileSystemObject")
If oFile.FileExists( sProject ) Then
Set oProject = CreateObject("IswiAuto27.ISWiProject") ' IS 2021, ISWiAutomation27.dll
oProject.OpenProject sProject
oProject.ProductVersion = WScript.Arguments.Item(1)
oProject.ProductCode = oProject.GenerateGUID
oProject.PackageCode = oProject.GenerateGUID
End If
End Function

Through InstallShield2021 Tool I am able to update ProductVersion, ProductCode, PackageCode and generate the installer. But my requirement to perform updation of general informatrion(ProductVersion, ProductCode, PackageCode) through script.

Suggestions will be helpfull.

0 Kudos
(0) Replies