Set up NSIS to be silennt
This commit is contained in:
@@ -25,7 +25,7 @@ public class WindowsUpdatePostProcessor {
|
|||||||
|
|
||||||
private boolean runUpdate(File file){
|
private boolean runUpdate(File file){
|
||||||
Process updateProcess = null;
|
Process updateProcess = null;
|
||||||
ProcessBuilder pb = new ProcessBuilder("cmd", "/c", file.getAbsolutePath());
|
ProcessBuilder pb = new ProcessBuilder("cmd", "/c", file.getAbsolutePath(), "/S", "/D="+selectProgramFile());
|
||||||
try {
|
try {
|
||||||
updateProcess = pb.start();
|
updateProcess = pb.start();
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user