Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - How to uninstall software silently

Reply
 
Old 03-04-2009   #1 (permalink)
Dcataldo


 
 

How to uninstall software silently

Ok I made a script that uninstalls act 6.0 from users desktop. The script
works but I don’t know the switches to make it silently uninstall and to
force it. For example when I run the script it asks me are you sure then
click next bla bla. Can some please help me?

-----------------------------------------------------------------------------------------------
const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:StdRegProv")
Set WshShell = WScript.CreateObject("WScript.Shell")

' Uninstall first application...
strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ACT!"
strValueName = "UninstallString"
oReg.GetStringValue
HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strUninstallFullPath
If IsNull(strUninstallFullPath) Then
' wscript.echo "Uninstall path for app1 is null"
Else

tst="unwise.exe"
pos=instr(lcase(strUninstallFullPath),tst)
if pos>0 then
'found unwise.exe
pos=pos+len(tst)
strUninstallFullPath=left(strUninstallFullPath,pos) & "/s " &
mid(strUninstallFullPath,pos)

'I have commented out the following as your last post indicated that
the -y part should be skipped
' if I have misunderstood you should enable it again
' strUninstallFullPath=strUninstallFullPath & " -f"
'<--- change as needed

End if
WshShell.Run strUninstallFullPath,8,true

End If

Set WshShell = Nothing
Set oReg = Nothing

My System SpecsSystem Spec
Old 03-07-2009   #2 (permalink)
Questor


 
 

Re: How to uninstall software silently

--->
Quote:

> Ok I made a script that uninstalls act 6.0 from users desktop. The script
> works but I don’t know the switches to make it silently uninstall and to
> force it. For example when I run the script it asks me are you sure then
> click next bla bla. Can some please help me?
>
> -----------------------------------------------------------------------------------------------
> const HKEY_LOCAL_MACHINE = &H80000002
> strComputer = "."
> Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
> strComputer & "\root\default:StdRegProv")
> Set WshShell = WScript.CreateObject("WScript.Shell")
>
> ' Uninstall first application...
> strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ACT!"
> strValueName = "UninstallString"
> oReg.GetStringValue
> HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strUninstallFullPath
> If IsNull(strUninstallFullPath) Then
> ' wscript.echo "Uninstall path for app1 is null"
> Else
>
> tst="unwise.exe"
> pos=instr(lcase(strUninstallFullPath),tst)
> if pos>0 then
> 'found unwise.exe
> pos=pos+len(tst)
> strUninstallFullPath=left(strUninstallFullPath,pos) & "/s " &
> mid(strUninstallFullPath,pos)
>
> 'I have commented out the following as your last post indicated that
> the -y part should be skipped
> ' if I have misunderstood you should enable it again
> ' strUninstallFullPath=strUninstallFullPath & " -f"
> '<--- change as needed
>
> End if
> WshShell.Run strUninstallFullPath,8,true
>
> End If
>
> Set WshShell = Nothing
> Set oReg = Nothing
Not knowing the circumstances of why you created this script, AND
certainly not taking a swipe at the reasons for it, I am curious as to
why someone would want to uninstall anything from a computer without the
user knowing it. I do know that *I* would definitely want to know if
anything was being uninstalled without my knowledge.

Questor
My System SpecsSystem Spec
Old 03-07-2009   #3 (permalink)
Al Dunbar


 
 

Re: How to uninstall software silently


"Questor" <Questor@xxxxxx> wrote in message
news:Opl8Ek1nJHA.1216@xxxxxx
Quote:

> --->
Quote:

