Error on InstallShield 2012 Project

FinalBuilder 7 is returning an error when it runs my InstallShield 2012 Basic MSI project. The log file created by InstallShield shows 0 errors and 0 warnings.

I'm using:
 FinalBuilder 7, Build 1864
 Windows XP SP 3
 InstallShiled 2012 Professional Edition SP1

What criteria is FinalBuilder using to determine the error condition?

Here's the InstallShield 2012 log file:

================= Logging started at 5/3/2012 11:41:58 AM ==================
Created release folders
AdminExecuteSequence table successfully built
AdminUISequence table successfully built
AdvtExecuteSequence table successfully built
AdvtUISequence table successfully built
InstallExecuteSequence table successfully built
InstallUISequence table successfully built
Directory table successfully built
Feature table successfully built
FeatureComponents table successfully built
Component table successfully built
Loading File table
Building File table
Merging modules...
Merging ATL Module for Windows: C:\Program Files\InstallShield\2012\Modules\i386\ATL.MSM
Merging Microsoft Component Category Manager Library: C:\Program Files\InstallShield\2012\Modules\i386\COMCAT.MSM
Merging Windows Common Controls ActiveX Control DLL: C:\Program Files\InstallShield\2012\Modules\i386\COMCTL32.MSM
Merging CMDialog ActiveX Control DLL: C:\Program Files\InstallShield\2012\Modules\i386\COMDLG32.MSM
Merging DCOM95: C:\Program Files\InstallShield\2012\Objects\DCOM95.Msm
Merging MDAC 2.7 Sp1 (English): C:\Program Files\InstallShield\2012\Objects\MDAC27ENU.msm
Merging MFCDLL Shared Library - Retail Version: C:\Program Files\InstallShield\2012\Modules\i386\MFC42.MSM
Merging Microsoft Common Controls 2 ActiveX Control DLL: C:\Program Files\InstallShield\2012\Modules\i386\MSCOMCT2.MSM
Merging MSComm: C:\Program Files\InstallShield\2012\Modules\i386\MSCOMM32.MSM
Merging MSMask: C:\Program Files\InstallShield\2012\Modules\i386\MSMASK32.MSM
Merging Visual Basic Virtual Machine: C:\Program Files\InstallShield\2012\Modules\i386\MSVBVM60.MSM
Merging Microsoft (R) C++ Runtime Library: C:\Program Files\InstallShield\2012\Modules\i386\MSVCIRT.MSM
Merging Microsoft (R) C++ Runtime Library: C:\Program Files\InstallShield\2012\Modules\i386\MSVCP60.MSM
Merging Microsoft (R) C Runtime Library: C:\Program Files\Common Files\Merge Modules\MSVCRT.MSM
Merging Microsoft Winsock Control DLL: C:\Program Files\InstallShield\2012\Modules\i386\MSWINSCK.MSM
Merging Microsoft OLE 2.40  for Windows NT(TM) and Windows 95(TM) Operating Systems: C:\Program Files\Common Files\Merge Modules\OLEAUT32.MSM
Merging OLE DB 2.1: C:\Program Files\InstallShield\2012\Objects\OLEDB21.msm
Merging Registration Wizard module: C:\Program Files\Common Files\Merge Modules\Crystal_regwiz2003.msm
Merging TABCTL32 OLE Control DLL: C:\Program Files\InstallShield\2012\Modules\i386\TABCTL32.MSM
Merging VC User ATL: C:\Program Files\InstallShield\2012\Modules\i386\VC_atl70.msm
Merging VC User CRT71 RTL X86 ---: C:\Program Files\InstallShield\2012\Modules\i386\VC_User_CRT71_RTL_X86_---.msm
Merging VC User gdiPlus RTL X86 ---: C:\Program Files\InstallShield\2012\Modules\i386\GDIPlus.msm
Merging Windows Scripting Host 5.6: C:\Program Files\InstallShield\2012\Modules\i386\WSH56.msm
Merging rdcruntime: C:\Program Files\Common Files\Merge Modules\rdcruntime.msm
Merging reportengine: C:\Program Files\Common Files\Merge Modules\reportengine.msm
File table successfully built
Building MsiFileHash table
MsiFileHash table successfully built
Class table successfully built
Extension table successfully built
ODBCDataSource table successfully built
ODBCDriver table successfully built
ISSQLScriptFile table successfully built
ISSQLScriptReplace table successfully built
ISSQLConnectionScript table successfully built
ISSQLConnection table successfully built
ISSQLConnectionDBServer table successfully built
ISSQLRequirement table successfully built
ISPalmApp table successfully built
ISPalmAppFile table successfully built
ISComPlusProxy table successfully built
ISComPlusApplication table successfully built
ISComCatalogCollection table successfully built
ISComCatalogCollectionObjects table successfully built
ISComCatalogObject table successfully built
ISComCatalogAttribute table successfully built
ISComPlusApplicationDLL table successfully built
ISComPlusServerFile table successfully built
ISComPlusProxyFile table successfully built
ISComPlusServerDepFile table successfully built
ISComPlusProxyDepFile table successfully built
ISXmlFile table successfully built
ISXmlElement table successfully built
ISXmlElementAttrib table successfully built
ISSearchReplaceSet table successfully built
ISSearchReplace table successfully built
ActionText table successfully built
Condition table successfully built
AppId table successfully built
AppSearch table successfully built
Started signing 1B0.tmp ...
Property table successfully built
BBControl table successfully built
Billboard table successfully built
Binary table successfully built
BindImage table successfully built
CCPSearch table successfully built
CompLocator table successfully built
Complus table successfully built
ControlCondition table successfully built
ControlEvent table successfully built
CreateFolder table successfully built
CustomAction table successfully built
DrLocator table successfully built
DuplicateFile table successfully built
Environment table successfully built
Error table successfully built
EventMapping table successfully built
FileSFPCatalog table successfully built
Font table successfully built
IniFile table successfully built
IniLocator table successfully built
ISBillBoard table successfully built
ISCEApp table successfully built
ISCEDir table successfully built
ISCEFileExt table successfully built
ISCEInstall table successfully built
ISCEOtherAppCABs table successfully built
ISCERegistry table successfully built
ISCESetupFile table successfully built
ISCEShtCut table successfully built
ISChainPackage table successfully built
ISChainPackageData table successfully built
ProgId table successfully built
ISComponentExtended table successfully built
ISCustomActionReference table successfully built
ISDRMFile table successfully built
ISFileManifests table successfully built
ISIISItem table successfully built
ISIISProperty table successfully built
ISLockPermissions table successfully built
ISObjectProperty table successfully built
IsolatedComponent table successfully built
ISSelfReg table successfully built
ISSetupType table successfully built
ISSetupTypeFeatures table successfully built
ISSQLDBMetaData table successfully built
ISSQLScriptError table successfully built
ISVirtualDirectory table successfully built
ISVirtualFile table successfully built
ISVirtualPackage table successfully built
ISVirtualRegistry table successfully built
ISVirtualRelease table successfully built
ISVirtualShortcut table successfully built
ISXmlLocator table successfully built
LaunchCondition table successfully built
LockPermissions table successfully built
MIME table successfully built
MoveFile table successfully built
MsiAssembly table successfully built
MsiAssemblyName table successfully built
MsiDigitalCertificate table successfully built
MsiDigitalSignature table successfully built
MsiDriverPackages table successfully built
MsiEmbeddedChainer table successfully built
MsiEmbeddedUI table successfully built
MsiLockPermissionsEx table successfully built
MsiPackageCertificate table successfully built
MsiPatchCertificate table successfully built
MsiServiceConfig table successfully built
MsiServiceConfigFailureActions table successfully built
MsiShortcutProperty table successfully built
ODBCAttribute table successfully built
ODBCSourceAttribute table successfully built
ODBCTranslator table successfully built
PatchPackage table successfully built
PublishComponent table successfully built
Registry table successfully built
RegLocator table successfully built
RemoveFile table successfully built
RemoveIniFile table successfully built
RemoveRegistry table successfully built
ReserveCost table successfully built
SelfReg table successfully built
ServiceControl table successfully built
ServiceInstall table successfully built
SFPCatalog table successfully built
Started signing 1B2.tmp ...
Started signing 1B4.tmp ...
Started signing 1B6.tmp ...
Started signing 1B8.tmp ...
Started signing 1BA.tmp ...
Started signing 1BC.tmp ...
Started signing 1BE.tmp ...
Shortcut table successfully built
Signature table successfully built
TextStyle table successfully built
TypeLib table successfully built
UIText table successfully built
Upgrade table successfully built
Verb table successfully built
_Validation table successfully built
Building COM .NET Interop information for components
Searching project for extract-at-build components...
Building scanned MsiAssembly records
Building scanned MsiAssemblyName records
Validating Custom Action sequencing
Embedding manifest SetupExe.Admin.manifest into setup.exe
Dialog AdminChangeFolder for language English (United States) built
Dialog AdminNetworkLocation for language English (United States) built
Dialog AdminWelcome for language English (United States) built
Dialog CancelSetup for language English (United States) built
Dialog CustomSetup for language English (United States) built
Dialog CustomSetupTips for language English (United States) built
Dialog CustomerInformation for language English (United States) built
Dialog DatabaseFolder for language English (United States) built
Dialog DestinationFolder for language English (United States) built
Dialog DiskSpaceRequirements for language English (United States) built
Dialog FilesInUse for language English (United States) built
Dialog InstallChangeFolder for language English (United States) built
Dialog InstallWelcome for language English (United States) built
Dialog LicenseAgreement for language English (United States) built
Dialog MaintenanceType for language English (United States) built
Dialog MaintenanceWelcome for language English (United States) built
Dialog MsiRMFilesInUse for language English (United States) built
Dialog OutOfSpace for language English (United States) built
Dialog PatchWelcome for language English (United States) built
Dialog ReadyToInstall for language English (United States) built
Dialog ReadyToRemove for language English (United States) built
Dialog SetupCompleteError for language English (United States) built
Dialog SetupCompleteSuccess for language English (United States) built
Dialog SetupError for language English (United States) built
Dialog SetupInitialization for language English (United States) built
Dialog SetupInterrupted for language English (United States) built
Dialog SetupProgress for language English (United States) built
Dialog SetupResume for language English (United States) built
Dialog SetupType for language English (United States) built
Dialog SplashBitmap for language English (United States) built
Resolving strings...
Language English (United States) built
Synchronizing file keys
Building .cab files...
Data1.cab built
Files built
Media table successfully built
Performing Upgrading and Patching Validation
Setup.exe created
Windows validation is disabled. To enable Windows validation: on the Tools menu, click Options and select the Validation tab.
Automatic update notification disabled
x64\PCIW - 0 error(s), 0 warning(s)
================= Logging stopped at 5/3/2012 12:02:13 PM ==================
Log file has been created:

We look at the return code , a non zero return code is supposed to indicate failure, sadly Installshield has a history of spurious return code usage. I have exposed the ReturnCode property to scripting so it should be possible to see what the returncode is and deal with it in the AfterAction script event, e.g :

[code] if (Action.ReturnCode == -1073741818){ ActionResult = true; Continue = true;}[/code]

I’m running a build with this change now, I will post here when it’s uploaded.

Hi Paul

This build includes the ReturnCode property :

http://downloads.finalbuilder.com/downloads/finalbuilder/700/FB700_1865.exe

Vincent,

Thanks. I was able to catch the ReturnCode from InstallShield 2012 (-1073741819) and bybass the error. The build from InstallShield seems to run fine.

I’ll see if I can learn from Flexera Software why InstallShield is returning a non-zero code but showing no errors.

Paul