How to automate Installshield installer creation with CI tools like Jenkins

In order to have automate installer creation using install shield, there is command/tool available with their license named as iscmbld.exe .You need to locate or find out the this tool under path where you have installer installshield. This tool will be under /System folder of installshield’s installed location.

Once you have created installer using installshield and able to build through GUI then you can build the same in jenkins like below using windows batch command-

rd /Q /S “Your Project/staging”
mkdir “Your Project/staging”
xcopy “Path to your project components\*” “Your Project\staging” /e /f /i

“E:\Program Files\Installshield2013\System\IsCmdBld.exe” -p “%WORKSPACE%\Your Project\Your Project.ism” -y %BUILDNO%

where, you can provide BUILDNO pre your project needs.

Basically, what does above program do is remove older staging folder, create empty staging folder, copy contents there and then build installer from there. You need to link your components to your staging folder in install shield project file.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s