>> Ok I made a script that uninstalls act 6.0 from users desktop. The
>> script works but I don't know the switches to make it silently uninstall
>> and to force it. For example when I run the script it asks me are you
>> sure then click next bla bla. Can some please help
>>
>> ? -----------------------------------------------------------------------------------------------
>> const HKEY_LOCAL_MACHINE = &H80000002
>> strComputer = "."
>> Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
>> strComputer & "\root\default:StdRegProv")
>> Set WshShell = WScript.CreateObject("WScript.Shell")
>>
>> ' Uninstall first application...
>> strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ACT!"
>> strValueName = "UninstallString"
>> oReg.GetStringValue
>> HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strUninstallFullPath
>> If IsNull(strUninstallFullPath) Then
>> ' wscript.echo "Uninstall path for app1 is null"
>> Else
>>
>> tst="unwise.exe"
>> pos=instr(lcase(strUninstallFullPath),tst)
>> if pos>0 then
>> 'found unwise.exe
>> pos=pos+len(tst)
>> strUninstallFullPath=left(strUninstallFullPath,pos) & "/s " &
>> mid(strUninstallFullPath,pos)
>>
>> 'I have commented out the following as your last post indicated
>> that the -y part should be skipped
>> ' if I have misunderstood you should enable it again
>> ' strUninstallFullPath=strUninstallFullPath & " -f"
>> '<--- change as needed
>>
>> End if WshShell.Run strUninstallFullPath,8,true
>>
>> End If
>>
>> Set WshShell = Nothing
>> Set oReg = Nothing
>
> Not knowing the circumstances of why you created this script, AND
> certainly not taking a swipe at the reasons for it, I am curious as to why
> someone would want to uninstall anything from a computer without the user
> knowing it. I do know that *I* would definitely want to know if anything
> was being uninstalled without my knowledge.
Certainly you would want to know this on *your* machine, especially if it
was software *you* purchased and installed.

I suspect that, in the OP's environment, the workstations belong to a
company not the individual users, and that software is being deinstalled for
a valid business purpose, whether in advance of an upgrade or because they
are replacing it with something completely different.

We routinely install and upgrade software without the participation of the
end user, as it is not their job to configure software, or to decide which
software is installed.

/Al


installation and de-installation



My System SpecsSystem Spec
Old 03-07-2009   #4 (permalink)
Questor


 
 

Re: How to uninstall software silently

--->
Quote:

> "Questor" <Questor@xxxxxx> wrote in message
> news:Opl8Ek1nJHA.1216@xxxxxx
Quote:

>> --->
Quote:

>>> Ok I made a script that uninstalls act 6.0 from users desktop. The
>>> script works but I don't know the switches to make it silently uninstall
>>> and to force it. For example when I run the script it asks me are you
>>> sure then click next bla bla. Can some please help
>>>
>>> ? -----------------------------------------------------------------------------------------------
>>> const HKEY_LOCAL_MACHINE = &H80000002
>>> strComputer = "."
>>> Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
>>> strComputer & "\root\default:StdRegProv")
>>> Set WshShell = WScript.CreateObject("WScript.Shell")
>>>
>>> ' Uninstall first application...
>>> strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ACT!"
>>> strValueName = "UninstallString"
>>> oReg.GetStringValue
>>> HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strUninstallFullPath
>>> If IsNull(strUninstallFullPath) Then
>>> ' wscript.echo "Uninstall path for app1 is null"
>>> Else
>>>
>>> tst="unwise.exe"
>>> pos=instr(lcase(strUninstallFullPath),tst)
>>> if pos>0 then
>>> 'found unwise.exe
>>> pos=pos+len(tst)
>>> strUninstallFullPath=left(strUninstallFullPath,pos) & "/s " &
>>> mid(strUninstallFullPath,pos)
>>>
>>> 'I have commented out the following as your last post indicated
>>> that the -y part should be skipped
>>> ' if I have misunderstood you should enable it again
>>> ' strUninstallFullPath=strUninstallFullPath & " -f"
>>> '<--- change as needed
>>>
>>> End if WshShell.Run strUninstallFullPath,8,true
>>>
>>> End If
>>>
>>> Set WshShell = Nothing
>>> Set oReg = Nothing
>> Not knowing the circumstances of why you created this script, AND
>> certainly not taking a swipe at the reasons for it, I am curious as to why
>> someone would want to uninstall anything from a computer without the user
>> knowing it. I do know that *I* would definitely want to know if anything
>> was being uninstalled without my knowledge.
>
> Certainly you would want to know this on *your* machine, especially if it
> was software *you* purchased and installed.
>
> I suspect that, in the OP's environment, the workstations belong to a
> company not the individual users, and that software is being deinstalled for
> a valid business purpose, whether in advance of an upgrade or because they
> are replacing it with something completely different.
>
> We routinely install and upgrade software without the participation of the
> end user, as it is not their job to configure software, or to decide which
> software is installed.
>
> /Al
>
>
> installation and de-installation
>
>
>
That sounds perfectly reasonable to me. The methodology could also be
applied to software that, perhaps, was installed against company
policies too.

