How to run a setup.exe in passive mode?

Koz

Member
Joined
Dec 13, 2011
Messages
8
Programming Experience
Beginner
Hi,

I have a program I wrote in VB and it does a software check on a computer using a USB stick. When my application launches if something isnt installed the program will execute the setup file for the software/update needed. Is there a way to have it install without having to click on next through the wizard? I read something about using parameters and using passive mode? Any ideas? Thanks!

Here is part of my code:
Dim p As New Process
p.StartInfo.FileName = "\windows6.1-KB976932-X86.exe"
p.StartInfo.WindowStyle = ProcessWindowStyle.Normal
p.Start()
Console.WriteLine(p.ProcessName)
 
p.WaitForExit()
 
Back
Top