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){
|
private boolean runUpdate(File file){
|
||||||
Process updateProcess = null;
|
Process updateProcess = null;
|
||||||
ProcessBuilder pb = new ProcessBuilder("cmd", "/c", file.getAbsolutePath(), "/S", "/D="+selectProgramFile());
|
ProcessBuilder pb = new ProcessBuilder("cmd", "/c", file.getAbsolutePath(), "/S");
|
||||||
try {
|
try {
|
||||||
updateProcess = pb.start();
|
updateProcess = pb.start();
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user