call it the right way

This commit is contained in:
Lars Brubaker 2014-11-18 16:09:20 -08:00
parent 6c0619f106
commit b81dfc010f

View file

@ -31,7 +31,7 @@ namespace MatterHackers.InfInstaller
{
Process driverInstallerProcess = new Process();
driverInstallerProcess.StartInfo.Arguments = "/a {0}".FormatWith(Path.GetFullPath(pathAndDriverToInstall));
driverInstallerProcess.StartInfo.Arguments = "-a {0}".FormatWith(Path.GetFullPath(pathAndDriverToInstall));
driverInstallerProcess.StartInfo.CreateNoWindow = true;
driverInstallerProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;