Torgeir
Sun May 29 12:53:16 CDT 2005
zmau@UltimateEmail.com wrote:
> Hi!
>
> Currently I go to Control panel and remove the program via
> "Add remove programs".
> 1) How do I know if the program is installed ?
By checking for registry entries or files unique to the program.
> 2) How do I uninstall it ?
Depends on the "technology" used by the installer for the program. If
it used Windows Installer, InstallShield or Wise, it is usually
possible to use VBScript to uninstall the program.
If you have some specific programs you want to handle, could you
please post the registry data in the UninstallString value under the
registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
for the programs you are thinking about?
--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx