I am dealing with ThomsonFinancial_DatastreamCharting package. It installs addins for word,powerpoint, and excel 2003. On uninstallation source removes Addins for excel and powerpoint as well, but it does not remove Word Addin-button.
*These addins are being installed through registering dll files.
*It does not create Open keys.
*One solution I can see is : If I delete normal.dot file from "%UserProfile%\Application Data\Microsoft\Templates"
addin button gets removed. Problem is It can affect other apps.
Please suggest a solution for this.
Previously when I had similar issue, I used below script, but it is not working in this case,

'On Error Resume Next
Dim Objfso
Dim Objshell
Dim Oword
Set Objshell = CreateObject("Wscript.shell")
Set Objfso = CreateObject("Scripting.FileSystemObject")
Set oWord = CreateObject("Word.Application")
oWord.Application.Commandbars("Datastream Charting").Delete
0 Comments   [ + ] Show 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.


Deleting NORMAL.DOT...thanks, that's the best laugh I've had for a good while.

Why not record the action of removing the button as a macro? You end up with VBA which, for the most part, can be converted to VBScript by removing the data typing from the declaration of variables.

BTW, your script contains no error-trapping, no forced variable declaration (Option Explicit), the setting of 2 objects which aren't used at all and objects aren't discarded at the end.
Answered 12/07/2010 by: VBScab
Red Belt

Please log in to comment
Hi All,

Can somebody help me in uninstalling Patches.Plz tel me the process

Answered 12/08/2010 by: angel7
Senior Yellow Belt

Please log in to comment
The first rule of using ANY forum is: do not hijack threads!

Please post again as a new thread. Before that, though, go to MSDN and read about WindowsInstaller patching, particularly the section about patches which are set to be uninstallable.

Before THAT, even, go back to my response yesterday. Have you followed my advice? I hardly think so, unless you're the world's fastest reader.

I suspect, though, that you have been pitched into this by your employer who thinks that this stuff is easy. Well, he's more than welcome to try himself (I just *know* that, if I'm right, it's a "he").
Answered 12/08/2010 by: VBScab
Red Belt

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