Questor
My System SpecsSystem Spec
Old 03-09-2009   #5 (permalink)
Dcataldo


 
 

Re: How to uninstall software silently



"Questor" wrote:
Quote:

> --->
Quote:

> > "Questor" <Questor@xxxxxx> wrote in message
> > news:Opl8Ek1nJHA.1216@xxxxxx
Quote:

> >> --->
> >>> Ok I made a script that uninstalls act 6.0 from users desktop. The
> >>> script works but I don't know the switches to make it silently uninstall
> >>> and to force it. For example when I run the script it asks me are you
> >>> sure then click next bla bla. Can some please help
> >>>
> >>> ? -----------------------------------------------------------------------------------------------
> >>> const HKEY_LOCAL_MACHINE = &H80000002
> >>> strComputer = "."
> >>> Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
> >>> strComputer & "\root\default:StdRegProv")
> >>> Set WshShell = WScript.CreateObject("WScript.Shell")
> >>>
> >>> ' Uninstall first application...
> >>> strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ACT!"
> >>> strValueName = "UninstallString"
> >>> oReg.GetStringValue
> >>> HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strUninstallFullPath
> >>> If IsNull(strUninstallFullPath) Then
> >>> ' wscript.echo "Uninstall path for app1 is null"
> >>> Else
> >>>
> >>> tst="unwise.exe"
> >>> pos=instr(lcase(strUninstallFullPath),tst)
> >>> if pos>0 then
> >>> 'found unwise.exe
> >>> pos=pos+len(tst)
> >>> strUninstallFullPath=left(strUninstallFullPath,pos) & "/s " &
> >>> mid(strUninstallFullPath,pos)
> >>>
> >>> 'I have commented out the following as your last post indicated
> >>> that the -y part should be skipped
> >>> ' if I have misunderstood you should enable it again
> >>> ' strUninstallFullPath=strUninstallFullPath & " -f"
> >>> '<--- change as needed
> >>>
> >>> End if WshShell.Run strUninstallFullPath,8,true
> >>>
> >>> End If
> >>>
> >>> Set WshShell = Nothing
> >>> Set oReg = Nothing
> >> Not knowing the circumstances of why you created this script, AND
> >> certainly not taking a swipe at the reasons for it, I am curious as to why
> >> someone would want to uninstall anything from a computer without the user
> >> knowing it. I do know that *I* would definitely want to know if anything
> >> was being uninstalled without my knowledge.
> >
> > Certainly you would want to know this on *your* machine, especially if it
> > was software *you* purchased and installed.
> >
> > I suspect that, in the OP's environment, the workstations belong to a
> > company not the individual users, and that software is being deinstalled for
> > a valid business purpose, whether in advance of an upgrade or because they
> > are replacing it with something completely different.
> >
> > We routinely install and upgrade software without the participation of the
> > end user, as it is not their job to configure software, or to decide which
> > software is installed.
> >
> > /Al
> >
> >
> > installation and de-installation
> >
> >
> >
>
> That sounds perfectly reasonable to me. The methodology could also be
> applied to software that, perhaps, was installed against company
> policies too.
>
> Questor
-----------------------------------------------------------------------------------------------
Ok well i was working on my script i slimed it down just can't uninstall it
silently and forcefuly. To ans your question questor im in a business and
our It dept manages the sofeware what has to be install and uninstall the
user has no rights. I have 70 users using this software and i dont feel like
going to each machine. So does anyone help me out here.

Here the updates script:
------------------------------------------------------------------------------------------------
Set WshShell = Nothing
Set oReg = Nothing

const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:StdRegProv")
Set WshShell = WScript.CreateObject("WScript.Shell")

' Uninstall first application...
strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ACT!"
strValueName = "UninstallString"
oReg.GetStringValue
HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strUninstallFullPath
If IsNull(strUninstallFullPath) Then
' wscript.echo "Uninstall path for app1 is null"
Else

WshShell.Run strUninstallFullPath,8,true

End If
Quote:

>Dom
My System SpecsSystem Spec
Old 03-09-2009   #6 (permalink)
Al Dunbar


 
 

Re: How to uninstall software silently


