儲存庫 vbox 的更動 34729
- 時間撮記:
- 2010-12-6 上午10:44:21 (14 年 以前)
- 位置:
- trunk/src/VBox/Additions/WINNT/Installer
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r34677 r34729 1106 1106 ${EndIf} 1107 1107 1108 ; Is a reboot needed first in order to (re-)install the Guest Additions? 1109 Call IsRebootNeeded 1110 Pop $0 1111 ${If} $0 == "1" 1112 MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 $(VBOX_REBOOT_REQUIRED) /SD IDNO IDNO +2 1113 Reboot ; IDYES 1114 Abort ; IDNO 1115 ${EndIf} 1116 1108 1117 ; Only uninstall? 1109 1118 ${If} $g_bUninstall == "true" … … 1167 1176 MessageBox MB_ICONINFORMATION|MB_OK $(VBOX_UNINST_SUCCESS) /SD IDOK 1168 1177 1178 ; Prevent the installer from running again without telling the user 1179 ; to reboot the OS first. This should be done in case of still running drivers 1180 ; after uninstallation 1181 Push 1 1182 Call SetRebootNeeded 1183 1169 1184 FunctionEnd 1170 1185 … … 1233 1248 restart: 1234 1249 1235 DetailPrint "Re booting..."1250 DetailPrint "Restarting computer ..." 1236 1251 Reboot 1237 1252 -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
r34677 r34729 231 231 !insertmacro CheckArchitecture "un." 232 232 233 !macro IsRebootNeeded un 234 Function ${un}IsRebootNeeded 235 236 Push $0 237 ReadRegDWORD $0 HKLM "Software\Microsoft\Windows\CurrentVersion\RunOnce" "VBoxGuestAdditionsRebootNeeded" 238 Push $0 239 240 FunctionEnd 241 !macroend 242 !insertmacro IsRebootNeeded "" 243 !insertmacro IsRebootNeeded "un." 244 245 !macro SetRebootNeeded un 246 Function ${un}SetRebootNeeded 247 248 Pop $0 249 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\RunOnce" "VBoxGuestAdditionsRebootNeeded" $0 250 251 FunctionEnd 252 !macroend 253 !insertmacro SetRebootNeeded "" 254 !insertmacro SetRebootNeeded "un." 255 233 256 !macro GetWindowsVer un 234 257 Function ${un}GetWindowsVer
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器