View Single Post
 
Old 09-06-2015, 02:33 PM
Brocke Brocke is offline
Freshman
 
Join Date: Oct 2010
Posts: 42
Default silent msi install issue

Not sure what I'm doing wrong here my code looks right

Code:
   Dim p As Process = New Process()
                        Dim pi As ProcessStartInfo = New ProcessStartInfo()
                        pi.WindowStyle = ProcessWindowStyle.Hidden
                        pi.Arguments = "msiexec /i " & Chr(34) & My.Computer.FileSystem.SpecialDirectories.Temp.ToString & "\test.msi" & Chr(34) & " /qn"
                        pi.FileName = "cmd.exe"
                        p.StartInfo = pi
                        p.Start()
I'm trying to have my program get updated silent but its not working.

Not really positive what going on. Command line it works and close the program and updates.
Reply With Quote