Page 1 of 1 1
Topic Options
#191887 - 2009-01-23 11:21 PM unistall script
bishoptim978 Offline
Just in Town

Registered: 2009-01-23
Posts: 1
I am hoping that someone can help me with this
I am trying to figure out how to have progams uninstall unattended and slient.
example yahoo messenger

#191888 - 2009-01-23 11:30 PM Re: unistall script [Re: bishoptim978]
eriqjaffe Offline

Registered: 2004-06-24
Posts: 214
Loc: Arlington Heights, IL USA
The specifics will depend on the program you want to uninstall, but you can use the SHELL command.


SHELL "uninstall.exe /s"

#191891 - 2009-01-24 02:06 AM Re: unistall script [Re: eriqjaffe]
Allen Administrator Offline
KiX Supporter

Registered: 2003-04-19
Posts: 4536
Loc: USA
I would start by finding the UninstallString in the registry for the particular app you want to uninstall. I am running Vista x64 so my results are different than I remember. I remember it being HKLM\Software\Microsoft\Windows\Current Version\Uninstall where all the products where, but on Vista x64 it appears to be HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\.

In each product there is a UninstallString Value that you can use to uninstall products. For example, to uninstall Quickbooks 2007 it is MsiExec.exe /I{71EEA108-09C9-4D81-8FA2-D48C70681242}. You would just need to do some searching on Msiexec to find the silent switches and then use shell to run it.

#191892 - 2009-01-24 03:30 AM Re: unistall script [Re: Allen]
Sealeopard Offline
KiX Master

Registered: 2001-04-25
Posts: 11163
Loc: Boston, MA, USA
I would check for more information on the individual installers.
There are two types of vessels, submarines and targets.

Page 1 of 1 1

Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 241 anonymous users online.
Newest Members
SHEBLU_HOSSAIN, JohnShearer, sam_white, Luuraap, mve666
17800 Registered Users

Generated in 0.053 seconds in which 0.023 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google: