getting error 0x87d01106 when trying to install a .msp
I have a .msp i'm trying to push out and keep getting this error. I'm pretty sure it has to do with the detection method. I've installed ORCA and have tried using the patch code and target as the detection mode. But neither seem to be working. Any help would be great. I've been trying to figure this out for a few days now.
+++ Starting Install enforcement for App DT "ArcGIS EDL Patch" ApplicationDeliveryType - ScopeId_5178CA25-0D08-480A-B541-CF2617B57C5E/DeploymentType_b005bfdd-6e81-432d-8aab-724085924d0e, Revision - 2, ContentPath - C:\Windows\ccmcache\dz, Execution Context - System AppEnforce 11/26/2019 9:34:34 AM 99748 (0x185A4)
Performing detection of app deployment type ArcGIS EDL Patch(ScopeId_5178CA25-0D08-480A-B541-CF2617B57C5E/DeploymentType_b005bfdd-6e81-432d-8aab-724085924d0e, revision 2) for system. AppEnforce 11/26/2019 9:34:34 AM 99748 (0x185A4)
+++ Application not discovered. [AppDT Id: ScopeId_5178CA25-0D08-480A-B541-CF2617B57C5E/DeploymentType_b005bfdd-6e81-432d-8aab-724085924d0e, Revision: 2] AppEnforce 11/26/2019 9:34:34 AM 99748 (0x185A4)
App enforcement environment:
Context: Machine
Command line: "msiexec /p ArcGIS-1061-DT-EDL-Patch.msp"
Allow user interaction: No
UI mode: 1
User token: null
Session Id: 4294967295
Content path: C:\Windows\ccmcache\dz
Working directory: AppEnforce 11/26/2019 9:34:34 AM 99748 (0x185A4)
Prepared working directory: C:\Windows\ccmcache\dz AppEnforce 11/26/2019 9:34:34 AM 99748 (0x185A4)
Invalid data file "msiexec /p ArcGIS-1061-DT-EDL-Patch.msp" to execute using file association AppEnforce 11/26/2019 9:34:34 AM 99748 (0x185A4)
PrepareCommandline failed with 0x87d01106 for cmdline "msiexec /p ArcGIS-1061-DT-EDL-Patch.msp" AppEnforce 11/26/2019 9:34:34 AM 99748 (0x185A4)
ScriptHandler::EnforceApp failed (0x87d01106). AppEnforce 11/26/2019 9:34:34 AM 99748 (0x185A4)
AppProvider::EnforceApp - Failed to invoke EnforceApp on Application handler(0x87d01106). AppEnforce 11/26/2019 9:34:34 AM 99748 (0x185A4)
CommenceEnforcement failed with error 0x87d01106. AppEnforce 11/26/2019 9:34:34 AM 99748 (0x185A4)
Method CommenceEnforcement failed with error code 87D01106 AppEnforce 11/26/2019 9:34:34 AM 99748 (0x185A4)
++++++ Failed to enforce app. Error 0x87d01106. ++++++ AppEnforce 11/26/2019 9:34:34 AM 99748 (0x185A4)
Posted Nov 26, 2019, 2:39 PM UTC
12
What install command-line exactly are you using in the deployment type?
What happens when you run this command manually?
For patches, you generally need to specify the fully-qualified name and path and not just the MSP file name. The easiest way to do this is to wrap your command-line in a batch file and use the %~dp0 batch file parameter: msiexec /p "%~dp0ArcGIS-1061-DT-EDL-Patch.msp". I'm not sure if that's the issue here or not though.