Hi,
I am currently creating an application to uninstall a program called Philips iSite Enterprise 3.6.114.1. I am having a difficult time understand why it will not work.
Command I am using: MsiExec.exe /X{3a3a86d2-041e-4c2a-a6fd-61e7d38ce4a7} /qn
When scheduled through SCCM I am getting the following information in the AppEnforce log.
+++ Starting Uninstall enforcement for App DT "iSite Enterprise" ApplicationDeliveryType - ScopeId_1197784C-0394-4848-A90A-D754E44BFCD6/DeploymentType_0d4a8f75-8130-4ab7-805f-c2f367f03045, Revision - 15, ContentPath - C:\Windows\ccmcache\8b,
Execution Context - System AppEnforce 7/27/2015 9:13:11 AM 5228 (0x146C)
A user is logged on to the system. AppEnforce 7/27/2015 9:13:11 AM 5228 (0x146C)
Performing detection of app deployment type iSite Enterprise(ScopeId_1197784C-0394-4848-A90A-D754E44BFCD6/DeploymentType_0d4a8f75-8130-4ab7-805f-c2f367f03045, revision 15) for system. AppEnforce 7/27/2015 9:13:11 AM 5228 (0x146C)
+++ Discovered application [AppDT Id: ScopeId_1197784C-0394-4848-A90A-D754E44BFCD6/DeploymentType_0d4a8f75-8130-4ab7-805f-c2f367f03045, Revision: 15] AppEnforce 7/27/2015 9:13:11 AM 5228 (0x146C)
App enforcement environment:
Context: Machine
Command line: MsiExec.exe /X{3a3a86d2-041e-4c2a-a6fd-61e7d38ce4a7}
Allow user interaction: No
UI mode: 0
User token: null
Session Id: 4294967295
Content path: C:\Windows\ccmcache\8b
Working directory: AppEnforce 7/27/2015 9:13:11 AM 5228 (0x146C)
Prepared working directory: C:\Windows\ccmcache\8b AppEnforce 7/27/2015 9:13:11 AM 5228 (0x146C)
Found executable file MsiExec.exe with complete path C:\windows\system32\MsiExec.exe AppEnforce 7/27/2015 9:13:11 AM 5228 (0x146C)
Prepared command line: "C:\windows\system32\msiexec.exe" /X{3a3a86d2-041e-4c2a-a6fd-61e7d38ce4a7} /qn AppEnforce 7/27/2015 9:13:11 AM 5228 (0x146C)
Executing Command line: "C:\windows\system32\msiexec.exe" /X{3a3a86d2-041e-4c2a-a6fd-61e7d38ce4a7} /qn with system context AppEnforce 7/27/2015 9:13:11 AM 5228 (0x146C)
Working directory C:\Windows\ccmcache\8b AppEnforce 7/27/2015 9:13:11 AM 5228 (0x146C)
Post install behavior is BasedOnExitCode AppEnforce 7/27/2015 9:13:11 AM 5228 (0x146C)
Waiting for process 5700 to finish. Timeout = 120 minutes. AppEnforce 7/27/2015 9:13:11 AM 5228 (0x146C)
Process 5700 terminated with exitcode: 1603 AppEnforce 7/27/2015 9:13:17 AM 5228 (0x146C)
Looking for exit code 1603 in exit codes table... AppEnforce 7/27/2015 9:13:17 AM 5228 (0x146C)
Unmatched exit code (1603) is considered an execution failure. AppEnforce 7/27/2015 9:13:17 AM 5228 (0x146C)
++++++ App enforcement completed (5 seconds) for App DT "iSite Enterprise" [ScopeId_1197784C-0394-4848-A90A-D754E44BFCD6/DeploymentType_0d4a8f75-8130-4ab7-805f-c2f367f03045], Revision: 15, User SID: ] ++++++ AppEnforce 7/27/2015
9:13:17 AM 5228 (0x146C)
As you can see I am getting exit code 1603. When I look at the iSiteEnterprise log it is stating that I am not running the .msi silently...which I am with the /qn switch. The thing I don't understand is if I open Software Center on the endpoint that I am pushing to and hit the "RETRY" button the uninstall works perfectly fine. Also, if I run the command locally through command prompt it also works perfectly fine. The content downloads fine to the ccmcache so I don't think that is the issue.
I tried this command too: wmic product where name="iSiteEnterprise 3.6.114.1" call uninstall
I get the same scenario as post above. If you need more information please let me know.
Thanks,
Kevin