PDA

View Full Version : ActiveX component can't create object:'ISWiAuto15.ISWiProject'



jlooijen
02-13-2009, 09:29 AM
Hello

I'm migrating from InstallShieldX to Installshield 2009 Express. I used a small vbs script to set the project version from outside (i generate my setups using iscmdBld.exe


The script :


const MY_EXE ="c:\installshield sources\TETFactory\v5\release\src\ORQProcessor\release\VS2005\x86\ORQProcessor.exe"
set oMSI = CreateObject("WindowsInstaller.Installer")
strVersion = oMSI.Fileversion(MY_EXE)
set oMSI = Nothing
'
'ok , lets modify the setup to the good version
'
Const PROJECT = "C:\V5\setup\jaap.ise"
set oISM = CreateObject("ISWiAuto15.ISWiProject")
oISM.OpenProject PROJECT
oISM.ProductVersion = strVersion
oISM.SaveProject: oISM.CloseProject
set oISM = Nothing

gives the error :
can't create object:'ISWiAuto15.ISWiProject'

i've tried 14 instead of 15 but none of them works.

Please help, because this is blocking my migration. The script did work with Installshield X !

regards
Jaap

hidenori
02-13-2009, 12:10 PM
Express edition does not support the automation interface. It does not offer as much flexibility as the other editions. Here's a help topic that explains some of the differences between the three available editions: Upgrading from Other InstallShield Editions (http://helpnet.acresso.com/Robo/BIN/Robo.dll?mgr=agm&tpc=%2Frobo%2Fprojects%2Finstallshield15helplib%2FUpgradingFromOtherInstallShieldEditions.htm&wnd=InstallShieldLivingHelp%7CMain&agt=wsm&ctxid=showthread.php).

Christopher Painter
02-14-2009, 10:13 PM
Does express use binary or xml to save it's project?