Skip to content

Commit 5ff42ee

Browse files
committed
Driver install force rebooting disabled
Sometimes depending on which components are installed/updated NVIDIA wants to restart. It's not "old" and unused
1 parent 7fc6458 commit 5ff42ee

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1212
- Self updater crash when not launching in same working directory (Issue #224)
1313
- NanaZip access denied error (Issue #228)
1414
- Always override existing files when performing minimal install
15+
- Driver install force rebooting disabled
1516

1617
### Changed
1718
- Migrated to x64 built code, which means you will have to install the runtime again. This time a dialog will appear, and will assist you

TinyNvidiaUpdateChecker/MainConsole.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -821,11 +821,12 @@ private static void DownloadDriverQuiet(bool minimized, string downloadURL)
821821

822822
string fileName = minimalInstaller ? FULL_PATH_DIRECTORY + "setup.exe" : FULL_PATH_DRIVER;
823823

824-
ProcessStartInfo startInfo = new(fileName);
825-
startInfo.UseShellExecute = true;
824+
ProcessStartInfo startInfo = new(fileName) {
825+
UseShellExecute = true
826+
};
826827

827828
if (minimized) {
828-
startInfo.Arguments = "/s";
829+
startInfo.Arguments = "/s /noreboot";
829830
}
830831

831832
Process.Start(startInfo).WaitForExit();

0 commit comments

Comments
 (0)