Hi All,
I am using installshield 10.5 professional - admin studion edition [basic msi project]. i have created a batch file to take the installer build. by clicking on the batch file without opening IDE it will take build. Similarly suppose if i want to change the Installer version without out opening IDE , how do i do that ?
Thanks in advance,
Prathap
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
How to change the version number
Started by
reddy611
, May 23 2007 10:42
3 replies to this topic
Posted 23 May 2007 - 11:01
I have created the VB script file to change the version number...
Dim m_ISWiProject
Set m_ISWiProject = CreateObject("IswiAuto1050.ISWiProject")
strFile = "C:\My InstallShield 10.5 Projects\test.ism"
m_ISWiProject.OpenProject strFile
m_ISWiProject.ProductVersion = "2.00.0000"
m_ISWiProject.SaveProject
m_ISWiProject.CloseProject
the moment i execute the vbscript, i am geeting the following error. Please see the error.
Could you please suggest me where i am doing wrong.
Dim m_ISWiProject
Set m_ISWiProject = CreateObject("IswiAuto1050.ISWiProject")
strFile = "C:\My InstallShield 10.5 Projects\test.ism"
m_ISWiProject.OpenProject strFile
m_ISWiProject.ProductVersion = "2.00.0000"
m_ISWiProject.SaveProject
m_ISWiProject.CloseProject
the moment i execute the vbscript, i am geeting the following error. Please see the error.
Could you please suggest me where i am doing wrong.
Edited by reddy611, 23 May 2007 - 11:02.
Posted 23 May 2007 - 12:39
The IswiAuto1050.ISWiProject COM automation object is not properly registered - or you are using the wrong object name.
To look for the proper name: If you got Office installed, open the VBA editor from the Tools menu. Go to the reference tab, and look for the Installshield Automation Object, click it and press OK. Then look in the object browser and check what the name of the main automation object is.
To look for the proper name: If you got Office installed, open the VBA editor from the Tools menu. Go to the reference tab, and look for the Installshield Automation Object, click it and press OK. Then look in the object browser and check what the name of the main automation object is.
Regards
-Stein Åsmul
-Stein Åsmul
Posted 30 May 2007 - 15:32
It is working...Thank you Glytzhkof.
Edited by reddy611, 30 May 2007 - 16:03.