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
- :
- Re: Problem with Automation Interface using 2011 StandAlone Build; can't create object
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 29, 2010
12:52 PM
Problem with Automation Interface using 2011 StandAlone Build; can't create object
For some reason, I am unable to run a VBScript on my build machine (with 2011 StandAlone Build) that runs fine on my developer system (InstallShield 2011 Premier). I've tried uninstall/reinstall, modify, repair, and no luck in getting the script below to run. I've even tried to manually regsvr32.exe IswiAutomation17.dll. Any ideas?
Option Explicit
Dim pProject
Set pProject = CreateObject ("ISWiAuto17.ISWiProject")
pProject.OpenProject "C:\20100928\test.ism", False
Dim pProperty
Set pProperty = pProject.ISWiProperties.Item("ProductVersion")
pProperty.Value = "1.0.9999"
pProject.SaveProject
pProject.CloseProject
C:\20100928\SetMSIProductVersion.vbs(3, 1) Microsoft VBScript runtime error: ActiveX component can't create object: 'ISWiAuto17.ISWiProject'
Option Explicit
Dim pProject
Set pProject = CreateObject ("ISWiAuto17.ISWiProject")
pProject.OpenProject "C:\20100928\test.ism", False
Dim pProperty
Set pProperty = pProject.ISWiProperties.Item("ProductVersion")
pProperty.Value = "1.0.9999"
pProject.SaveProject
pProject.CloseProject
C:\20100928\SetMSIProductVersion.vbs(3, 1) Microsoft VBScript runtime error: ActiveX component can't create object: 'ISWiAuto17.ISWiProject'
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 29, 2010
01:39 PM
Is your build machine 64 bit? If so, see the following help topic:
Using the Automation Interface on a 64-Bit System
Using the Automation Interface on a 64-Bit System
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 29, 2010
01:47 PM
Thanks! That was exactly my problem.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 26, 2011
06:10 PM
I'm having the same problem, but I have verified that I have a 32-bit system so that's not the problem. My code works fine on my computer with the full Installshield copy, but it breaks when I use it with just the standalone version.
Is there some way I can conifrm that I installed and registered the standalone version correctly? Is there anything else I should try?
Is there some way I can conifrm that I installed and registered the standalone version correctly? Is there anything else I should try?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 27, 2011
07:33 AM
Are you seeing the exact same error message that was mentioned in the original post in this thread, or a different one?
How did you install the Standalone Build? Did you run the installation, or did you try to copy the files over to the machine?
If you are seeing the exact same error message, you may want to try manually registering ISWiAutomation17.dll (Standalone Build Program Files Folder\System\ISWiAutomation17.dll) with Regsvr32.exe (which is installed in the System32 folder). The following help topic lists other files that need to be registered:
Installing the Standalone Build on a Build Machine
Which type of licensing are you using for the Standalone Build? Node locked or concurrent? I think most users have node locked; for that type, they need to download the License.lic file from the Product and License Center. The file should be installed to the following folder:
Standalone Build Program Files Folder\System
How did you install the Standalone Build? Did you run the installation, or did you try to copy the files over to the machine?
If you are seeing the exact same error message, you may want to try manually registering ISWiAutomation17.dll (Standalone Build Program Files Folder\System\ISWiAutomation17.dll) with Regsvr32.exe (which is installed in the System32 folder). The following help topic lists other files that need to be registered:
Installing the Standalone Build on a Build Machine
Which type of licensing are you using for the Standalone Build? Node locked or concurrent? I think most users have node locked; for that type, they need to download the License.lic file from the Product and License Center. The file should be installed to the following folder:
Standalone Build Program Files Folder\System
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 27, 2011
11:07 AM
Thanks for your response! My error is pretty much the same except I have a different version of Installshield. I just responded to this thread since it was so similar to my issue, but I have Installshield 12. My error is:
"ActiveX component can't create object: 'ISWiAuto17.ISWiProject'"
I installed the StandAlone build using the installation CD, and I did type in a license number during installation, so everything seemed okay. I'm not sure if I have a node or concurrent license. I'll investigate the other things you suggested...
"ActiveX component can't create object: 'ISWiAuto17.ISWiProject'"
I installed the StandAlone build using the installation CD, and I did type in a license number during installation, so everything seemed okay. I'm not sure if I have a node or concurrent license. I'll investigate the other things you suggested...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 27, 2011
11:24 AM
Oh, sorry. That's kind of an important detail.
InstallShield 12 used a library called ISWiAutomation12 for automation interface support with the full version of InstallShield. However, the InstallShield 12 Standalone Build automation interface support used a library named SAAuto12. You need to update your automation interface script accordingly, depending on whether you are using the full version of InstallShield or the Standalone Build.
Beginning with InstallShield 2009, the Standalone automation interface uses the same ISWiAutomation library that the InstallShield automation interface uses. So, if you are using InstallShield 2009 or later, you don't need to update your script to switch between InstallShield and the Standalone Build.
InstallShield 2009 also introduced other improvements. For example, the Standalone Build now uses the same directory structure that InstallShield uses for its program files. Therefore, if you need to copy a redistributable or some other file from a machine that has InstallShield to a machine that has the Standalone Build, use the same relative path. For InstallShield 2008 and earlier versions, the directory structures were different and inconsistent.
InstallShield 12 used a library called ISWiAutomation12 for automation interface support with the full version of InstallShield. However, the InstallShield 12 Standalone Build automation interface support used a library named SAAuto12. You need to update your automation interface script accordingly, depending on whether you are using the full version of InstallShield or the Standalone Build.
Beginning with InstallShield 2009, the Standalone automation interface uses the same ISWiAutomation
InstallShield 2009 also introduced other improvements. For example, the Standalone Build now uses the same directory structure that InstallShield uses for its program files. Therefore, if you need to copy a redistributable or some other file from a machine that has InstallShield to a machine that has the Standalone Build, use the same relative path. For InstallShield 2008 and earlier versions, the directory structures were different and inconsistent.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 27, 2011
11:40 AM
That fixes it THANKS!!! Also, thanks for pointing out those other differences.
FYI - In my last my last post I copied the wrong error message. It should have been: "ActiveX component can't create object: 'ISWiAuto12.ISWiProject'"
Thanks again for your help!!
FYI - In my last my last post I copied the wrong error message. It should have been: "ActiveX component can't create object: 'ISWiAuto12.ISWiProject'"
Thanks again for your help!!
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)