I have never used vbscript so I thought I would start by asking if what I
want to accomplish is even possible.

I would like to use vbscript to uninstall programs automatically using
either Group policies or logon scripts. Most of the programs were not
installed using .msi files. Is there a way to do this with vbscript? Any
tips on how to do it?

Thanks in advance

Steve

Re: Using VBscript to Remove installed programs by Torgeir

Torgeir
Fri Oct 08 09:25:50 CDT 2004

Steve Roberts wrote:

> I have never used vbscript so I thought I would start by asking if what I
> want to accomplish is even possible.
>
> I would like to use vbscript to uninstall programs automatically using
> either Group policies or logon scripts. Most of the programs were not
> installed using .msi files. Is there a way to do this with vbscript? Any
> tips on how to do it?
>
> Thanks in advance
Hi

Take a look at the uninstall command lines at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall


For InstallShield packages:

InstallShield silent uninstall:

InstallShield 5.x:

IsUninst.exe
Append -y -a to the command line.

INFO: What Command Line Parameters Are Available for unInstallShield? (Q100021)
http://support.installshield.com/kb/view.asp?pcode=CLASS600PEE&articleid=Q100021


For InstallShield Professional 6.x/7.x uninstallations, append the -s switch
behind setup.exe

For InstallShield 5.x uninstallations (IsUninst.exe), append -y -a


For Wise packages:

Usually, you use "Unwise.exe /S" to do a silent uninstall of a Wise package.

Some articles from the Wise web site:

How do I run the UNWISE in automatic mode?
http://www.wise.com/displayArticle.asp?articleno=824

Unwise.exe prompts for install.log during silent uninstall.
http://www.wise.com/displayArticle.asp?articleno=660



--
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

Re: Using VBscript to Remove installed programs by Steve

Steve
Fri Oct 08 13:30:11 CDT 2004

Thanks that was helpful.

Is there a way to check to see if a non MSI program is installed?

Steve


"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:uk3KLLUrEHA.1152@TK2MSFTNGP11.phx.gbl...
> Steve Roberts wrote:
>
>> I have never used vbscript so I thought I would start by asking if what I
>> want to accomplish is even possible.
>>
>> I would like to use vbscript to uninstall programs automatically using
>> either Group policies or logon scripts. Most of the programs were not
>> installed using .msi files. Is there a way to do this with vbscript? Any
>> tips on how to do it?
>>
>> Thanks in advance
> Hi
>
> Take a look at the uninstall command lines at
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
>
>
> For InstallShield packages:
>
> InstallShield silent uninstall:
>
> InstallShield 5.x:
>
> IsUninst.exe
> Append -y -a to the command line.
>
> INFO: What Command Line Parameters Are Available for unInstallShield?
> (Q100021)
> http://support.installshield.com/kb/view.asp?pcode=CLASS600PEE&articleid=Q100021
>
>
> For InstallShield Professional 6.x/7.x uninstallations, append the -s
> switch
> behind setup.exe
>
> For InstallShield 5.x uninstallations (IsUninst.exe), append -y -a
>
>
> For Wise packages:
>
> Usually, you use "Unwise.exe /S" to do a silent uninstall of a Wise
> package.
>
> Some articles from the Wise web site:
>
> How do I run the UNWISE in automatic mode?
> http://www.wise.com/displayArticle.asp?articleno=824
>
> Unwise.exe prompts for install.log during silent uninstall.
> http://www.wise.com/displayArticle.asp?articleno=660
>
>
>
> --
> 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



Re: Using VBscript to Remove installed programs by Steve

Steve
Fri Oct 08 13:32:14 CDT 2004

Never mind! You already answered that question!

Sorry


"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:uk3KLLUrEHA.1152@TK2MSFTNGP11.phx.gbl...
> Steve Roberts wrote:
>
>> I have never used vbscript so I thought I would start by asking if what I
>> want to accomplish is even possible.
>>
>> I would like to use vbscript to uninstall programs automatically using
>> either Group policies or logon scripts. Most of the programs were not
>> installed using .msi files. Is there a way to do this with vbscript? Any
>> tips on how to do it?
>>
>> Thanks in advance
> Hi
>
> Take a look at the uninstall command lines at
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
>
>
> For InstallShield packages:
>
> InstallShield silent uninstall:
>
> InstallShield 5.x:
>
> IsUninst.exe
> Append -y -a to the command line.
>
> INFO: What Command Line Parameters Are Available for unInstallShield?
> (Q100021)
> http://support.installshield.com/kb/view.asp?pcode=CLASS600PEE&articleid=Q100021
>
>
> For InstallShield Professional 6.x/7.x uninstallations, append the -s
> switch
> behind setup.exe
>
> For InstallShield 5.x uninstallations (IsUninst.exe), append -y -a
>
>
> For Wise packages:
>
> Usually, you use "Unwise.exe /S" to do a silent uninstall of a Wise
> package.
>
> Some articles from the Wise web site:
>
> How do I run the UNWISE in automatic mode?
> http://www.wise.com/displayArticle.asp?articleno=824
>
> Unwise.exe prompts for install.log during silent uninstall.
> http://www.wise.com/displayArticle.asp?articleno=660
>
>
>
> --
> 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