"Dcataldo" <Dcataldo@xxxxxx> wrote in message
news:A63609EF-D4E3-4916-96AC-2AC30FA51F3D@xxxxxx
Quote:

>
>
> "Questor" wrote:
>
Quote:

>> --->
Quote:

>> > "Questor" <Questor@xxxxxx> wrote in message
>> > news:Opl8Ek1nJHA.1216@xxxxxx
>> >> --->
>> >>> Ok I made a script that uninstalls act 6.0 from users desktop. The
>> >>> script works but I don't know the switches to make it silently
>> >>> uninstall
>> >>> and to force it. For example when I run the script it asks me are
>> >>> you
>> >>> sure then click next bla bla. Can some please help
>> >>>
>> >>>
>> >>> -----------------------------------------------------------------------------------------------
>> >>> const HKEY_LOCAL_MACHINE = &H80000002
>> >>> strComputer = "."
>> >>> Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\"
>> >>> &_
>> >>> strComputer & "\root\default:StdRegProv")
>> >>> Set WshShell = WScript.CreateObject("WScript.Shell")
>> >>>
>> >>> ' Uninstall first application...
>> >>> strKeyPath =
>> >>> "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ACT!"
>> >>> strValueName = "UninstallString"
>> >>> oReg.GetStringValue
>> >>> HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strUninstallFullPath
>> >>> If IsNull(strUninstallFullPath) Then
>> >>> ' wscript.echo "Uninstall path for app1 is null"
>> >>> Else
>> >>>
>> >>> tst="unwise.exe"
>> >>> pos=instr(lcase(strUninstallFullPath),tst)
>> >>> if pos>0 then
>> >>> 'found unwise.exe
>> >>> pos=pos+len(tst)
>> >>> strUninstallFullPath=left(strUninstallFullPath,pos) & "/s " &
>> >>> mid(strUninstallFullPath,pos)
>> >>>
>> >>> 'I have commented out the following as your last post indicated
>> >>> that the -y part should be skipped
>> >>> ' if I have misunderstood you should enable it again
>> >>> ' strUninstallFullPath=strUninstallFullPath & " -f"
>> >>> '<--- change as needed
>> >>>
>> >>> End if WshShell.Run strUninstallFullPath,8,true
>> >>>
>> >>> End If
>> >>>
>> >>> Set WshShell = Nothing
>> >>> Set oReg = Nothing
>> >> Not knowing the circumstances of why you created this script, AND
>> >> certainly not taking a swipe at the reasons for it, I am curious as to
>> >> why
>> >> someone would want to uninstall anything from a computer without the
>> >> user
>> >> knowing it. I do know that *I* would definitely want to know if
>> >> anything
>> >> was being uninstalled without my knowledge.
>> >
>> > Certainly you would want to know this on *your* machine, especially if
>> > it
>> > was software *you* purchased and installed.
>> >
>> > I suspect that, in the OP's environment, the workstations belong to a
>> > company not the individual users, and that software is being
>> > deinstalled for
>> > a valid business purpose, whether in advance of an upgrade or because
>> > they
>> > are replacing it with something completely different.
>> >
>> > We routinely install and upgrade software without the participation of
>> > the
>> > end user, as it is not their job to configure software, or to decide
>> > which
>> > software is installed.
>> >
>> > /Al
>> >
>> >
>> > installation and de-installation
>> >
>> >
>> >
>>
>> That sounds perfectly reasonable to me. The methodology could also be
>> applied to software that, perhaps, was installed against company
>> policies too.
>>
>> Questor
> -----------------------------------------------------------------------------------------------
> Ok well i was working on my script i slimed it down just can't uninstall
> it
> silently and forcefuly. To ans your question questor im in a business and
> our It dept manages the sofeware what has to be install and uninstall the
> user has no rights. I have 70 users using this software and i dont feel
> like
> going to each machine. So does anyone help me out here.
>
> Here the updates script:
> ------------------------------------------------------------------------------------------------
> Set WshShell = Nothing
> Set oReg = Nothing
>
> const HKEY_LOCAL_MACHINE = &H80000002
> strComputer = "."
> Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
> strComputer & "\root\default:StdRegProv")
> Set WshShell = WScript.CreateObject("WScript.Shell")
>
> ' Uninstall first application...
> strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ACT!"
> strValueName = "UninstallString"
> oReg.GetStringValue
> HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strUninstallFullPath
> If IsNull(strUninstallFullPath) Then
> ' wscript.echo "Uninstall path for app1 is null"
> Else
>
> WshShell.Run strUninstallFullPath,8,true
>
> End If
As I understand it, this script will uninstall the software on the machine
you are logged into, but the uninstall program itself


