InstallShield Execution failed with exit code [-2147213312]

I would like to deploy lexis nexis Concordance 10. The installer it uses is InstallShield. I figured out the silent install commands that I can run from the command prompt. But when I try to deploy it as an application in SCCM I see the error Execution failed with exit code [-2147213312].

I tried it in PSADT with the command below and i get the same error.

Execute-Process -Path Concordance10_Install.exe -Parameters $dirSupportFiles\concordance_10.iss

The application actually installs I see the icon on the desktop, then goes away after it fails.

I’ve been trying to understand custom exit codes in PSADT. Can PSADT handle this error and report it as a success?

Below is my Deploy-Application.log
<![LOG[[Initialization] :: *******************************************************************************]LOG]!><time=“11:28:27.662-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: *******************************************************************************]LOG]!><time=“11:28:27.662-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: [Concordance10-InstallName] setup started.]LOG]!><time=“11:28:27.662-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: Script [C:\Users\User\Documents\Deployments\Concordance\AppDeployToolkit\AppDeployToolkitMain.ps1] dot-source invoked by [C:\Users\User\Documents\Deployments\Concordance\Deploy-Application.ps1]]LOG]!><time=“11:28:27.677-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: Script [C:\Users\User\Documents\Deployments\Concordance\AppDeployToolkit\AppDeployToolkitExtensions.ps1] dot-source invoked by [C:\Users\User\Documents\Deployments\Concordance\AppDeployToolkit\AppDeployToolkitMain.ps1]]LOG]!><time=“11:28:27.693-300” date=“02-09-2018” component=“PSAppDeployToolkitExt” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitExtensions.ps1”>
<![LOG[[Initialization] :: [Concordance10-InstallName] script version is [1.0.0]]LOG]!><time=“11:28:27.709-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: [Deploy Application] script version is [3.7.0]]LOG]!><time=“11:28:27.709-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: [App Deploy Toolkit Main] script version is [3.7.0]]LOG]!><time=“11:28:27.709-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: [App Deploy Toolkit Extensions] version is [1.5.0]]LOG]!><time=“11:28:27.724-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: Computer Name is [s01-tweb-1.kbs-test.com]]LOG]!><time=“11:28:27.724-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: Current User is [User\User]]LOG]!><time=“11:28:27.724-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: OS Version is [Microsoft Windows Server 2012 R2 Standard 64-bit 6.3.9600.18895]]LOG]!><time=“11:28:27.740-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: OS Type is [Server]]LOG]!><time=“11:28:27.740-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: Current Culture is [en-US] and UI language is [EN]]LOG]!><time=“11:28:27.756-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: Hardware Platform is [Virtual:VMWare]]LOG]!><time=“11:28:27.787-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: PowerShell Host is [Windows PowerShell ISE Host] with version [4.0]]LOG]!><time=“11:28:27.787-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: PowerShell Version is [4.0 x64]]LOG]!><time=“11:28:27.802-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: PowerShell CLR (.NET) version is [4.0.30319.42000]]LOG]!><time=“11:28:27.802-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: *******************************************************************************]LOG]!><time=“11:28:27.802-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: Display session information for all logged on users:

