Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, October 25, 2019 8:49 AM
Hi, every one.
How can I uninstall Skype for business 2016 client (not basic) that is part of MS Office 2016 ProPlus.
Remove s4B 2016 client I 'll perform by using SCCM CB 1810, creating bat file and so on. But that's not a problem.
I got a problem. I can't unistall s4B 2016 client throught cmd. I often have unistall errors.
I've created xml file named delete.xml:
<Configuration Product="Lync">
<Display Level="none" CompletionNotice="none" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="SETUP_REBOOT" Value="NEVER" />
<Logging Type="standard" Path="c:\windows\log\ Template="Microsoft Office Lync Uninstall(*).log" />
</Configuration>
run the following command via cmd :
cd C:\Program Files\Common Files\microsoft shared\OFFICE16\Office Setup Controller
setup.exe /Uninstall Lync /config delete.xml
but uninstall Skype for business 2016 occures with errors.
I take a look logs:
2019/10/25 10:15:40:401::[2716] Ensuring the install-state of setup controller files for product [LYNC].
2019/10/25 10:15:40:401::[2716] Warning: Product registation information for 'LYNC' not detected. ErrorCode: 1011(0x3f3). Failed attempt to force-repair setupexe boot files.
2019/10/25 10:15:40:401::[2716] Searching for default versions of resource files under the folder [C:\Program Files\Common Files\microsoft shared\OFFICE16\Office Setup Controller].
2019/10/25 10:15:40:411::[2716] Found [1] resource files under the default folder.
2019/10/25 10:15:40:411::[2716] Running in [UninstallExecutionMode]. Run from TEMP folder at [C:\Users\NCFDA~1.SHE\AppData\Local\Temp\Setup00001bc4].
2019/10/25 10:15:40:442::[2716] Loaded resource file [C:\Users\NCFDA~1.SHE\AppData\Local\Temp\Setup00001bc4\OSETUPUI.DLL] (CultureTag=ru-RU).
2019/10/25 10:15:40:442::[2716] WER element [SuppressModal] is set to value [false]
....................................................
2019/10/25 10:16:07:392::[2716] IsProductTransitionToMModeSafe: An exception was caught, therefore transition to MMode is unsafe for product:
2019/10/25 10:16:07:392::[2716] Error: Product is not installed, therefore transition to MMode is unsafe for product: LYNC Type: 27::InstalledProductStateCorrupt.
2019/10/25 10:16:07:392::[2716] Not showing message because suppress modal has been set. Title: 'Ошибки установки', Message: 'Установка данного продукта повреждена. Запустите программу установки еще раз с компакт-диска, DVD-диска или другого исходного источника установки.'
2019/10/25 10:16:07:392::[2716] Message returned: 1
2019/10/25 10:16:07:397::[2716] Error: Catalyst boot time check failed Type: 66::PreReqCheckFailure.
2019/10/25 10:16:07:397::[2716] Catalyst execution finished: 10/25/2019 10:16:07. Return code: 30066. Exception caught: PreReqCheckFailure.
2019/10/25 10:16:07:397::[2716] PERF: TickCount=226600781 Name=RunSetup Description=End function
2019/10/25 10:16:07:392::[2716] Not showing message because suppress modal has been set. Title: 'Ошибки установки', Message: 'Установка данного продукта повреждена. Запустите программу установки еще раз с компакт-диска, DVD-диска или другого исходного источника установки.'
***It means that: ***product installation has been corrupted. Run setup again from the CD, DVD, or other original installation source
I copied media source MS Office 2016 Proplus to local disk C:\ and run setup.exe from installiatiuon media, Result is the SAME.
In folder path ***"***C:\Program Files\Common Files\microsoft shared\OFFICE16\Office Setup Controller" I've seen a folders:Excel.ru-ru, Office.ru-ru,Lync.ru-ru.
Lync.ru-ru folder contain 2 xml files: LyncMUI.XML, Lync.XML. I found the following string: <Setup Id="Lync.ru-ru" Type="AddOn" Keyword="LyncMUI" Culture="ru-ru">
***I rebuild my xml file to unistall Skype for buisness, *change ****Configuration Product to ***Lync.ru-ru. ***
<Configuration Product="Lync.ru-ru">
<Display Level="none" CompletionNotice="none" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="SETUP_REBOOT" Value="NEVER" />
<Logging Type="standard" Path="c:\windows\log\ Template="Microsoft Office Lync Uninstall(*).log" />
</Configuration>*******Result is the SAME. ***
***I used command ***setup.exe /Uninstall Lync /config delete.xml and setup.exe /Uninstall Lync.ru-ru /config delete.xml
All results are the same: product installation has been corrupted. Run setup again from the CD, DVD, or other original installation source.
Further I've tried use to config file to modify MS OFFICE. My xml file named uninstall.xml
<Configuration Product="ProPlus">
<OptionState Id="LyncFiles" State="absent" Children="force" />
<Display Level="None" CompletionNotice="No" SuppressModal="Yes" AcceptEula="Yes" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>
setup.exe /uninstall ProPlus config/ .\uninstall.xml
But insaller just reinstall all component of MS Office. S4B didn't unistall. ((((((
Can anyone help me?
**
All replies (4)
Monday, October 28, 2019 10:39 AM
Hi,
Please try to modify "OptionState ID" of Skype for Business for Office ProPlus 2016, I find it might be "LyncCoreFiles" in the setup.xml which is in the proplus.ww folder. For more information, you could refer to Remarks for Windows Installer-based Office 2013.
<Configuration Product="ProPlus">
<OptionState Id="LyncCoreFiles" State="absent" Children="force" />
<Display Level="None" CompletionNotice="No" SuppressModal="Yes" AcceptEula="Yes" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>
Here, I named the above file as "uninst1.xml" and saved it into proplus.ww folder. Run the following commands, and please wait for a moment, then you could have a check. Please note, when you make changes to an existing Office installation, you could use the "/modify" option to add or remove features.
cd <the path of source files>
setup.exe /modify ProPlus /config proplus.ww\uninst1.xml
If you have any updates, please feel free to let me know.
Best Regards,
Emily
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Office 2019.
Friday, November 1, 2019 10:29 AM
Hi,
I am checking the status of this issue. Do you have any update for it?
If my reply is helpful to this question, please remember to mark it as answer. Your action would be helpful to other users who encounter the same issue and read this thread. Thanks for your understanding.
Anything unclear or any questions, feel free to post them back to let us know. I will be glad to follow up and help you.
Best Regards,
Emily
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Office 2019.
Thursday, November 7, 2019 1:24 AM
Hi,
This thread has been around for a long time.
Please remember to mark the replies as answers if they are helpful. Your action would help other users who encounter the same issue and read this thread.
Thank you for understanding! If you have any questions, or updates, please feel free to let me know.
Best Regards,
Emily
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Office 2019.
Monday, July 20, 2020 3:37 AM
Hi I had the original poster's original problem, found this post in a Google search, and I wanted to report that Eily's suggestion with OptionState within the uninstall xml file:
<OptionState Id="LyncCoreFiles" State="absent" Children="force" />
Plus using "/modify" instead of "/Uninstall" made all the difference -- it uninstalled SfB (Lync) perfectly for me. The above-suggested solution should be marked as helpful as it does indeed resolve the issue and silently removes SfB 2016 (Lync) without issue.
setup.exe /modify ProPlus