I have upgraded InstallShield successfully from 2009 standalone build to 2016 standalone build. Currently using "InstallShield 2016 Standalone build" to build my package. Before creating the package i have kept a check to verify whether "InstallShield 2016 Standalone build" is installed in the system". Below is the .js code.
try
{
var testStanAloneBuilder = new ActiveXObject("IswiAuto23.ISWiProject");
delete testStanAloneBuilder;
}
catch (e)
{
ErrorExit("ERROR: The required InstallShield Stand Alone Builder is not installed.");
}
The exception error message received is "Automation server can't create object". Can anybody please let me know if i need to do any post installation settings after installing InstallShield 2016 stand alone build.
I haven't used IS in a few years but here's a few tips that should help.
1) The SAB exposes the automation interface as an optional feature to install. It might not be installed.
2) The automation interface only supports 32bit. You'll get errors trying to use it from a 64bit process. (For TFS builds I select x86 msbuild platform ).
3) You should be able to have different versions of the SAB installed on the same build machine. (Or create different classes of machines even better.)
4) I like to setup parallel builds when trying out new versions of InstallShield. You should be able to keep the .ISM at the old schema and build it with both engines. (The newer SAB will upgrade the shema during the build.) Once everything checks out you can update the .ISM to the latest version of InstallSield.