NTAccount : User\User
UserName : User
DomainName : Domain
SessionId : 4
SessionName : RDP-Tcp#18
ConnectState : Active
IsCurrentSession : True
IsConsoleSession : False
IsActiveUserSession : True
IsUserSession : True
IsRdpSession : True
IsLocalAdmin : True
LogonTime : 2/2/2018 3:27:27 PM
IdleTime : 00:00:00.0468846
DisconnectTime : 2/9/2018 10:39:22 AM
ClientName : User
ClientProtocolType : RDP
ClientDirectory : C:\WINDOWS\system32\mstscax.dll
ClientBuildNumber : 15063

]LOG]!><time=“11:28:27.865-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: The following users are logged on to the system: [User\User].]LOG]!><time=“11:28:27.881-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: Current process is running with user account [User\User] under logged in user session for [User\User].]LOG]!><time=“11:28:27.881-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: There is no console user logged in (user with control of physical monitor, keyboard, and mouse).]LOG]!><time=“11:28:27.881-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: The active logged on user is [User\User].]LOG]!><time=“11:28:27.896-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: The active logged on user [User\User] has a primary UI language of [EN].]LOG]!><time=“11:28:27.896-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: The following UI messages were imported from the config XML file: [UI_Messages_EN].]LOG]!><time=“11:28:27.912-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: The active logged on user [User\User] has a DPI scale factor of [100] with DPI pixels [96].]LOG]!><time=“11:28:27.912-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: Unable to load COM Object [Microsoft.SMS.TSEnvironment]. Therefore, script is not currently running from a SCCM Task Sequence.]LOG]!><time=“11:28:27.912-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: Skipping attempt to check for and make the task scheduler services healthy because the App Deployment Toolkit is not running under the [NT AUTHORITY\SYSTEM] account.]LOG]!><time=“11:28:27.927-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: Session 0 not detected.]LOG]!><time=“11:28:27.927-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: Installation is running in [Interactive] mode.]LOG]!><time=“11:28:27.927-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Initialization] :: Deployment type is [Installation].]LOG]!><time=“11:28:27.959-300” date=“02-09-2018” component=“PSAppDeployToolkit” context=“User\User” type=“1” thread=“1092” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Pre-Installation] :: Evaluate disk space requirements.]LOG]!><time=“11:28:29.568-300” date=“02-09-2018” component=“Show-InstallationWelcome” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: Retrieve free disk space for drive [C:].]LOG]!><time=“11:28:29.568-300” date=“02-09-2018” component=“Get-FreeDiskSpace” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: Free disk space for drive [C:]: [34986 MB].]LOG]!><time=“11:28:29.584-300” date=“02-09-2018” component=“Get-FreeDiskSpace” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: Successfully passed minimum disk space requirement check.]LOG]!><time=“11:28:29.584-300” date=“02-09-2018” component=“Show-InstallationWelcome” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: Get deferral history…]LOG]!><time=“11:28:29.599-300” date=“02-09-2018” component=“Get-DeferHistory” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: Return fully qualified registry key path [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\PSAppDeployToolkit\DeferHistory\Concordance10-InstallName].]LOG]!><time=“11:28:29.599-300” date=“02-09-2018” component=“Convert-RegistryPath” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: Registry key [Registry::HKEY_LOCAL_MACHINE\SOFTWARE\PSAppDeployToolkit\DeferHistory\Concordance10-InstallName] does not exist. Return $null.]LOG]!><time=“11:28:29.615-300” date=“02-09-2018” component=“Get-RegistryKey” context=“User\User” type=“2” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: User has [2] deferrals remaining.]LOG]!><time=“11:28:29.631-300” date=“02-09-2018” component=“Show-InstallationWelcome” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: Check for running application(s) [iexplore]…]LOG]!><time=“11:28:29.646-300” date=“02-09-2018” component=“Get-RunningProcesses” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: Application(s) are not running.]LOG]!><time=“11:28:29.646-300” date=“02-09-2018” component=“Get-RunningProcesses” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: User has the option to defer.]LOG]!><time=“11:28:29.677-300” date=“02-09-2018” component=“Show-WelcomePrompt” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: User selected to continue…]LOG]!><time=“11:28:30.959-300” date=“02-09-2018” component=“Show-InstallationWelcome” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: Check if PowerPoint is in either fullscreen slideshow mode or presentation mode…]LOG]!><time=“11:28:32.974-300” date=“02-09-2018” component=“Test-PowerPoint” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: PowerPoint application is not running.]LOG]!><time=“11:28:32.990-300” date=“02-09-2018” component=“Test-PowerPoint” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: PowerPoint is running in fullscreen mode [False].]LOG]!><time=“11:28:32.990-300” date=“02-09-2018” component=“Test-PowerPoint” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: Display balloon tip notification with message [Installation started.].]LOG]!><time=“11:28:32.990-300” date=“02-09-2018” component=“Show-BalloonTip” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Pre-Installation] :: Spin up progress dialog in a separate thread with message: [Installation in progress. Please wait…].]LOG]!><time=“11:28:33.084-300” date=“02-09-2018” component=“Show-InstallationProgress” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: [Concordance10_Install.exe] successfully resolved to fully qualified path [C:\Users\User\Documents\Deployments\Concordance\Files\Concordance10_Install.exe].]LOG]!><time=“11:28:34.111-300” date=“02-09-2018” component=“Execute-Process” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: Working Directory is [C:\Users\User\Documents\Deployments\Concordance\Files].]LOG]!><time=“11:28:34.120-300” date=“02-09-2018” component=“Execute-Process” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: Executing [C:\Users\User\Documents\Deployments\Concordance\Files\Concordance10_Install.exe -s -f1"C:\Users\User\Documents\Deployments\Concordance\SupportFiles\concordance_10.iss"]…]LOG]!><time=“11:28:34.125-300” date=“02-09-2018” component=“Execute-Process” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: Execution failed with exit code [-2147213312].]LOG]!><time=“11:33:17.056-300” date=“02-09-2018” component=“Execute-Process” context=“User\User” type=“3” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: Close the installation progress dialog.]LOG]!><time=“11:33:17.063-300” date=“02-09-2018” component=“Close-InstallationProgress” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: Concordance10-InstallName Installation completed with exit code
[-2147213312].]LOG]!><time=“11:33:17.070-300” date=“02-09-2018” component=“Exit-Script” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: Check if PowerPoint is in either fullscreen slideshow mode or presentation mode…]LOG]!><time=“11:33:17.086-300” date=“02-09-2018” component=“Test-PowerPoint” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: PowerPoint application is not running.]LOG]!><time=“11:33:17.086-300” date=“02-09-2018” component=“Test-PowerPoint” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: PowerPoint is running in fullscreen mode [False].]LOG]!><time=“11:33:17.101-300” date=“02-09-2018” component=“Test-PowerPoint” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: Display balloon tip notification asynchronously with message [Installation failed.].]LOG]!><time=“11:33:17.101-300” date=“02-09-2018” component=“Show-BalloonTip” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: [C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe] is a valid fully qualified path, continue.]LOG]!><time=“11:33:17.117-300” date=“02-09-2018” component=“Execute-Process” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: Working Directory is [C:\Windows\System32\WindowsPowerShell\v1.0].]LOG]!><time=“11:33:17.133-300” date=“02-09-2018” component=“Execute-Process” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: Executing [C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe [PowerShell ScriptBlock]]…]LOG]!><time=“11:33:17.133-300” date=“02-09-2018” component=“Execute-Process” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: NoWait parameter specified. Continuing without waiting for exit code…]LOG]!><time=“11:33:17.133-300” date=“02-09-2018” component=“Execute-Process” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>
<![LOG[[Installation] :: -------------------------------------------------------------------------------]LOG]!><time=“11:33:17.148-300” date=“02-09-2018” component=“Exit-Script” context=“User\User” type=“1” thread=“1092” file=“Deploy-Application.ps1”>

Have you tried adding the /s /f1 and /f2 switches like this? Setup.exe /s /f1"C:\Temp\Setup.iss" /f2"C:\Setup.log"

You’ll obviously need to update the paths to the .iss and .log files. But the log may be helpful tracking down the issue. More info can be found here, http://helpnet.installshield.com/installshield22helplib/installshield22helplib.htm#CSHID=helplibrary%2FCreatetheResponseFile.htm|StartTopic=helplibrary%2FCreatetheResponseFile.htm.

I too am getting. Execution failed with exit code [-2147213312]. When I deploy AutoCAD 2021 to a machine…

Still troubleshooting

Somehow I have a hard time believing AutoCad comes with an InstallScript installer(.iss) instead of an MSI.

And PSADT doesn’t generate negative exitcodes.

Try the following:

-Open windows calculator in programmer mode in Decimal mode
-Paste in your negative exitcode (E.g. -2147213312)
-Change to hexadecimal mode
-Search using that hexadecimal number (0x#######)