Home All Groups Group Topic Archive Search About

How to uninstall msi silently

Author
25 Oct 2006 3:50 PM
Milan
Hi,

How to uninstall msi silently ? I m using VS2005
would like to uninstalled privious version silently.

Kindly guide

Milan

Author
25 Oct 2006 8:28 PM
Steve Long
How 'bout:

Dim P as Process

p = New Process
p.StartInfo.FileName = "MsiExec.exe"
p.StartInfo.Arguments = "/x " & s & " /Qb"        ' s is the name listed in
Add/Remove Programs
p.Start()
p.WaitForExit()
p.Close()
p = Nothing

Also, you can type MsiExec.exe /? on a command line to get a list of
switchs.


Show quoteHide quote
"Milan" <milanwa***@googlemail.com> wrote in message
news:1161791425.828779.85280@i42g2000cwa.googlegroups.com...
> Hi,
>
> How to uninstall msi silently ? I m using VS2005
> would like to uninstalled privious version silently.
>
> Kindly guide
>
> Milan
>