Monday, 31 March 2014

Uninstall Office Visio 2010

This post will explain Step by Step instruction How to uninstall Visio 2010 using SCCM 2007 with Zero Touch 

1.Create “SilentUninstallConfig.xml” and past in “Visio.WW” Folder 
https://lh4.googleusercontent.com/HhMUYlgESvwcezRx63mzxrgVYT78g3jIMJAnpd6O40mqrFDG2AR4enSuXCyjPzb6HVQK0zHIQZ1MYVkdRUK8tUbJpZa6iyE-ywB3y3Kb7PJf9f1kL7Oi9MVzffRievZIlxzeeQE


2.Create SilentUninstallConfig.xml using the below code
<Configuration Product=" Visio">
<Display Level="basic" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="Reboot" Value="Never" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>


3.Create Uninstall CMD using the below command
"%~dps0setup.exe" /uninstall Visio /config .\Visio.WW\SilentUninstallConfig.xml
Place the Uninstall CMD in the Office setup.exe folder

4.Create Uninstall VBS to uninstall the Visio 2010 without restart in the end of the uninstall if "Visio or Any office applications" is in open
Uninstall.vbs
Dim Retval
Retval=0

' *** Install Application. ***
Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")

' open normal and don't wait
WSHShell.Run "Uninstall.cmd", 1, True
Set WSHShell = Nothing

' *** show us what RETVAL is, unrem to see what retval = ***
 'MsgBox "The actual return code was " &retval

' *** unrem to set to 3010 for testing ***
'retval = 3010

If retval = 3010 Then
MsgBox "The return code was 3010, resetting to 0"
else
'MsgBox "The actual return code was " &retval
WScript.Quit(Retval)
End If

' *** set the return value to 0 anyway. ***
Retval=0
MsgBox "The return code was reset to 0"
WScript.Quit(Retval)
5.Run the Uninstall.vbs in SCCM program.  

References:
http://myitforum.com/cs2/blogs/nbrady/archive/2010/07/28/preventing-task-sequence-reboot-after-software-install-which-produces-a-3010-exit-code.aspx

DEPLOYING and UPGRADING OFFICE 2013 WITH SCCM 2007

This post will explain Step by Step instruction How to DEPLOYING and UPGRADING OFFICE 2013 WITH SCCM 2007 with Zero Touch


  1. Uninstall Office 2010
  2. Create “SilentUninstallConfig.xml” and past in “ProPlus.WW” Folder https://lh4.googleusercontent.com/xekB3EctB7ANLifRbNgtCob5FaYCOBcZRw_qWTnVALL8jWLTzjziKtjG6PY7xWr0YPuAKkzMbd8Yjrw8tjUoVZjyXx8tQv2YD0-KS-Nr3dOr7y0sYDrsTz9DWQ7KHs6Mm3FXj7o
  3. Create SilentUninstallConfig.xml using the below code

<Configuration Product="ProPlus">
<Display Level="basic" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="Reboot" Value="Never" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>


  1. Create Uninstall CMD using the below command
"%~dps0setup.exe" /uninstall ProPlus /config .\ProPlus.WW\SilentUninstallConfig.xml
Place the Uninstall CMD in the Office setup.exe folder


  1. Create Uninstall VBS to uninstall the Visio 2010 without restart in the end of the uninstallation
Uninstall.vbs
Dim Retval
Retval=0


' *** Install Application. ***
Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")


' open normal and don't wait
WSHShell.Run "Uninstall.cmd", 1, True
Set WSHShell = Nothing


' *** show us what RETVAL is, unrem to see what retval = ***
 'MsgBox "The actual return code was " &retval


' *** unrem to set to 3010 for testing ***
'retval = 3010


If retval = 3010 Then
MsgBox "The return code was 3010, resetting to 0"
else
'MsgBox "The actual return code was " &retval
WScript.Quit(Retval)
End If


' *** set the return value to 0 anyway. ***
Retval=0
MsgBox "The return code was reset to 0"
WScript.Quit(Retval)
  1. Run the Uninstall.vbs in SCCM program.  



