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
- :
- SAAuto14 Problem
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎May 15, 2008
02:52 PM
SAAuto14 Problem
I wrote a C# utility for dynamically adding sql scripts to an ISM using an autogenerated SAAuto14 interop. When I run on my dev machine it works but on my clean machine with SAB2008 installed it fails.
Just to make sure it wasn't a strange C# problem I wrote a small vbscript snippet and it confirms the problem.
BTW, that's not a typo... I'm calling InsertSQLScript and it's complaining about AddSQLScript.
Any thoughts?
Just to make sure it wasn't a strange C# problem I wrote a small vbscript snippet and it confirms the problem.
set project = createobject("SAAuto14.ISWiProject")
project.OpenProject( "foo.ism" )
for each connection in project.ISWiSQLConnections
connection.InsertSQLScript( "foo.sql" )
next
project.SaveProject
set project = nothing
BTW, that's not a typo... I'm calling InsertSQLScript and it's complaining about AddSQLScript.
Any thoughts?
(3) Replies
‎May 16, 2008
09:51 AM
I seems like the real problem is SAAuto14.ISWiSQLScript. If I run:
It'll work on my dev machine but not my clean machine.
set foo = CreateObject("SAAuto14.ISWiSQLScript")
It'll work on my dev machine but not my clean machine.
‎May 16, 2008
10:16 AM
I've tried that and uninstall/reinstall. Something funky is going on.... when I look at SAAuto14.dll using COM Explorer some of the ClsId's are different from one machine to another.