Hi,

I have crm 3.0 outlook plugin (desktop) installed on XP machines (about 50 pc) and I need to uninstall it silently.Problem is that crm plugin has been installed using modified msi package and I assume there is command "ALLUSER=2", so it installes the plugin only to the user that installed the plugin on that pc. Now I have problem to remove that plugin because I'm trying to uninstall it silently as SCCM 2007 package/program and I get error "this only applies on products installed", so msiexec can't find installed product, I can't even see that plugin in add/remove programs when using administrator account. 

I'm afraid that I need some script to do that uninstallation from registry but I have no idea how to make such a script (I have no scripting experience).. Or is there another way?

Can someone please help me quick?!

 

 
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1

Probably the easiest route for you is to use MSIZap (a free download as part of the Windows Installer SDK), reinstall as a per-machine install, then uninstall.

It would also be simple to record an "uninstall MSI" and use that.

Alternatively, you could try copying the content of HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]
to
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]
and also HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\[Installing_User's_SID]
to
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18
and uninstall. Remember to remove the keys
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\[Installing_User's_SID]
and
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]
when the uninstallation has completed.

[ProductCode] is obviously the CRM Outlook plug-in's ProductCode.

Answered 11/05/2012 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share