Mahmoud87
Well-Known Member
- Messages
- 66
- Solutions
- 3
- Reaction score
- 7
- Points
- 8
Hi Guys
I am new in here, and used the forum tutorials to help me deploying some applications through SCCM which is pretty cool. The other day I was looking on the steps of deploying O365 Click To Run ver. using the setup.exe and the .xml files. I have a different issue today though.
We have previously deployed Office 2013 ProPlus via a package through sccm and used an install.cmd file to install this application and it worked perfectly fine.
That's what in the file.
Today, I am running into an issue of how to upgrade the office 2013 and install the O365 using "supersedence" or even using "dependencies", considering one is a package (Office 2013) and the other is an application (O365).
I came up with few solutions but unfortunately they all didn't give me the satisfying end results.
This method when I used it by itself and deploy the application to "Uninstall" or when I used the O365 application to supersede Office 2013 ProPlus deployment and marked it to "Uninstall", but what was more interesting it fails on SCCM logs but it actually uninstall the application fine from the computer, and off course says application failed on software centre.
The error code am getting "Error 0x87d00213" and here is the logs:
Appenforce.log:
AppDiscovery.log:
I am using Windows Installer in the detection method with Office 2013 Product ID {90150000-0011-0000-0000-0000000FF1CE} and the msi ver= 15.0.4569.1506
If you look at the time of performing the app discovery it was 10:07am which is past the app enforce uninstallation time which was 9:53 am. The got uninstalled then the app discovery runs and surely can't find it.
2. Used the Offscrub_O13.vbs and deployed it as a package, first tried the .vbs script on the machine and with ALL and /Quiet switch. It worked perfectly fine uninstalled Office 2013. I have used a .cmd file to call the .vbs script and also to create a dummy folder for the detection method to succeed .
the .cmd file:
Again it succeed to uninstall Office 2013 but fails in the logs with the same error, and software centre reports Past Due will be retired
AppEnforce.log:
Am I asking for the impossible
, I know I can run O365 deployment to the machines, then later remove the office 2013 and don't care about what the logs will say since I know for fact it uninstalls correct. I hope someone can help me out and let me know what I am doing wrong .
Thanks
I am new in here, and used the forum tutorials to help me deploying some applications through SCCM which is pretty cool. The other day I was looking on the steps of deploying O365 Click To Run ver. using the setup.exe and the .xml files. I have a different issue today though.
We have previously deployed Office 2013 ProPlus via a package through sccm and used an install.cmd file to install this application and it worked perfectly fine.
That's what in the file.
HTML:
if exist "C:\Program Files (x86)\Microsoft Office\Office15\WINWORD.EXE" GOTO :END
CALL offscrub\install.cmd
setup.exe /adminfile "updates\2k13Pro32bit.MSP"
:END
Today, I am running into an issue of how to upgrade the office 2013 and install the O365 using "supersedence" or even using "dependencies", considering one is a package (Office 2013) and the other is an application (O365).
I came up with few solutions but unfortunately they all didn't give me the satisfying end results.
- Deploying the Office 2013 ProPlus to "uninstall" by using setup.exe /unistall ProPlus /config SilentUninstallConfig.xml
PHP:
<Configuration Product="ProPlus">
<Display Level="none" CompletionNotice="yes" SuppressModal="yes" AcceptEula="yes" />
<Remove All ="True" />
</Configuration>
This method when I used it by itself and deploy the application to "Uninstall" or when I used the O365 application to supersede Office 2013 ProPlus deployment and marked it to "Uninstall", but what was more interesting it fails on SCCM logs but it actually uninstall the application fine from the computer, and off course says application failed on software centre.
The error code am getting "Error 0x87d00213" and here is the logs:
Appenforce.log:
PHP:
+++ Starting Uninstall enforcement for App DT "Microsoft Office Professional Plus 2013" ApplicationDeliveryType - ScopeId_2CF747AF-A58A-4B7A-8CE9-7A0755FBAB99/DeploymentType_c6004911-8109-4dc4-9b20-3d6b1129dcc2, Revision - 3, ContentPath - C:\Windows\ccmcache\4p, Execution Context - System AppEnforce 20/08/2017 8:53:08 AM 1356 (0x054C)
A user is logged on to the system. AppEnforce 20/08/2017 8:53:08 AM 1356 (0x054C)
Performing detection of app deployment type Microsoft Office Professional Plus 2013(ScopeId_2CF747AF-A58A-4B7A-8CE9-7A0755FBAB99/DeploymentType_c6004911-8109-4dc4-9b20-3d6b1129dcc2, revision 3) for system. AppEnforce 20/08/2017 8:53:08 AM 1356 (0x054C)
+++ Discovered application [AppDT Id: ScopeId_2CF747AF-A58A-4B7A-8CE9-7A0755FBAB99/DeploymentType_c6004911-8109-4dc4-9b20-3d6b1129dcc2, Revision: 3] AppEnforce 20/08/2017 8:53:08 AM 1356 (0x054C)
App enforcement environment:
Context: Machine
Command line: setup.exe /uninstall ProPlus /config SilentUninstallConfig.xml
Allow user interaction: No
UI mode: 1
User token: null
Session Id: 4294967295
Content path: C:\Windows\ccmcache\4p
Working directory: AppEnforce 20/08/2017 8:53:08 AM 1356 (0x054C)
Prepared working directory: C:\Windows\ccmcache\4p AppEnforce 20/08/2017 8:53:08 AM 1356 (0x054C)
Prepared command line: "C:\Windows\ccmcache\4p\setup.exe" /uninstall ProPlus /config SilentUninstallConfig.xml AppEnforce 20/08/2017 8:53:08 AM 1356 (0x054C)
Executing Command line: "C:\Windows\ccmcache\4p\setup.exe" /uninstall ProPlus /config SilentUninstallConfig.xml with system context AppEnforce 20/08/2017 8:53:08 AM 1356 (0x054C)
Working directory C:\Windows\ccmcache\4p AppEnforce 20/08/2017 8:53:08 AM 1356 (0x054C)
Post install behavior is BasedOnExitCode AppEnforce 20/08/2017 8:53:08 AM 1356 (0x054C)
Waiting for process 2652 to finish. Timeout = 60 minutes. AppEnforce 20/08/2017 8:53:08 AM 1356 (0x054C)
Exceeded timeout of 60 minutes while waiting for process 2652 to finish. AppEnforce 20/08/2017 9:53:08 AM 1356 (0x054C)
WaitForRunningProcess failed. Error 0x87d00213. AppEnforce 20/08/2017 9:53:08 AM 1356 (0x054C)
CScriptHandler::CompleteEnforcement failed with 0x87d00213 AppEnforce 20/08/2017 9:53:08 AM 1356 (0x054C)
CAppProvider::CompleteEnforcement failed with error 0x87d00213 AppEnforce 20/08/2017 9:53:08 AM 1356 (0x054C)
++++++ Failed to enforce app. Error 0x87d00213. ++++++ AppEnforce 20/08/2017 9:53:08 AM 1356 (0x054C)
AppDiscovery.log:
PHP:
Performing detection of app deployment type Microsoft Office Professional Plus 2013(ScopeId_2CF747AF-A58A-4B7A-8CE9-7A0755FBAB99/DeploymentType_c6004911-8109-4dc4-9b20-3d6b1129dcc2, revision 3) for system. AppDiscovery 20/08/2017 10:07:45 AM 4228 (0x1084)
+++ Application not discovered. [AppDT Id: ScopeId_2CF747AF-A58A-4B7A-8CE9-7A0755FBAB99/DeploymentType_c6004911-8109-4dc4-9b20-3d6b1129dcc2, Revision: 3] AppDiscovery 20/08/2017 10:07:45 AM 4228 (0x1084)
+++ Did not detect app deployment type Microsoft Office Professional Plus 2013(ScopeId_2CF747AF-A58A-4B7A-8CE9-7A0755FBAB99/DeploymentType_c6004911-8109-4dc4-9b20-3d6b1129dcc2, revision 3) for system. AppDiscovery 20/08/2017 10:07:45 AM 4228 (0x1084)
I am using Windows Installer in the detection method with Office 2013 Product ID {90150000-0011-0000-0000-0000000FF1CE} and the msi ver= 15.0.4569.1506
If you look at the time of performing the app discovery it was 10:07am which is past the app enforce uninstallation time which was 9:53 am. The got uninstalled then the app discovery runs and surely can't find it.
2. Used the Offscrub_O13.vbs and deployed it as a package, first tried the .vbs script on the machine and with ALL and /Quiet switch. It worked perfectly fine uninstalled Office 2013. I have used a .cmd file to call the .vbs script and also to create a dummy folder for the detection method to succeed .
the .cmd file:
PHP:
rem This will call OffScrub_O13
Call OffScrub_O13.vbs ALL /Quiet
mkdir "C:\Windows\CCM\Test"
Again it succeed to uninstall Office 2013 but fails in the logs with the same error, and software centre reports Past Due will be retired
AppEnforce.log:
PHP:
App enforcement environment:
Context: Machine
Command line: cmd /c "OffScrub2013.cmd" ALL /Quiet
Allow user interaction: No
UI mode: 1
User token: null
Session Id: 4294967295
Content path: C:\Windows\ccmcache\4d
Working directory: AppEnforce 19/08/2017 9:53:39 PM 3872 (0x0F20)
Prepared working directory: C:\Windows\ccmcache\4d AppEnforce 19/08/2017 9:53:39 PM 3872 (0x0F20)
Found executable file cmd with complete path C:\Windows\system32\cmd.exe AppEnforce 19/08/2017 9:53:39 PM 3872 (0x0F20)
Prepared command line: "C:\Windows\system32\cmd.exe" /c "OffScrub2013.cmd" ALL /Quiet AppEnforce 19/08/2017 9:53:39 PM 3872 (0x0F20)
Executing Command line: "C:\Windows\system32\cmd.exe" /c "OffScrub2013.cmd" ALL /Quiet with system context AppEnforce 19/08/2017 9:53:39 PM 3872 (0x0F20)
Working directory C:\Windows\ccmcache\4d AppEnforce 19/08/2017 9:53:39 PM 3872 (0x0F20)
Post install behavior is BasedOnExitCode AppEnforce 19/08/2017 9:53:39 PM 3872 (0x0F20)
Waiting for process 4076 to finish. Timeout = 40 minutes. AppEnforce 19/08/2017 9:53:39 PM 3872 (0x0F20)
Exceeded timeout of 40 minutes while waiting for process 4076 to finish. AppEnforce 19/08/2017 10:33:40 PM 3872 (0x0F20)
WaitForRunningProcess failed. Error 0x87d00213. AppEnforce 19/08/2017 10:33:40 PM 3872 (0x0F20)
CScriptHandler::CompleteEnforcement failed with 0x87d00213 AppEnforce 19/08/2017 10:33:40 PM 3872 (0x0F20)
CAppProvider::CompleteEnforcement failed with error 0x87d00213 AppEnforce 19/08/2017 10:33:40 PM 3872 (0x0F20)
++++++ Failed to enforce app. Error 0x87d00213. ++++++ AppEnforce 19/08/2017 10:33:40 PM 3872 (0x0F20)
Am I asking for the impossible
Thanks