My System SpecsSystem Spec
Old 03-10-2009   #7 (permalink)
Al Dunbar


 
 

Re: How to uninstall software silently


"Al Dunbar" <alandrub@xxxxxx> wrote in message
news:Oe2qfMRoJHA.5228@xxxxxx
Quote:

>
> "Dcataldo" <Dcataldo@xxxxxx> wrote in message
> news:A63609EF-D4E3-4916-96AC-2AC30FA51F3D@xxxxxx
Quote:

>>
>>
>> "Questor" wrote:
>>
Quote:

>>> --->
>>> > "Questor" <Questor@xxxxxx> wrote in message
>>> > news:Opl8Ek1nJHA.1216@xxxxxx
>>> >> --->
>>> >>> Ok I made a script that uninstalls act 6.0 from users desktop. The
>>> >>> script works but I don't know the switches to make it silently
>>> >>> uninstall
>>> >>> and to force it. For example when I run the script it asks me are
>>> >>> you
>>> >>> sure then click next bla bla. Can some please help
>>> >>>
>>> >>>
>>>
>>> >>> > -----------------------------------------------------------------------------------------------
>>> >>> const HKEY_LOCAL_MACHINE = &H80000002
>>> >>> strComputer = "."
>>> >>> Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\"
>>> >>> &_
>>> >>> strComputer & "\root\default:StdRegProv")
>>> >>> Set WshShell = WScript.CreateObject("WScript.Shell")
>>> >>>
>>> >>> ' Uninstall first application...
>>> >>> strKeyPath =
>>> >>> "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ACT!"
>>> >>> strValueName = "UninstallString"
>>> >>> oReg.GetStringValue
>>> >>> HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strUninstallFullPath
>>> >>> If IsNull(strUninstallFullPath) Then
>>> >>> ' wscript.echo "Uninstall path for app1 is null"
>>> >>> Else
>>> >>>
>>> >>> tst="unwise.exe"
>>> >>> pos=instr(lcase(strUninstallFullPath),tst)
>>> >>> if pos>0 then
>>> >>> 'found unwise.exe
>>> >>> pos=pos+len(tst)
>>> >>> strUninstallFullPath=left(strUninstallFullPath,pos) & "/s " &
>>> >>> mid(strUninstallFullPath,pos)
>>> >>>
>>> >>> 'I have commented out the following as your last post
>>> >>> indicated
>>> >>> that the -y part should be skipped
>>> >>> ' if I have misunderstood you should enable it again
>>> >>> ' strUninstallFullPath=strUninstallFullPath & " -f"
>>> >>> '<--- change as needed
>>> >>>
>>> >>> End if WshShell.Run strUninstallFullPath,8,true
>>> >>>
>>> >>> End If
>>> >>>
>>> >>> Set WshShell = Nothing
>>> >>> Set oReg = Nothing
>>> >> Not knowing the circumstances of why you created this script, AND
>>> >> certainly not taking a swipe at the reasons for it, I am curious as
>>> >> to why
>>> >> someone would want to uninstall anything from a computer without the
>>> >> user
>>> >> knowing it. I do know that *I* would definitely want to know if
>>> >> anything
>>> >> was being uninstalled without my knowledge.
>>> >
>>> > Certainly you would want to know this on *your* machine, especially if
>>> > it
>>> > was software *you* purchased and installed.
>>> >
>>> > I suspect that, in the OP's environment, the workstations belong to a
>>> > company not the individual users, and that software is being
>>> > deinstalled for
>>> > a valid business purpose, whether in advance of an upgrade or because
>>> > they
>>> > are replacing it with something completely different.
>>> >
>>> > We routinely install and upgrade software without the participation of
>>> > the
>>> > end user, as it is not their job to configure software, or to decide
>>> > which
>>> > software is installed.
>>> >
>>> > /Al
>>> >
>>> >
>>> > installation and de-installation
>>> >
>>> >
>>> >
>>>
>>> That sounds perfectly reasonable to me. The methodology could also be
>>> applied to software that, perhaps, was installed against company
>>> policies too.
>>>
>>> Questor
>> -----------------------------------------------------------------------------------------------
>> Ok well i was working on my script i slimed it down just can't uninstall
>> it
>> silently and forcefuly. To ans your question questor im in a business
>> and
>> our It dept manages the sofeware what has to be install and uninstall the
>> user has no rights. I have 70 users using this software and i dont feel
>> like
>> going to each machine. So does anyone help me out here.
>>
>> Here the updates script:
>> ------------------------------------------------------------------------------------------------
>> Set WshShell = Nothing
>> Set oReg = Nothing
>>
>> const HKEY_LOCAL_MACHINE = &H80000002
>> strComputer = "."
>> Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
>> strComputer & "\root\default:StdRegProv")
>> Set WshShell = WScript.CreateObject("WScript.Shell")
>>
>> ' Uninstall first application...
>> strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ACT!"
>> strValueName = "UninstallString"
>> oReg.GetStringValue
>> HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strUninstallFullPath
>> If IsNull(strUninstallFullPath) Then
>> ' wscript.echo "Uninstall path for app1 is null"
>> Else
>>
>> WshShell.Run strUninstallFullPath,8,true
>>
>> End If
>
> As I understand it, this script will uninstall the software on the machine
> you are logged into, but the uninstall program itself
Sorry about that, fat fingers again...

