Re: How to uninstall msi silently

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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.


"Milan" <milanwarik@xxxxxxxxxxxxxx> wrote in message
news:1161791425.828779.85280@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

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

Kindly guide

Milan



.



Relevant Pages

  • RE: Run a Stored Procedure from Excel
    ... You also want to find out if you have a rsDW variable defined. ... Your code had a semicolon between the 2nd command and the ... Dim cnnDW As ADODB.Connection ... Set cnnDW = New ADODB.Connection ...
    (microsoft.public.excel.programming)
  • RE: Run a Stored Procedure from Excel
    ... "You also want to find out if you have a rsDW variable defined. ... Your code had a semicolon between the 2nd command and the ... Dim cnnDW As ADODB.Connection ... Set cnnDW = New ADODB.Connection ...
    (microsoft.public.excel.programming)
  • RE: Open Access 2003 or 2007 from Excel
    ... 'EXAMPLE OF ACCESS COMMAND TO CONTROL FORMS ... 'Dim dbMain As ADODB.Connection ... 'Dim dbMain As ADODB.Connection 'compile error: ... new computers that now have VISTA as the OS. ...
    (microsoft.public.excel.programming)
  • Re: Multiple table in dataset query
    ... If a row is marked as Modified, it will run your query defined in the ... Update Command object. ... Dim UpdateStaffCmd As New OleDb.OleDbCommand ... Private Sub frmStaff_Load(ByVal sender As System.Object, ...
    (microsoft.public.dotnet.framework.adonet)
  • Tool to get MCP ODT at Windows CMD prompt
    ... You basically send a series of ODT commands of your choosing, once, or in a loop, and get the output right in the command ... Dim sHostname ... Sub WriteIt ... WriteIt "" ...
    (comp.sys.unisys)