Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim uninstallString As String = GetUninstallStr("Yahoo") Dim UninstallProcess As New System.Diagnostics.Process() 'temp will hold something like this: /I{AC76BA86-7AD7-1033-7B44-A81200000003} Dim temp As String = uninstallString.Substring(12) 'The FileName will be: MsiExec.exe UninstallProcess.StartInfo.FileName = uninstallString.Split("/".ToCharArray)(0) UninstallProcess.StartInfo.Arguments = temp UninstallProcess.Start() End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)