Hi,

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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hi,

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.
Answered 07/22/2010 by: shweta_kar
Blue Belt

Please log in to comment
0
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.
Answered 07/23/2010 by: VBScab
Red Belt

Please log in to comment
0
Hi Shweta,

I need vbscrip to execute this command.
Answered 07/23/2010 by: djain3
Second Degree Blue Belt

Please log in to comment
0
There must be 100 billion scripts which execute command line tools. Why not simply download one and edit it to suit your requirements?
Answered 07/23/2010 by: VBScab
Red Belt

Please log in to comment
-1
Hi,

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.
Answered 06/23/2011 by: michelsmith
Yellow Belt

Please log in to comment
0
Hi,

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

regards
Mayur
Answered 06/23/2011 by: mayur_mak
Senior Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity