VirtualBox

Ignore:
Timestamp:
Oct 26, 2017 2:42:59 PM (7 years ago)
Author:
vboxsync
Message:

GA/WINNT/SharedFolders: scm cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/SharedFolders/VBoxSFInst.cmd

    r68624 r69357  
    7575"%MY_VBOXDRVINST%" service delete VBoxSF
    7676
    77 del "%SYSTEMROOT%\system32\drivers\VBoxSF.sys" 
    78 del "%SYSTEMROOT%\system32\VBoxMRXNP.dll" 
    79 if "%PROCESSOR_ARCHITECTURE%" == "AMD64" del "%SYSTEMROOT%\SysWOW64\VBoxMRXNP.dll" 
     77del "%SYSTEMROOT%\system32\drivers\VBoxSF.sys"
     78del "%SYSTEMROOT%\system32\VBoxMRXNP.dll"
     79if "%PROCESSOR_ARCHITECTURE%" == "AMD64" del "%SYSTEMROOT%\SysWOW64\VBoxMRXNP.dll"
    8080
    8181
    82 rem 
     82rem
    8383rem Install anything?
    84 rem 
     84rem
    8585if "%1" == "-u" goto end
    8686if "%1" == "--uninstall" goto end
    8787
    88 rem 
     88rem
    8989rem Copy the new files to the system dir.
    90 rem 
     90rem
    9191echo "Copying files..."
    92 copy "%MY_VBOXSF_SYS%"    "%SYSTEMROOT%\system32\drivers\" 
    93 copy "%MY_VBOXMRXNP_DLL%" "%SYSTEMROOT%\system32\" 
     92copy "%MY_VBOXSF_SYS%"    "%SYSTEMROOT%\system32\drivers\"
     93copy "%MY_VBOXMRXNP_DLL%" "%SYSTEMROOT%\system32\"
    9494if "%PROCESSOR_ARCHITECTURE%" == "AMD64" copy "%MY_VBOXMRXNP_X86_DLL%" "%SYSTEMROOT%\SysWow64\VBoxMRXNP.dll"
    9595
    9696rem
    9797rem Register the service.
    98 rem 
     98rem
    9999echo "Installing service..."
    100100"%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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette