运行vbscript时Installshield Automation失败,错误无法创建对象 [英] Installshield Automation is failing while running vbscript with error unable to create object

查看:121
本文介绍了运行vbscript时Installshield Automation失败,错误无法创建对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Installshield 2013 SP1 SAB(独立构建).我正在尝试通过以下VBSCRIPT来更改产品代码,字符串和属性.但是我的VBScript在以下代码失败,并出现错误:无法使用IS自动化接口创建对象"

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

我已经手动注册了 IswiAutomation20.dll ,但是即使那样也不能解决我的问题.我正在使用32位构建服务器.

I have registered IswiAutomation20.dll manually, but even that does not solve my issue. I am using a 32-bit build server.

标记installshield大师,因为他们可以提供帮助.如果我在脚本中输入错误,VBScript专家可以为我提供帮助.

Tagging installshield gurus as they are the ones who can help. VBScript gurus can help me if I am wrong in the script.

推荐答案

可能是IswiAuto20名称空间的情况.尝试使用I ** SW ** iAuto20代替"IswiAuto20".罗布

could be the case of the IswiAuto20 namespace. Try I**SW**iAuto20 instead of "IswiAuto20". Rob

这篇关于运行vbscript时Installshield Automation失败,错误无法创建对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