VirtualBox

Changeset 52397 in vbox


Ignore:
Timestamp:
Aug 18, 2014 3:46:28 PM (10 years ago)
Author:
vboxsync
Message:

comregister.cmd: Added support for handling installation paths containing spaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/win/comregister.cmd

    r51611 r52397  
    77
    88REM
    9 REM Copyright (C) 2006-2013 Oracle Corporation
     9REM Copyright (C) 2006-2014 Oracle Corporation
    1010REM
    1111REM This file is part of VirtualBox Open Source Edition (OSE), as
     
    155155:register_x86
    156156@echo on
    157 %_VBOX_DIR%VBoxSVC.exe /UnregServer
    158 regsvr32 /s /u %_VBOX_DIR%VBoxC.dll
    159 %windir%\system32\regsvr32 /s /u %_VBOX_DIR%VBoxProxyStub.dll
     157"%_VBOX_DIR%VBoxSVC.exe" /UnregServer
     158regsvr32 /s /u "%_VBOX_DIR%VBoxC.dll"
     159%windir%\system32\regsvr32 /s /u "%_VBOX_DIR%VBoxProxyStub.dll"
    160160@if %fUninstallOnly% == 1 goto end
    161 %_VBOX_DIR%VBoxSVC.exe /RegServer
    162 regsvr32 /s    %_VBOX_DIR%VBoxC.dll
     161"%_VBOX_DIR%VBoxSVC.exe" /RegServer
     162regsvr32 /s    "%_VBOX_DIR%VBoxC.dll"
    163163@if %fNoProxy% == 1 goto end
    164 if exist %_VBOX_DIR%VBoxProxyStub.dll     %windir%\system32\regsvr32 /s %_VBOX_DIR%VBoxProxyStub.dll
     164if exist "%_VBOX_DIR%VBoxProxyStub.dll"     %windir%\system32\regsvr32 /s "%_VBOX_DIR%VBoxProxyStub.dll"
    165165@echo off
    166166goto end
     
    169169:register_amd64
    170170@echo on
    171 %_VBOX_DIR%VBoxSVC.exe /UnregServer
    172 %windir%\syswow64\regsvr32 /s /u %_VBOX_DIR%x86\VBoxClient-x86.dll
    173 %windir%\system32\regsvr32 /s /u %_VBOX_DIR%VBoxC.dll
    174 %windir%\system32\regsvr32 /s /u %_VBOX_DIR%VBoxProxyStub.dll
    175 %windir%\system32\regsvr32 /s /u %_VBOX_DIR%VBoxProxyStub-x86.dll
     171"%_VBOX_DIR%VBoxSVC.exe" /UnregServer
     172%windir%\syswow64\regsvr32 /s /u "%_VBOX_DIR%x86\VBoxClient-x86.dll"
     173%windir%\system32\regsvr32 /s /u "%_VBOX_DIR%VBoxC.dll"
     174%windir%\system32\regsvr32 /s /u "%_VBOX_DIR%VBoxProxyStub.dll"
     175%windir%\system32\regsvr32 /s /u "%_VBOX_DIR%VBoxProxyStub-x86.dll"
    176176@if %fUninstallOnly% == 1 goto end
    177 %_VBOX_DIR%VBoxSVC.exe /RegServer
    178 %windir%\system32\regsvr32 /s    %_VBOX_DIR%VBoxC.dll
    179 %windir%\syswow64\regsvr32 /s    %_VBOX_DIR%x86\VBoxClient-x86.dll
     177"%_VBOX_DIR%VBoxSVC.exe" /RegServer
     178%windir%\system32\regsvr32 /s    "%_VBOX_DIR%VBoxC.dll"
     179%windir%\syswow64\regsvr32 /s    "%_VBOX_DIR%x86\VBoxClient-x86.dll"
    180180@if %fNoProxy% == 1 goto end
    181 if exist %_VBOX_DIR%VBoxProxyStub.dll     %windir%\system32\regsvr32 /s %_VBOX_DIR%VBoxProxyStub.dll
    182 if exist %_VBOX_DIR%VBoxProxyStub-x86.dll %windir%\system32\regsvr32 /s %_VBOX_DIR%VBoxProxyStub-x86.dll
     181if exist "%_VBOX_DIR%VBoxProxyStub.dll"     %windir%\system32\regsvr32 /s "%_VBOX_DIR%VBoxProxyStub.dll"
     182if exist "%_VBOX_DIR%VBoxProxyStub-x86.dll" %windir%\system32\regsvr32 /s "%_VBOX_DIR%VBoxProxyStub-x86.dll"
    183183@echo off
    184184
    185185:end
    186186@endlocal
    187 
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