How to uninstall msi silently

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Milan

    #1

    How to uninstall msi silently

    Hi,

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

    Kindly guide

    Milan

  • Steve Long

    #2
    Re: How to uninstall msi silently

    How 'bout:

    Dim P as Process

    p = New Process
    p.StartInfo.Fil eName = "MsiExec.ex e"
    p.StartInfo.Arg uments = "/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.


    "Milan" <milanwarik@goo glemail.comwrot e in message
    news:1161791425 .828779.85280@i 42g2000cwa.goog legroups.com...
    Hi,
    >
    How to uninstall msi silently ? I m using VS2005
    would like to uninstalled privious version silently.
    >
    Kindly guide
    >
    Milan
    >

    Comment

    Working...