Outlook 2010 - Uninstall issue


I am facing issue in uninstalling Outlook 2010 via MSI wrapper.

Command for silent uninstall is :

setup.exe /config {[path of config file}\config.xml /uninstall "Outlook"

I am facing issue in executing via custom action. Can someone please suggest what will be the vbscript code to execute this via a vbscript.

Or what will be right way if I have to execute it via custom action.

Many Thanks

Please suggest.

0 Comments   [ + ] Show comments

Answers (6)

Posted by: shweta_kar 11 years ago
Blue Belt

What error are you recieving while exectuing the vb script through custom action.
what its sequence?.

keep it just before Install Finalize in deferred mode or else in immediate after install Finalize.
Posted by: anonymous_9363 11 years ago
Red Belt
Wrapping the command in VBScript (or any other mechanism) won't make a blind bit of difference. Since the Office set-up stub is essentially a front-end to MSIExec, it follows that an MSI will be executed by it. As you know, you cannot execute more than MSI at a time. This is most likely why your CA is failing. As ever, a verbose log will provide you with information to make that determination.

Reading between the lines, I suspect what you're trying to do is to uninstall a stand-alone install of Outlook 2010 so that you can do an install of the complete Office 2010 suite. If that's the case, I would suggest using your deployment system to execute the Outlook uninstall and make the Office package check that Outlook is not present before continuing.
Posted by: djain3 11 years ago
Second Degree Blue Belt
Hi Shweta,

I need vbscrip to execute this command.
Posted by: anonymous_9363 11 years ago
Red Belt
There must be 100 billion scripts which execute command line tools. Why not simply download one and edit it to suit your requirements?
Posted by: mayur_mak 10 years ago
Senior Purple Belt

u can try using the below Vbscript code,

Set goFSO = CreateObject("Scripting.FileSystemObject")
Set goWshShell = CreateObject("WScript.Shell")

Execute ="Setup.exe" & "/config" & " " & "{[path of config file}\config.xml" & " " & "/uninstall" & " " & chr(34) & "Outlook" & chr(34)

UnOutlook =Execute

goWshShell.EXEC UnOutlook

Posted by: michelsmith 10 years ago
Yellow Belt

To uninstall Microsoft Outlook 2010, go to control panel and click on ‘Add/Remove Programs.’ Select Microsoft Outlook 2010 and then click on remove from the list. This should permanently remove Microsoft Outlook 2010 from your computer.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