This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- ISWiAuto17: Class not registered
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 19, 2011
10:29 PM
ISWiAuto17: Class not registered
I have a project using Installshield 2010.
Now I want to upgrade to InstallShield 2011.
I changed the setproductversion.vbs using IswiAuto17
And you can see the setproductversion.vbs
Set Args = wscript.Arguments
If Args.Count() = 2 Then
' strISMPath = Args.item(0)
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
strISMPath = fso.GetAbsolutePathName(Args.item(0))
strProductVersion = Args.item(1)
Else
wscript.echo "Usage: setproductversion ismPath strProductVersion"
End If
Dim m_ISWiProject
' Create a reference to the InstallShield automation layer
Set m_ISWiProject = CreateObject("IswiAuto17.ISWiProject")
m_ISWiProject.OpenProject strISMPath 'Name and path of the ISM file
m_ISWiProject.ProductVersion = strProductVersion
m_ISWiProject.SaveProject
m_ISWiProject.CloseProject
Set m_ISWiProject = nothing
And the makefile is as below:
011-09-19 20:14:54 | **** Building Client Tools and Drivers x86 Installer ****
2011-09-19 20:14:54 | regsvr32 /s D:\\build\\toolchain\\win32\\installshield-2011\\System\\ISWiAutomation17.dll
2011-09-19 20:14:54 | D:/build/toolchain/win32/bin/chmod.exe u+w d:/build/ob/sb-611334/test/winbuild/win32/paac/src/installer/clientTools-x86.ism
2011-09-19 20:14:54 | **** Setting product Version ****
2011-09-19 20:14:54 | cscript /nologo d:\\build\\ob\\sb-611334\\test\\winbuild\\win32\\paac\\src\\installer\\setproductversion.vbs d:\\build\\ob\\sb-611334\\test\\winbuild\\win32\\paac\\src\\installer\\clientTools-x86.ism "1.0.0.14298"
2011-09-19 20:14:54 | d:\build\ob\sb-611334\test\winbuild\win32\paac\src\installer\setproductversion.vbs(17, 1) ISWiAuto17: Class not registered
Who can help me on it?
Thank you very much!
Now I want to upgrade to InstallShield 2011.
I changed the setproductversion.vbs using IswiAuto17
And you can see the setproductversion.vbs
Set Args = wscript.Arguments
If Args.Count() = 2 Then
' strISMPath = Args.item(0)
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
strISMPath = fso.GetAbsolutePathName(Args.item(0))
strProductVersion = Args.item(1)
Else
wscript.echo "Usage: setproductversion ismPath strProductVersion"
End If
Dim m_ISWiProject
' Create a reference to the InstallShield automation layer
Set m_ISWiProject = CreateObject("IswiAuto17.ISWiProject")
m_ISWiProject.OpenProject strISMPath 'Name and path of the ISM file
m_ISWiProject.ProductVersion = strProductVersion
m_ISWiProject.SaveProject
m_ISWiProject.CloseProject
Set m_ISWiProject = nothing
And the makefile is as below:
011-09-19 20:14:54 | **** Building Client Tools and Drivers x86 Installer ****
2011-09-19 20:14:54 | regsvr32 /s D:\\build\\toolchain\\win32\\installshield-2011\\System\\ISWiAutomation17.dll
2011-09-19 20:14:54 | D:/build/toolchain/win32/bin/chmod.exe u+w d:/build/ob/sb-611334/test/winbuild/win32/paac/src/installer/clientTools-x86.ism
2011-09-19 20:14:54 | **** Setting product Version ****
2011-09-19 20:14:54 | cscript /nologo d:\\build\\ob\\sb-611334\\test\\winbuild\\win32\\paac\\src\\installer\\setproductversion.vbs d:\\build\\ob\\sb-611334\\test\\winbuild\\win32\\paac\\src\\installer\\clientTools-x86.ism "1.0.0.14298"
2011-09-19 20:14:54 | d:\build\ob\sb-611334\test\winbuild\win32\paac\src\installer\setproductversion.vbs(17, 1) ISWiAuto17: Class not registered
Who can help me on it?
Thank you very much!
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 20, 2011
03:20 AM
When I don't run vbs, it gave the error message:
2011-09-20 01:13:41 | Building Release: setup
2011-09-20 01:13:41 |
2011-09-20 01:13:41 | DoUpgradeAndBuildEx
2011-09-20 01:13:41 | DoUpgradeAndBuildExInternal
2011-09-20 01:13:41 | DoUpgrade
2011-09-20 01:13:41 | DoIsmUpgrade
2011-09-20 01:13:41 | GetNewFileName
2011-09-20 01:13:41 | spProject->Open Failed
2011-09-20 01:13:41 | Upgrade Needed
2011-09-20 01:13:41 | ISDEV : fatal error -6199: Internal build error
2011-09-20 01:13:41 | Unspecified error
Who can help me on it?
Thank you very much!
2011-09-20 01:13:41 | Building Release: setup
2011-09-20 01:13:41 |
2011-09-20 01:13:41 | DoUpgradeAndBuildEx
2011-09-20 01:13:41 | DoUpgradeAndBuildExInternal
2011-09-20 01:13:41 | DoUpgrade
2011-09-20 01:13:41 | DoIsmUpgrade
2011-09-20 01:13:41 | GetNewFileName
2011-09-20 01:13:41 | spProject->Open Failed
2011-09-20 01:13:41 | Upgrade Needed
2011-09-20 01:13:41 | ISDEV : fatal error -6199: Internal build error
2011-09-20 01:13:41 | Unspecified error
Who can help me on it?
Thank you very much!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 20, 2011
10:09 AM
If this is a 64-bit machine, it's possible that your scripts invoke the 64-bit cscript engine which is incapable of loading the 32-bit InstallShield automation interface. Perhaps try explicitly specifying the 32-bit version of cscript.exe, generally located at C:\Windows\SysWow64\cscript.exe. (You don't have to do this for regsvr32, as it can figure this out, but feel free to explicitly specify that one too if it makes your script clearer.)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 22, 2011
04:12 AM
MichaelU wrote:
If this is a 64-bit machine, it's possible that your scripts invoke the 64-bit cscript engine which is incapable of loading the 32-bit InstallShield automation interface. Perhaps try explicitly specifying the 32-bit version of cscript.exe, generally located at C:\Windows\SysWow64\cscript.exe. (You don't have to do this for regsvr32, as it can figure this out, but feel free to explicitly specify that one too if it makes your script clearer.)
2011-09-22 01:49:57 | regsvr32 /s D:\\build\\toolchain\\win32\\installshield-2011\\System\\ISWiAutomation17.dll
2011-09-22 01:49:57 | C:\\Windows\\SysWow64\\cscript.exe /nologo d:\\build\\ob\\sb-614847\\aurora\\winbuild\\win32\\paac\\src\\installer\\setproductversion.vbs d:\\build\\ob\\sb-614847\\test\\winbuild\\win32\\paac\\src\\installer\\test.ism "1.0.0.14376"
2011-09-22 01:49:57 | d:\build\ob\sb-614847\test\winbuild\win32\paac\src\installer\setproductversion.vbs(17, 1) ISWiAuto17: Class not registered
It also failed.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)