I have a Windows Installer .exe that calls a setup.iss file that, despite all my efforts and permutations of how to deploy it, consistent reports an error code of 0x87D00324(-2016410844). Yes I've googled it, and yes, consistently the replies are that it's a detection method problem. I have done the following:
1. Change detection method to Registry/File and Folder detection - there is not a problem with the detection method, because if I install the app manually, then re-deploy the app via SCCM, the app shows as 'Installed' if I try to install it from the software centre.
2. I've tried packaging the installer in a .bat file - this generated error code of 1, which I added to the Exit Codes table as a success, it then passed this error code but generated 0x87D00324(-2016410844) again.
3. I've re-created the app from scratch (i.e. ruling out that the content is bad/currupted) and have also tried manually running my install command from the CCM Cache folder containing all the install files - no problems there, it installs without issue when ran manually.
4. I've tried installing for User and for System - same error code as above.
The syntax of the install switch is not a problem, for anyone else looking at this its the Netsuite ODBC 64bit driver. I've logged it with the vendor for suggestions, but the AppEnforce.log is below to give you a flavour of the error. Also fyi, when I click install, I don't see any program files being created anywhere, but the error code is returned everytime - so I'm not sure if I should expect to see folders being partially created and then removed or not? I assumed that the install happens silently (and so quickly) that the process can determine if it will be a success or not before displaying any files in the OS.
Any help debugging the install or general SCCM deployment tips/workaround for awkward windows installshield apps would be appreciated, I'm idea-exhausted! The installer creates a system DSN (i.e. this isn't a context issue because presumably it installs as the System context?).
Install switch:
ODBC.exe /F1".\Setup.iss" /S
<![LOG[ Prepared working directory: C:\WINDOWS\ccmcache\2i]LOG]!><time="16:38:17.831-60" date="07-11-2018" component="AppEnforce" context="" type="1" thread="21896" file="appcontext.cpp:189">
<![LOG[ Prepared command line: "C:\WINDOWS\ccmcache\2i\install.bat"]LOG]!><time="16:38:17.832-60" date="07-11-2018" component="AppEnforce" context="" type="1" thread="21896"
file="appcontext.cpp:338">
<![LOG[ Executing Command line: "C:\WINDOWS\ccmcache\2i\install.bat" with user context]LOG]!><time="16:38:17.833-60" date="07-11-2018" component="AppEnforce" context="" type="1"
thread="21896" file="appexcnlib.cpp:203">
<![LOG[ Working directory C:\WINDOWS\ccmcache\2i]LOG]!><time="16:38:17.833-60" date="07-11-2018" component="AppEnforce" context="" type="1" thread="21896" file="appexcnlib.cpp:217">
<![LOG[ Post install behavior is BasedOnExitCode]LOG]!><time="16:38:17.840-60" date="07-11-2018" component="AppEnforce" context="" type="1" thread="21896" file="appcommon.cpp:1053">
<![LOG[ Waiting for process 20328 to finish. Timeout = 120 minutes.]LOG]!><time="16:38:17.842-60" date="07-11-2018" component="AppEnforce" context="" type="1" thread="21896"
file="appexcnlib.cpp:1997">
<![LOG[ Process 20328 terminated with exitcode: 1]LOG]!><time="16:38:17.878-60" date="07-11-2018" component="AppEnforce" context="" type="1" thread="21896" file="appexcnlib.cpp:2006">
<![LOG[ Looking for exit code 1 in exit codes table...]LOG]!><time="16:38:17.878-60" date="07-11-2018" component="AppEnforce" context="" type="1" thread="21896" file="appexcnlib.cpp:506">
<![LOG[ Matched exit code 1 to a Success entry in exit codes table.]LOG]!><time="16:38:17.879-60" date="07-11-2018" component="AppEnforce" context="" type="1" thread="21896" file="appexcnlib.cpp:585">
<![LOG[ Performing detection of app deployment type Solution 7 64bit ODBC Driver(ScopeId_F8F1046B-4FBD-4145-A885-02B8922DE222/DeploymentType_6425a6c5-6835-46f4-a89d-83aa64ddcb83, revision 26) for system.]LOG]!><time="16:38:17.885-60"
date="07-11-2018" component="AppEnforce" context="" type="1" thread="21896" file="appprovider.cpp:2148">
<![LOG[+++ Application not discovered. [AppDT Id: ScopeId_F8F1046B-4FBD-4145-A885-02B8922DE222/DeploymentType_6425a6c5-6835-46f4-a89d-83aa64ddcb83, Revision: 26]]LOG]!><time="16:38:17.900-60" date="07-11-2018" component="AppEnforce"
context="" type="1" thread="21896" file="localapphandler.cpp:291">
<![LOG[++++++ App enforcement completed (0 seconds) for App DT "Solution 7 64bit ODBC Driver" [ScopeId_F8F1046B-4FBD-4145-A885-02B8922DE222/DeploymentType_6425a6c5-6835-46f4-a89d-83aa64ddcb83], Revision: 26, User SID: ]++++++]LOG]!