Changeset 69357 in vbox for trunk/src/VBox/Additions/WINNT/SharedFolders/VBoxSFInst.cmd
- Timestamp:
- Oct 26, 2017 2:42:59 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/SharedFolders/VBoxSFInst.cmd
r68624 r69357 75 75 "%MY_VBOXDRVINST%" service delete VBoxSF 76 76 77 del "%SYSTEMROOT%\system32\drivers\VBoxSF.sys" 78 del "%SYSTEMROOT%\system32\VBoxMRXNP.dll" 79 if "%PROCESSOR_ARCHITECTURE%" == "AMD64" del "%SYSTEMROOT%\SysWOW64\VBoxMRXNP.dll" 77 del "%SYSTEMROOT%\system32\drivers\VBoxSF.sys" 78 del "%SYSTEMROOT%\system32\VBoxMRXNP.dll" 79 if "%PROCESSOR_ARCHITECTURE%" == "AMD64" del "%SYSTEMROOT%\SysWOW64\VBoxMRXNP.dll" 80 80 81 81 82 rem 82 rem 83 83 rem Install anything? 84 rem 84 rem 85 85 if "%1" == "-u" goto end 86 86 if "%1" == "--uninstall" goto end 87 87 88 rem 88 rem 89 89 rem Copy the new files to the system dir. 90 rem 90 rem 91 91 echo "Copying files..." 92 copy "%MY_VBOXSF_SYS%" "%SYSTEMROOT%\system32\drivers\" 93 copy "%MY_VBOXMRXNP_DLL%" "%SYSTEMROOT%\system32\" 92 copy "%MY_VBOXSF_SYS%" "%SYSTEMROOT%\system32\drivers\" 93 copy "%MY_VBOXMRXNP_DLL%" "%SYSTEMROOT%\system32\" 94 94 if "%PROCESSOR_ARCHITECTURE%" == "AMD64" copy "%MY_VBOXMRXNP_X86_DLL%" "%SYSTEMROOT%\SysWow64\VBoxMRXNP.dll" 95 95 96 96 rem 97 97 rem Register the service. 98 rem 98 rem 99 99 echo "Installing service..." 100 100 "%MY_VBOXDRVINST%" service create VBoxSF "VirtualBox Shared Folders" 2 1 "%SYSTEMROOT%\System32\drivers\VBoxSF.sys" NetworkProvider
Note:
See TracChangeset
for help on using the changeset viewer.