https://lh4.googleusercontent.com/XH47C1mU6tRmHXOimIq6dhhUtsgc2v4IlpM2mQc0yoy0ZrLh5F_IcMyYaAKprh1GsAjA-BZYSua2LtcXIbhn3WoQV06OAfnoXjNaEQ6R9eV8YVjRnqTXTFtszRUTLK18H54w64Y
  1. Installing Office 2013
Process Steps
  1. Copy all content from the Microsoft Office 2013 DVD to a source share like:\\SCCM01\Source$\Applications\Microsoft Office Professional Plus 2013 ENU\DT-MSI_x86\
    (We need to create a subfolder for each deployment type).
  2. Start the Office Customization Tool (OCT), by running Setup.exe /admin, from the source folder. (The OCT is available only with the volume license editions of Office)

  3. How to: Deploying Microsoft Office 2013 using SCCM 2012
  4. If required click OK to the User Account Control (UAC) prompt.
  5. Verify that the correct product and version is selected, and click OK.

  6. How to: Deploying Microsoft Office 2013 using SCCM 2012
  7. In the Default File Types, pop-up, select the format you wish to use. The default is “Keep Current Settings”. In this example, I’ll select Office Open XML formats, and then Click OK

  8. How to: Deploying Microsoft Office 2013 using SCCM 2012
  9. In the Microsoft Office Customization Tool wizard, you can customize almost all available settings, but in this example, I’ll only configure a few of these settings, to make the installation unattended, and to provide a simple user experience to users, when they install Office 2013 from the System Center 2012 Application Catalog.
  10. Select Install location and organization name, and fill-in your company name.How to: Deploying Microsoft Office 2013 using SCCM 2012
  11. Select Licensing and user interface, and select “I accept the terms in the License Agreement”. In the Display level, select Basic, and select both Suppress modal, and No cancel.
Note: If you do not plan to use KMS or Active Directory-Based activation, you should also specify the MAK product key on this page

How to: Deploying Microsoft Office 2013 using SCCM 2012

ORhttps://lh3.googleusercontent.com/6CM9glhr8pfRWNKJ5wHXK04JyLaRq9enSrWtATgbnMHhDBYgj52xUG9TaIDqDSVdWEyiMvVUrAK_HmGlyJ6BRkfphekch0UBRvxHsNGWRPv0GfyV0QpfyKc5nVU6sQfx1rgLPEM
  1. Select Modify Setup properties, and click Add
  2. In the Add/Modify Property Value dialog box add the following information, and click OK:
  3. Name: SETUP_REBOOT : Value: Never Name: AUTO_ACTIVATE : Value:How to: Deploying Microsoft Office 2013 using SCCM 2012https://lh3.googleusercontent.com/A2UzDtingFb3RGmAUa-Lm58A_VzvUvSoDf5HSzBd0SX4IsSJs2NdHxbdipgejV2aNsjGBDYhRnYdNqCVcw8iGiyNlLxb_fI95FOdPf840x9IY6AXIhd22POhMmA2zaelo8FsI1whttps://lh4.googleusercontent.com/PwmABdvoJXJqk6xbp-SKrhqNiTVQfgyYYhEJdsXG15c6P83OStuHcj7hXWsiOXDgQw0HzAuaeO7Fnc6ie_T3pCLWquytQqLcX-niS63E9cvZ5__XMjxOm4k52OQyyxaT4tQYtUM
  4. To disable the Office 2013 Welcome screen, select Modify user settings, expand Microsoft Office 2013, Privacy and Trust Center. Select Disable Opt-In Wizard on first, and double click on the setting and select Enable.How to: Deploying Microsoft Office 2013 using SCCM 2012
  5. Set Feature for Office 2013 as per your requirement.https://lh4.googleusercontent.com/zkGlEUrdOQWOyUhvrY04-xnyzP8mNDrcVYoZ5RaaF0zO8Yzpqs_N1DilT2myH1nYN0SnxUFZPoMyO4ZzFyYbVKAusRNB7l1WhtrDh_sLY7ST4YG1fr5YvgnFOjEBB6nW4l-GLZU
  6. That’s it… Click File and then Save, and then save the MSP file in the Updates folder in the source folder.
