Tay Posted July 17, 2012 Report post Posted July 17, 2012 Okay dealing with SCCM has been one of the most frustrating things I have encountered in my 12 years in IT. I probably would have uninstalled SCCM 2012 a long time ago if it wasn't for these guides. Can someone please help or list the steps to uninstalling an application? Seriously its a f**king uninstall! It will fail every time with a different error code. Here are just a few errors and I have tried like 50 different configs with no luck and tons of googling. _____________________________________________________________________________________________________________________________ +++ Starting Uninstall enforcement for App DT "test2" ApplicationDeliveryType - ScopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_68803b30-63ae-4704-9988-9b55dfbb40e9, Revision - 1, ContentPath - C:\Windows\ccmcache\19, Execution Context - System AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) A user is logged on to the system. AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) Performing detection of app deployment type test2(ScopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_68803b30-63ae-4704-9988-9b55dfbb40e9, revision 1) for system. AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) +++ Discovered application [AppDT Id: ScopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_68803b30-63ae-4704-9988-9b55dfbb40e9, Revision: 1] AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) App enforcement environment: Context: Machine Command line: msiexec /x "CiscoUnifiedPersonalCommunicatorK9.msi" Allow user interaction: No UI mode: 1 User token: null Session Id: 4294967295 Content path: C:\Windows\ccmcache\19 Working directory: AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) Prepared working directory: C:\Windows\ccmcache\19 AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) Found executable file msiexec with complete path C:\Windows\system32\msiexec.exe AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) Prepared command line: "C:\Windows\system32\msiexec.exe" /x "CiscoUnifiedPersonalCommunicatorK9.msi" /qn AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) Executing Command line: "C:\Windows\system32\msiexec.exe" /x "CiscoUnifiedPersonalCommunicatorK9.msi" /qn with system context AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) Working directory C:\Windows\ccmcache\19 AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) Post install behavior is BasedOnExitCode AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) Waiting for process 3512 to finish. Timeout = 120 minutes. AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) Process 3512 terminated with exitcode: 1605 AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) Looking for exit code 1605 in exit codes table... AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) Unmatched exit code (1605) is considered an execution failure. AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) ++++++ App enforcement completed (0 seconds) for App DT "test2" [scopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_68803b30-63ae-4704-9988-9b55dfbb40e9], Revision: 1, User SID: ] ++++++ AppEnforce 7/17/2012 9:25:13 AM 1728 (0x06C0) _______________________________________________________________________________________________________________________________________ +++ Starting Uninstall enforcement for App DT "asdfasdfasdf" ApplicationDeliveryType - ScopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_d72e2624-e2c2-4476-b9a8-9d7e67b7820f, Revision - 2, ContentPath - C:\Windows\ccmcache\17, Execution Context - System AppEnforce 7/17/2012 9:00:10 AM 4220 (0x107C) A user is logged on to the system. AppEnforce 7/17/2012 9:00:10 AM 4220 (0x107C) Performing detection of app deployment type asdfasdfasdf(ScopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_d72e2624-e2c2-4476-b9a8-9d7e67b7820f, revision 2) for system. AppEnforce 7/17/2012 9:00:10 AM 4220 (0x107C) +++ Discovered application [AppDT Id: ScopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_d72e2624-e2c2-4476-b9a8-9d7e67b7820f, Revision: 2] AppEnforce 7/17/2012 9:00:10 AM 4220 (0x107C) App enforcement environment: Context: Machine Command line: "CiscoUnifiedPersonalCommunicatorK9.exe" /x /s /v/qn Allow user interaction: No UI mode: 1 User token: null Session Id: 9 Content path: C:\Windows\ccmcache\17 Working directory: AppEnforce 7/17/2012 9:00:10 AM 4220 (0x107C) Prepared working directory: C:\Windows\ccmcache\17 AppEnforce 7/17/2012 9:00:10 AM 4220 (0x107C) Prepared command line: "C:\Windows\ccmcache\17\CiscoUnifiedPersonalCommunicatorK9.exe" /x /s /v/qn AppEnforce 7/17/2012 9:00:10 AM 4220 (0x107C) Executing Command line: "C:\Windows\ccmcache\17\CiscoUnifiedPersonalCommunicatorK9.exe" /x /s /v/qn with user context AppEnforce 7/17/2012 9:00:10 AM 4220 (0x107C) Working directory C:\Windows\ccmcache\17 AppEnforce 7/17/2012 9:00:10 AM 4220 (0x107C) Post install behavior is BasedOnExitCode AppEnforce 7/17/2012 9:00:10 AM 4220 (0x107C) Waiting for process 4844 to finish. Timeout = 120 minutes. AppEnforce 7/17/2012 9:00:10 AM 4220 (0x107C) Process 4844 terminated with exitcode: 1619 AppEnforce 7/17/2012 9:00:15 AM 4220 (0x107C) Looking for exit code 1619 in exit codes table... AppEnforce 7/17/2012 9:00:15 AM 4220 (0x107C) Unmatched exit code (1619) is considered an execution failure. AppEnforce 7/17/2012 9:00:15 AM 4220 (0x107C) ++++++ App enforcement completed (4 seconds) for App DT "asdfasdfasdf" [scopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_d72e2624-e2c2-4476-b9a8-9d7e67b7820f], Revision: 2, User SID: ] ++++++ AppEnforce 7/17/2012 9:00:15 AM 4220 (0x107C) __________________________________________________________________________________________________________________________________ +++ Starting Uninstall enforcement for App DT "Cisco Unified Personal Communicator - Windows Installer (Native)" ApplicationDeliveryType - ScopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_c02fc736-e64a-4991-a1ac-e7c2e38af18b, Revision - 3, ContentPath - C:\Windows\ccmcache\16, Execution Context - System AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) A user is logged on to the system. AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) Performing detection of app deployment type Cisco Unified Personal Communicator - Windows Installer (Native)(ScopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_c02fc736-e64a-4991-a1ac-e7c2e38af18b, revision 3) for system. AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) +++ Discovered application [AppDT Id: ScopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_c02fc736-e64a-4991-a1ac-e7c2e38af18b, Revision: 3] AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) App enforcement environment: Context: Machine Command line: msiexec /x "CiscoUnifiedPersonalCommunicatorK9.exe" /q Allow user interaction: No UI mode: 0 User token: null Session Id: 4294967295 Content path: C:\Windows\ccmcache\16 Working directory: AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) Prepared working directory: C:\Windows\ccmcache\16 AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) Found executable file msiexec with complete path C:\Windows\system32\msiexec.exe AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) Prepared command line: "C:\Windows\system32\msiexec.exe" /x "CiscoUnifiedPersonalCommunicatorK9.exe" /q /qn AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) Executing Command line: "C:\Windows\system32\msiexec.exe" /x "CiscoUnifiedPersonalCommunicatorK9.exe" /q /qn with system context AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) Working directory C:\Windows\ccmcache\16 AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) Post install behavior is BasedOnExitCode AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) Waiting for process 2652 to finish. Timeout = 120 minutes. AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) Process 2652 terminated with exitcode: 1620 AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) Looking for exit code 1620 in exit codes table... AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) Unmatched exit code (1620) is considered an execution failure. AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) ++++++ App enforcement completed (0 seconds) for App DT "Cisco Unified Personal Communicator - Windows Installer (Native)" [scopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_c02fc736-e64a-4991-a1ac-e7c2e38af18b], Revision: 3, User SID: ] ++++++ AppEnforce 7/17/2012 8:58:34 AM 4628 (0x1214) ______________________________________________________________________________________________________________________________________ +++ Starting Uninstall enforcement for App DT "Cisco Unified Personal Communicator - Windows Installer (Native)" ApplicationDeliveryType - ScopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_f0f41ad0-af9a-4dc0-9355-232c2652cb74, Revision - 5, ContentPath - C:\Windows\ccmcache\13, Execution Context - System AppEnforce 7/16/2012 4:31:24 PM 1772 (0x06EC) A user is logged on to the system. AppEnforce 7/16/2012 4:31:24 PM 1772 (0x06EC) Performing detection of app deployment type Cisco Unified Personal Communicator - Windows Installer (Native)(ScopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_f0f41ad0-af9a-4dc0-9355-232c2652cb74, revision 5) for system. AppEnforce 7/16/2012 4:31:24 PM 1772 (0x06EC) +++ Discovered application [AppDT Id: ScopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_f0f41ad0-af9a-4dc0-9355-232c2652cb74, Revision: 5] AppEnforce 7/16/2012 4:31:24 PM 1772 (0x06EC) App enforcement environment: Context: Machine Command line: CiscoUnifiedPersonalCommunicatorK9.exe /x /s /v /qn Allow user interaction: No UI mode: 0 User token: null Session Id: 8 Content path: C:\Windows\ccmcache\13 Working directory: AppEnforce 7/16/2012 4:31:24 PM 1772 (0x06EC) Prepared working directory: C:\Windows\ccmcache\13 AppEnforce 7/16/2012 4:31:24 PM 1772 (0x06EC) Prepared command line: "C:\Windows\ccmcache\13\CiscoUnifiedPersonalCommunicatorK9.exe" /x /s /v /qn AppEnforce 7/16/2012 4:31:24 PM 1772 (0x06EC) Executing Command line: "C:\Windows\ccmcache\13\CiscoUnifiedPersonalCommunicatorK9.exe" /x /s /v /qn with user context AppEnforce 7/16/2012 4:31:24 PM 1772 (0x06EC) Working directory C:\Windows\ccmcache\13 AppEnforce 7/16/2012 4:31:24 PM 1772 (0x06EC) Post install behavior is BasedOnExitCode AppEnforce 7/16/2012 4:31:24 PM 1772 (0x06EC) Waiting for process 3320 to finish. Timeout = 120 minutes. AppEnforce 7/16/2012 4:31:24 PM 1772 (0x06EC) Process 3320 terminated with exitcode: 1602 AppEnforce 7/16/2012 4:31:30 PM 1772 (0x06EC) Looking for exit code 1602 in exit codes table... AppEnforce 7/16/2012 4:31:30 PM 1772 (0x06EC) Unmatched exit code (1602) is considered an execution failure. AppEnforce 7/16/2012 4:31:30 PM 1772 (0x06EC) ++++++ App enforcement completed (6 seconds) for App DT "Cisco Unified Personal Communicator - Windows Installer (Native)" [scopeId_1E573074-333A-4E44-BD29-949CE270EDA0/DeploymentType_f0f41ad0-af9a-4dc0-9355-232c2652cb74], Revision: 5, User SID: ] ++++++ AppEnforce 7/16/2012 4:31:30 PM 1772 (0x06EC) Quote Share this post Link to post Share on other sites More sharing options...
Tay Posted July 17, 2012 Report post Posted July 17, 2012 Oh yeah this is on a 64bit Win7 and XP uninstalls just fine. Quote Share this post Link to post Share on other sites More sharing options...
Tay Posted July 17, 2012 Report post Posted July 17, 2012 OMG even created a small script that uninstalls fine but soon as it is plugged into sccm it fails. Go Microsoft! Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted July 17, 2012 Report post Posted July 17, 2012 These are all installer errors and not SCCM -errors.... and lot's of command -lines that you try are mixed-up between exe's and msi's.... Start with working with a commandline that works out-side of SCCM and then start with using that in SCCM. Quote Share this post Link to post Share on other sites More sharing options...
Tay Posted July 17, 2012 Report post Posted July 17, 2012 Thats the problem all of them work outside of SCCM. There are more errors cause I have tried just about everything with exe and msi. Just frustrated that a simple task can be so complicated. Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted July 17, 2012 Report post Posted July 17, 2012 Then kick one of the working commandlines and specifiy a logfile to see where it goes wrong. Quote Share this post Link to post Share on other sites More sharing options...
Tay Posted July 18, 2012 Report post Posted July 18, 2012 Finally got it working by reinstalling the app using the MSI so the GUID matched up and then the uninstall worked. What a pain in the ass. Quote Share this post Link to post Share on other sites More sharing options...