We are currently trying to set up software deployments via Software Centre to client machines. The install of the application works well, however the uninstall is providing an error 8007010b.
Please see details below:
LOG:
+++ Starting Uninstall enforcement for App DT "Visual Studio Code" ApplicationDeliveryType - ScopeId_A2F1D63E-249A-49CB-911A-2E76D7C8E3E4/DeploymentType_facddd10-ea6e-4a70-8753-5b1bdc675be2, Revision - 17, ContentPath - C:\Windows\ccmcache\r,
Execution Context - System AppEnforce 30/09/2019 17:34:25 2420 (0x0974)
Performing detection of app deployment type Visual Studio Code(ScopeId_A2F1D63E-249A-49CB-911A-2E76D7C8E3E4/DeploymentType_facddd10-ea6e-4a70-8753-5b1bdc675be2, revision 17) for system. AppEnforce 30/09/2019
17:34:25 2420 (0x0974)
+++ Discovered application [AppDT Id: ScopeId_A2F1D63E-249A-49CB-911A-2E76D7C8E3E4/DeploymentType_facddd10-ea6e-4a70-8753-5b1bdc675be2, Revision: 17] AppEnforce 30/09/2019 17:34:25 2420 (0x0974)
App enforcement environment:
Context: Machine
Command line: unins000.exe /silent
Allow user interaction: No
UI mode: 1
User token: null
Session Id: 2
Content path: C:\Windows\ccmcache\r
Working directory: "%programfiles%\Microsoft VS Code" AppEnforce 30/09/2019 17:34:25 2420 (0x0974)
Prepared working directory: "C:\Program Files\Microsoft VS Code" AppEnforce 30/09/2019 17:34:25 2420 (0x0974)
Prepared command line: "C:\Program Files\Microsoft VS Code\unins000.exe" /silent AppEnforce 30/09/2019 17:34:25 2420 (0x0974)
Executing Command line: "C:\Program Files\Microsoft VS Code\unins000.exe" /silent with user context AppEnforce 30/09/2019 17:34:25 2420 (0x0974)
Working directory "C:\Program Files\Microsoft VS Code" AppEnforce 30/09/2019 17:34:25 2420 (0x0974)
ScriptHandler::EnforceApp failed (0x8007010b). AppEnforce 30/09/2019 17:34:25 2420 (0x0974)
AppProvider::EnforceApp - Failed to invoke EnforceApp on Application handler(0x8007010b). AppEnforce 30/09/2019 17:34:25 2420 (0x0974)
CommenceEnforcement failed with error 0x8007010b. AppEnforce 30/09/2019 17:34:25 2420 (0x0974)
Method CommenceEnforcement failed with error code 8007010B AppEnforce 30/09/2019 17:34:25 2420 (0x0974)
++++++ Failed to enforce app. Error 0x8007010b. ++++++ AppEnforce 30/09/2019 17:34:25 2420 (0x0974)
Local Directory:
All file are present and correct in the local directory of the client machine. All filepaths within the log itself are valid and work.
Deployment Type Details:
run: unins000.exe /silent
in: "%programfiles%\Microsoft VS Code"
I can see this bit works from the log file, and that the resulting path is valid.
Detection Methods (all paths use the %program files% variable for the exes)
check code.exe exists in the install dir ("%programfilez\Microsoft VS Code")
check unins000.exe exists in the install dir ("%programfilez\Microsoft VS Code")
Again, I know these work as the install itself works without errors and the detection method detects the application successfully.
Is there anyone who could offer me a little assistance - as I am about to throw my PC out of the window!!!!