- 時間撮記:
- 2024-11-8 下午04:39:19 (5 月 以前)
- svn:sync-xref-src-repo-rev:
- 165817
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsNT4.nsh
r106061 r106896 162 162 163 163 ; Install guest driver 164 ${CmdExecute} "$\"$INSTDIR\VBox DrvInst.exe$\" service create $\"VBoxGuest$\" $\"VBoxGuest Support Driver$\" 1 1 $\"$SYSDIR\drivers\VBoxGuest.sys$\" $\"Base$\"" 'non-zero-exitcode=abort'164 ${CmdExecute} "$\"$INSTDIR\VBoxGuestInstallHelper.exe$\" service create $\"VBoxGuest$\" $\"VBoxGuest Support Driver$\" 1 1 $\"$SYSDIR\drivers\VBoxGuest.sys$\" $\"Base$\"" 'non-zero-exitcode=abort' 165 165 166 166 ; Bugfix: Set "Start" to 1, otherwise, VBoxGuest won't start on boot-up! … … 173 173 174 174 ; Video driver 175 ${CmdExecute} "$\"$INSTDIR\VBox DrvInst.exe$\" driver nt4-install-video" 'non-zero-exitcode=abort'175 ${CmdExecute} "$\"$INSTDIR\VBoxGuestInstallHelper.exe$\" driver nt4-install-video" 'non-zero-exitcode=abort' 176 176 177 177 ; Create the VBoxService service 178 178 ; No need to stop/remove the service here! Do this only on uninstallation! 179 179 ${LogVerbose} "Installing VirtualBox service ..." 180 ${CmdExecute} "$\"$INSTDIR\VBox DrvInst.exe$\" service create $\"VBoxService$\" $\"VirtualBox Guest Additions Service$\" 16 2 $\"%SystemRoot%\system32\VBoxService.exe$\" $\"Base$\"" 'non-zero-exitcode=abort'180 ${CmdExecute} "$\"$INSTDIR\VBoxGuestInstallHelper.exe$\" service create $\"VBoxService$\" $\"VirtualBox Guest Additions Service$\" 16 2 $\"%SystemRoot%\system32\VBoxService.exe$\" $\"Base$\"" 'non-zero-exitcode=abort' 181 181 182 182 ; Create the Shared Folders service ... … … 196 196 197 197 ; Add the shared folders network provider 198 ;${CmdExecute} "$\"$INSTDIR\VBox DrvInst.exe$\" netprovider add VBoxSF" 'non-zero-exitcode=abort'198 ;${CmdExecute} "$\"$INSTDIR\VBoxGuestInstallHelper.exe$\" netprovider add VBoxSF" 'non-zero-exitcode=abort' 199 199 200 200 FunctionEnd … … 237 237 238 238 ; Remove the guest driver service 239 ${CmdExecute} "$\"$INSTDIR\VBox DrvInst.exe$\" service delete VBoxGuest" 'non-zero-exitcode=log'239 ${CmdExecute} "$\"$INSTDIR\VBoxGuestInstallHelper.exe$\" service delete VBoxGuest" 'non-zero-exitcode=log' 240 240 Delete /REBOOTOK "$SYSDIR\drivers\VBoxGuest.sys" 241 241 242 242 ; Delete the VBoxService service 243 243 Call ${un}StopVBoxService 244 ${CmdExecute} "$\"$INSTDIR\VBox DrvInst.exe$\" service delete VBoxService" 'non-zero-exitcode=log'244 ${CmdExecute} "$\"$INSTDIR\VBoxGuestInstallHelper.exe$\" service delete VBoxService" 'non-zero-exitcode=log' 245 245 DeleteRegValue HKLM "Software\Microsoft\Windows\CurrentVersion\Run" "VBoxService" 246 246 Delete /REBOOTOK "$SYSDIR\VBoxService.exe" … … 257 257 258 258 ; Delete the VBoxVideo service 259 ${CmdExecute} "$\"$INSTDIR\VBox DrvInst.exe$\" service delete VBoxVideo" 'non-zero-exitcode=log'259 ${CmdExecute} "$\"$INSTDIR\VBoxGuestInstallHelper.exe$\" service delete VBoxVideo" 'non-zero-exitcode=log' 260 260 261 261 ; Delete the VBox video driver files
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器