https://lh4.googleusercontent.com/_uCKtzMMsOXpjA5NTuYX-lV-HH3Be8m3tTXKl4vRLMuxFOLi0dSxgeAX2jdItZH8QRkSgDg_xNPjYponf7Las0H7HuDb1AbL41HKLXoE5FwsJtNzQhfgWhu6cbiLZqyZ9Ayyv0g
  1. The source folder is now prepared for unattended installation, and if you run setup.exe, from the source folder, the installation should be 100% silent.
  2. Create Install VBS to Install the Office 2013 without restart in the end of the installation
Install.vbs
Dim Retval
Retval=0


' *** Install Application. ***
Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")


' open normal and don't wait
WSHShell.Run "Setup.exe", 1, True
Set WSHShell = Nothing


' *** show us what RETVAL is, unrem to see what retval = ***
 'MsgBox "The actual return code was " &retval


' *** unrem to set to 3010 for testing ***
'retval = 3010


If retval = 3010 Then
MsgBox "The return code was 3010, resetting to 0"
else
'MsgBox "The actual return code was " &retval
WScript.Quit(Retval)
End If


' *** set the return value to 0 anyway. ***
Retval=0
MsgBox "The return code was reset to 0"
WScript.Quit(Retval)
  1. Run the install.vbs in SCCM program.  
  2. Uninstall Program:
Create “SilentUninstallConfig.xml” and past in “ProPlus.WW” Folder https://lh5.googleusercontent.com/CyO2gRO9-TEcNLwpXDKpoLMXM0tDumfmuAEyzs_YQzZhFIe-Dtc-vMr0Qnof2dpGXVUxDYh1wJP15Emn9ltq2xVA704MtohWxJCh8qa4Zx4hTtMEnU4AMegxg7mm8iLjvAU20NQ
  1. Create SilentUninstallConfig.xml using the below code

<Configuration Product="ProPlus">
<Display Level="basic" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>

  1. Create Uninstall CMD using the below command
                             "%~dps0setup.exe" /uninstall ProPlus /config .\ProPlus.WW\SilentUninstallConfig.xml
Place the Uninstall CMD in the Office setup.exe folder

https://lh4.googleusercontent.com/M9bd4XEoefLVSJvBFy7xuj4epiHA8DtTwxMStKQakcGeeFC3g6RP8UJ4h7vIDcR8ue6ehOpjtCG3fiYqTl2f8_Sg-7bJ5DNjXi2XXwWkl99fwiCFlYKw0Vdj0IaQGh5Adq4w8fA
  1. Create Uninstall VBS to uninstall the Office 2013 without restart in the end of the uninstallation
Uninstall.vbs
Dim Retval
Retval=0


' *** Install Application. ***
Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")


' open normal and don't wait
WSHShell.Run "Uninstall.cmd", 1, True
Set WSHShell = Nothing


' *** show us what RETVAL is, unrem to see what retval = ***
 'MsgBox "The actual return code was " &retval


' *** unrem to set to 3010 for testing ***
'retval = 3010


If retval = 3010 Then
MsgBox "The return code was 3010, resetting to 0"
else
'MsgBox "The actual return code was " &retval
WScript.Quit(Retval)
End If


' *** set the return value to 0 anyway. ***
Retval=0
MsgBox "The return code was reset to 0"
WScript.Quit(Retval)
  1. Run the Uninstall.vbs in SCCM program.  
Office 2010 form 2013
Place a task sequence as below:
https://lh6.googleusercontent.com/KpAbp2rEustHtNDnAlw9nFn9ahqyLxDllnZSANflPeC-gpyfTwgV3l-dygRRE1wjmOqVE9RqDerYGltCDTaG8oko5yxZEKvsjYf_nN41dv3WrJy-76js8NTsGGeZg82Xxrvcctc
This will be 100% error free Upgrade form Office 2010 for Office 2013.
Source & Credit:

http://www.ronnipedersen.com/2012/11/how-to-deploying-microsoft-office-2013-using-configmgr-2012/