As I understand it, this script will uninstall the software on the machine
you are logged into, but the uninstall program itself is trying to interact
with the user. I know of no generic "please do not interact with the user"
switch, so I suspect you will need to find out from the manufacturer what
options there might be, as these would seem to be specific to their program,
not to scripting in general.

If this is the kind of thing you have to deal with frequently, you might
consider taking a different approach and implementing something like SMS
(Systems Management Server). One of its features is that you can capture
changes made by and install or deinstall program into a package that can be
deployed to multiple workstations.

/Al


My System SpecsSystem Spec
Old 03-10-2009   #8 (permalink)
WianS


 
 

Re: How to uninstall software silently

Unwise.exe is the uninstaller for legacy Wise Installation scripts. /S
should be all you need to tell it to run silently.
My System SpecsSystem Spec
Old 03-10-2009   #9 (permalink)
hungerfordj


 
 

Re: How to uninstall software silently

On Mar 10, 8:39*am, WianS <w.ian.stu...@xxxxxx> wrote:
Quote:

> Unwise.exe is the uninstaller for legacy Wise Installation scripts. /S
> should be all you need to tell it to run silently.


A CMD line string called by the WshShell.exec method would work per
this link...

http://www.appdeploy.com/messageboar...le.asp?m=45824


"%comspec% /C ""C:\WINDOWS\IsUnInstAct.exe"" -f""C:\Program Files\ACT
\Uninst6.isu"" -c""C:\Program Files\ACT\UNINSTAL.DLL"""
My System SpecsSystem Spec
Old 03-11-2009   #10 (permalink)
Dcataldo


 
 

Re: How to uninstall software silently



"hungerfordj@xxxxxx" wrote:
Quote:

> On Mar 10, 8:39 am, WianS <w.ian.stu...@xxxxxx> wrote:
Quote:

> > Unwise.exe is the uninstaller for legacy Wise Installation scripts. /S
> > should be all you need to tell it to run silently.
>
>
>
> A CMD line string called by the WshShell.exec method would work per
> this link...
>
> http://www.appdeploy.com/messageboar...le.asp?m=45824
>
>
> "%comspec% /C ""C:\WINDOWS\IsUnInstAct.exe"" -f""C:\Program Files\ACT
> \Uninst6.isu"" -c""C:\Program Files\ACT\UNINSTAL.DLL"""
> ------------------------------------------------------------------------------------------
Wians thats a good approach but doesnt that mean i have to install it on
every machine.. Also hungerford that link is my forum and it works but not
silently or forcefully.. I know act uses Install shiled so now im thinking
of making ISS file and save the anwsers and try it that way. Can anyone help
me one were to begain on that.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Unable to uninstall software! Software
Can not uninstall software from control panel Vista account administration
unable to uninstall software Vista General
Software Uninstall/reinstall problem Vista General
unable to uninstall software Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46