Don't pass the /D flag it's not required
This commit is contained in:
@ -30,7 +30,7 @@ public class WindowsUpdatePostProcessor implements UpdatePostProcessor {
|
||||
|
||||
private boolean runUpdate(File file){
|
||||
Process updateProcess = null;
|
||||
ProcessBuilder pb = new ProcessBuilder("cmd", "/c", file.getAbsolutePath(), "/S", "/D="+selectProgramFile());
|
||||
ProcessBuilder pb = new ProcessBuilder("cmd", "/c", file.getAbsolutePath(), "/S");
|
||||
try {
|
||||
updateProcess = pb.start();
|
||||
} catch (IOException ex) {
|
||||
|
Reference in New Issue
Block a user