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
- :
- Re: Automation Questions
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2008
10:32 AM
Automation Questions
Hello everyone. I'm brand new to AdminStudio and InstallShield and I'm trying to figure out how to automate package creation using one or both of these tools. Can anyone give me any pointers or point me to some documentation? Also, is there a CLI for AdminStudio Professional and/or InstallShield 2008?
Thanks!:D
Thanks!:D
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 10, 2008
02:47 PM
You can automate some common project tasks with the InstallShield automation interface. The root object, ISWiProject, is used as a starting point for automation tasks and can be used with most languages that work with COM. The ISWiProject help doc includes some sample VBScript code to open a project. You can also use the CreateProject method to create a new InstallShield project.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 10, 2008
02:54 PM
Not sure if this is what you are looking for, but we have an automated build process that updates the InstallShield project and performs the build from the command line.
In our case we use MSBuild, but the basic steps should work with any kind of build script.
When we create the InstallShield project we make sure the project is saved as XML. The version is the main thing we need to change so everywhere within the IDE we set this to 99.99.99.99. In the build script we replace all instances of 99.99.99.99 with our actual build number.
After updating we just call the command line build. We use the Standalone Build but this would work equally as well with the full version.
"C:\Program Files\InstallShield\2009 StandaloneBuild\System\IsCmdBld.exe" -p ProjectSetup\ProjectSetup.ism -a "Default%20Configuration" -r Release -b (dropPath)
In our case we use MSBuild, but the basic steps should work with any kind of build script.
When we create the InstallShield project we make sure the project is saved as XML. The version is the main thing we need to change so everywhere within the IDE we set this to 99.99.99.99. In the build script we replace all instances of 99.99.99.99 with our actual build number.
After updating we just call the command line build. We use the Standalone Build but this would work equally as well with the full version.
"C:\Program Files\InstallShield\2009 StandaloneBuild\System\IsCmdBld.exe" -p ProjectSetup\ProjectSetup.ism -a "Default%20Configuration" -r Release -b (dropPath)