/build/static/layout/Breadcrumb_cap_w.png

Automation Build in installshield

Hi friends,

I want to make automated build in install shield.Here developers using TFS for source management.
I have some Questions,

1. How trigger build button pro-grammatically
2. how to add the files in install shield pro-grammatically.     

it's big Question for me.Already I have checked with google about msbuild,iscmdbld,automation interface,but i'm not getting proper answer & brief explanation.
I want to start to end can you help me. 

1 Comment   [ + ] Show comment
  • I have done this. I will dig out some notes. Its not too hard, but you do need to test the steps - Badger 9 years ago

Answers (4)

Posted by: perumal9791 9 years ago
Senior Yellow Belt
0
Set m_ISWiProject = CreateObject("IswiAuto18.ISWiProject") 

'To open an installation project, call the OpenProject method, as follows: 

    ' Build path to the .ism file 
    Dim=strFile

    strFile = "C:\InstallShield 2012 Projects\My Project Name-1.ism" 

    m_ISWiProject.OpenProject strFile 

I have used the above script in vbs but it's not working.It's says compilation error.
can you help me anybody..?
Posted by: anonymous_9363 9 years ago
Red Belt
0
From the (admittedly scant) investigations I made when this question was asked a while ago, documentation for IS's object model is non-existent. You would be far better off using Wix, as many, many people in your position do. Aside from anything else, Wix has a healthy and knowledgeable community who'll be able to help you. 
Posted by: rad33k 9 years ago
Fourth Degree Brown Belt
0
What about using of Installshield's Automation Interface? There are following objects available:

ISWiProject Object

ISWiRelease Object
(please google for description of the rest of them :)

 ISWiAdvancedFile Object
 ISWiAutomaticUpgradeEntry Object
 ISWiCustomAction Object
 ISWiComponent Object
 ISWiComponentSubFolder Object
 ISWiCondition Object
 ISWiDimDependency Object
 ISWiDimReference Object
 ISWiDynamicFileLinking Object
 ISWiEnvironmentVar Object
 ISWiFeature Object
 ISWiFile Object
 ISWiFolder Object
 ISWiLanguage Object
 ISWiObject Object
 ISWiPathVariable Object
 ISWiProductConfig Object
 ISWiProperty Object
 ISWiRelease Object
 ISWiSequenceRecord Object
 ISWiSetupFile Object
 ISWiSetupType Object
 ISWiShortcut Object
 ISWiSISProperty Object
 ISWiSQLConnection Object
 ISWiSQLDatabaseServer Object
 ISWiSQLReplace Object
 ISWiSQLRequirement Object
 ISWiSQLScript Object
 ISWiStringEntry Object
 ISWiUpgradeTableEntry Object

And check some tips and C# code here:
http://stackoverflow.com/questions/13814473/programatically-create-installshield-packages

Comments:
  • I Dont know how to use ISWIProject object.. - perumal9791 9 years ago
Posted by: Badger 9 years ago
Red Belt
0

Last time I did this (best job ever!!)
We used the iscmdbld.exe. I wont give you the full answer, but have a look at the cmd arguments and you should be OK.

You say your searches are not giving you what you want??? What exactly do you want??

You run the build by using the iscmdbld.
you have to have your ISM. I would recommend setting up a release in that first.

What files are you trying to add automatically???
Create the ism, use relative paths, it will add the files in as you go. If you are writing code, building that into binaries for a products, if you add a new binary file, you will have to add that into the MSI via the ISM in a component, associated with a feature.

Oh, free tip. save the ISM in XML format. That will be handy later on in ways you cant imagine now.

 

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