diff --git a/plugins/updater/src/config.rs b/plugins/updater/src/config.rs index 01238760..757a5349 100644 --- a/plugins/updater/src/config.rs +++ b/plugins/updater/src/config.rs @@ -32,6 +32,9 @@ impl WindowsUpdateInstallMode { /// Returns the associated nsis arguments. pub fn nsis_args(&self) -> &'static [&'static str] { + // `/P`: Passive + // `/S`: Silent + // `/R`: Restart match self { Self::Passive => &["/P", "/R"], Self::Quiet => &["/S", "/R"], diff --git a/plugins/updater/src/updater.rs b/plugins/updater/src/updater.rs index ebc0e694..9c794717 100644 --- a/plugins/updater/src/updater.rs +++ b/plugins/updater/src/updater.rs @@ -556,7 +556,6 @@ impl Update { match updater_type { WindowsUpdaterType::Nsis => { installer_args.extend(install_mode.nsis_args().iter().map(OsStr::new)); - installer_args.push(OsStr::new("/NS")); installer_args.push(OsStr::new("/UPDATE")); } WindowsUpdaterType::Msi => {