summaryrefslogtreecommitdiff
path: root/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2022-09-11 00:34:46 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2022-09-11 00:34:46 +0000
commit3c4c9310d3626dc87c31f498035661c37daa618b (patch)
tree39003eab10a78dbf4a63c74610a4817f3accaf2e /src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
parentbe8c3a7995c86c8c276669a3dee09603c19b7e9b (diff)
downloadVirtualBox-svn-3c4c9310d3626dc87c31f498035661c37daa618b.tar.gz
Add/Nt/Installer: Changed the 2nd parameter of ${CmdExecute} from a 'true/false' to a more explicit 'non-zero-exitcode=log/abort' to make it explicitly clear what's going to happen on failure. Always save the install_ui.log. bugref:10261
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@96687 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh')
-rw-r--r--src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh b/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
index db1b2391728..e819db62a7c 100644
--- a/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
+++ b/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
@@ -467,7 +467,7 @@ Function ${un}AbortShutdown
${If} ${FileExists} "$g_strSystemDir\shutdown.exe"
; Try to abort the shutdown
- ${CmdExecute} "$\"$g_strSystemDir\shutdown.exe$\" -a" "true"
+ ${CmdExecute} "$\"$g_strSystemDir\shutdown.exe$\" -a" 'non-zero-exitcode=log'
${Else}
${LogVerbose} "Shutting down not supported: Binary $\"$g_strSystemDir\shutdown.exe$\" not found"
${EndIf}