I have created an application to run the Adobe reader Cleanup tool, and have set it as a dependency for the Adobe Reader install application. when I run the Reader install application the Cleanup tool does not run. The AppEnforce.log file shows the following information:
+++ Starting Install enforcement for App DT "Adobe Reader uninstaller for Virtualized Apps" ApplicationDeliveryType - ScopeId_B4003F77-CAD1-44A1-B035-0EEBD86CA67F/DeploymentType_bd1d9e99-31c5-4703-8694-f68af835908d, Revision - 6, ContentPath - , Execution Context - System AppEnforce 4/24/2013 9:47:17 AM 11064 (0x2B38) The content path is not specified for DeploymentType ScopeId_B4003F77-CAD1-44A1-B035-0EEBD86CA67F/DeploymentType_bd1d9e99-31c5-4703-8694-f68af835908d. Content is assumed to be locally available. AppEnforce 4/24/2013 9:47:17 AM 11064 (0x2B38) A user is logged on to the system. AppEnforce 4/24/2013 9:47:17 AM 11064 (0x2B38)+++ Application not discovered with script detection. [AppDT Id: ScopeId_B4003F77-CAD1-44A1-B035-0EEBD86CA67F/DeploymentType_bd1d9e99-31c5-4703-8694-f68af835908d, Revision: 6] AppEnforce 4/24/2013 9:47:29 AM 11064 (0x2B38) Performing detection of app deployment type Adobe Reader uninstaller for Virtualized Apps(ScopeId_B4003F77-CAD1-44A1-B035-0EEBD86CA67F/DeploymentType_bd1d9e99-31c5-4703-8694-f68af835908d, revision 6) for system. AppEnforce 4/24/2013 9:47:17 AM 11064 (0x2B38) App enforcement environment: Context: Machine Command line: "AdbeArCleaner.exe" /Silent /product=1 Allow user interaction: No UI mode: 1 User token: null Session Id: 4294967295 Content path: Working directory: AppEnforce 4/24/2013 9:47:29 AM 11064 (0x2B38) Prepared working directory: C:\Windows\system32 AppEnforce 4/24/2013 9:47:29 AM 11064 (0x2B38) Invalid executable file AdbeArCleaner.exe AppEnforce 4/24/2013 9:47:29 AM 11064 (0x2B38) ScriptHandler::EnforceApp failed (0x87d01106). AppEnforce 4/24/2013 9:47:29 AM 11064 (0x2B38) AppProvider::EnforceApp - Failed to invoke EnforceApp on Application handler(0x87d01106). AppEnforce 4/24/2013 9:47:29 AM 11064 (0x2B38) CommenceEnforcement failed with error 0x87d01106. AppEnforce 4/24/2013 9:47:29 AM 11064 (0x2B38) Method CommenceEnforcement failed with error code 87D01106 AppEnforce 4/24/2013 9:47:29 AM 11064 (0x2B38)++++++ Failed to enforce app. Error 0x87d01106. ++++++ AppEnforce 4/24/2013 9:47:29 AM 11064 (0x2B38) Method EnforceApp failed with error 87D01106 AppDiscovery 4/24/2013 9:47:29 AM 11064 (0x2B38) CAppProvider::ExecMethodAsync failed. Error 87d01106 AppDiscovery 4/24/2013 9:47:29 AM 11064 (0x2B38)
From what I can tell, it appears that a file can not be found. The Deployment Status states "Failed to verify the executable file is valid or to construct the associated command line". I have run the "AdbeArcleaner.exe /Silent /product:1" command on a test computer using the System account and it works fine.
Does anyone know if there should be something placed in the Content path, or what might be causing this error?