Driver:
execute env.bat so that kmk_ash can be found
check if succeeded
start VBoxDrv after installation

===================================================================
--- a/src/VBox/HostDrivers/win/loadall.cmd      (revision 43841)
+++ b/src/VBox/HostDrivers/win/loadall.cmd      (working copy)
@@ -15,6 +15,7 @@
 rem VirtualBox OSE distribution. VirtualBox OSE is distributed in the
 rem hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
 rem
+call %~d0%~p0\..\..\..\..\env.ba
 
 
 setlocal ENABLEEXTENSIONS
@@ -36,6 +37,10 @@
 set MY_ARGS=%*
 if ".%MY_ARGS%." NEQ ".." set MY_ARGS=%MY_ARGS:\=/%
 kmk_ash %MY_SCRIPT% %MY_ARGS%
+if %=exitcode% NEQ 0 (
+  echo maybe missing admin rights ?
+  pause 
+)
 
 :end
 endlocal

===================================================================
--- a/src/VBox/HostDrivers/win/loadall.sh       (revision 43841)
+++ b/src/VBox/HostDrivers/win/loadall.sh       (working copy)
@@ -64,7 +64,10 @@
 for inst in SUPInstall.exe USBInstall.exe NetFltInstall.exe ;
#NetAdpInstall.exe; - busted
 do
     if test -f ${MY_DIR}/$inst; then
-        ${MY_DIR}/$inst
+               ${MY_DIR}/$inst
+               if [ "$inst" = "SUPInstall.exe" ]
+                 then sc start VBoxDrv
+               fi
     fi
 done


This Patch is contributed under the MIT license

Regards
Bodo


_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to