Changeset 103028 in vbox for trunk/src/VBox/Installer/win
- Timestamp:
- Jan 24, 2024 3:53:59 PM (10 months ago)
- Location:
- trunk/src/VBox/Installer/win
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.cpp
r100687 r103028 608 608 */ 609 609 /* Get the VBox API setup string. */ 610 WCHAR wszVBox SDKPath[RTPATH_MAX];611 rcWin = VBoxGetMsiProp(hModule, L"CustomActionData", wszVBox SDKPath, RT_ELEMENTS(wszVBoxSDKPath));610 WCHAR wszVBoxPythonInstallerPath[RTPATH_MAX]; 611 rcWin = VBoxGetMsiProp(hModule, L"CustomActionData", wszVBoxPythonInstallerPath, RT_ELEMENTS(wszVBoxPythonInstallerPath)); 612 612 if (rcWin == ERROR_SUCCESS) 613 613 { 614 614 /* Make sure our current working directory is the VBox installation path. */ 615 if (SetCurrentDirectoryW(wszVBox SDKPath))615 if (SetCurrentDirectoryW(wszVBoxPythonInstallerPath)) 616 616 { 617 617 /* Set required environment variables. */ 618 if (SetEnvironmentVariableW(L"VBOX_INSTALL_PATH", wszVBox SDKPath))619 { 620 logStringF(hModule, "InstallPythonAPI: Invoking vboxapisetup.py in \"%ls\" ...", wszVBox SDKPath);618 if (SetEnvironmentVariableW(L"VBOX_INSTALL_PATH", wszVBoxPythonInstallerPath)) /** @todo BUGBUG r=andy That can't be right! */ 619 { 620 logStringF(hModule, "InstallPythonAPI: Invoking vboxapisetup.py in \"%ls\" ...", wszVBoxPythonInstallerPath); 621 621 622 622 rcWin = procRun(hModule, wszPythonExe, L"vboxapisetup.py install"); … … 650 650 else 651 651 logStringF(hModule, "InstallPythonAPI: Could set working directory to \"%ls\": LastError=%u", 652 wszVBox SDKPath, GetLastError());652 wszVBoxPythonInstallerPath, GetLastError()); 653 653 } 654 654 else -
trunk/src/VBox/Installer/win/VBoxMergePython.wxi
r98103 r103028 33 33 <Component Id="cp_VBoxPyInst" Guid="C9A40306-5102-11DE-A7BA-C3C555D89593" Win64="$(var.Property_Win64)"> 34 34 <File Id="file_vboxapisetup.py" Name="vboxapisetup.py" 35 Source="$(env.PATH_OUT)\bin\sdk\installer\ vboxapisetup.py"35 Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapisetup.py" 36 36 DiskId="$(var.Property_DiskIdCommon)" /> 37 37 </Component> … … 39 39 <Component Id="cp_VBoxPyMod" Guid="DF19CB76-5102-11DE-943B-13C755D89593" Win64="$(var.Property_Win64)"> 40 40 <File Id="file___init__.py" Name="__init__.py" 41 Source="$(env.PATH_OUT)\bin\sdk\installer\ vboxapi\__init__.py"41 Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapi\__init__.py" 42 42 DiskId="$(var.Property_DiskIdCommon)" /> 43 43 <File Id="file_VirtualBox_constants.py" Name="VirtualBox_constants.py" 44 Source="$(env.PATH_OUT)\bin\sdk\installer\ vboxapi\VirtualBox_constants.py"44 Source="$(env.PATH_OUT)\bin\sdk\installer\python\vboxapi\VirtualBox_constants.py" 45 45 DiskId="$(var.Property_DiskIdCommon)" /> 46 46 </Component> -
trunk/src/VBox/Installer/win/VirtualBox.wxs
r98103 r103028 384 384 <Directory Id="dir_SDK" Name="sdk"> 385 385 <?if $(env.VBOX_WITH_PYTHON) = "yes" ?> 386 <Directory Id="dir_SDKInstall" Name="install"> 387 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 388 <Merge Id="msm_VBoxPython" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergePython)" DiskId="1" /> 389 <?else ?> 390 <Directory Id="msm_VBoxPythonFolder" FileSource="."> 391 <?include VBoxMergePython.wxi ?> 386 <Directory Id="dir_SDKInstaller" Name="installer"> <!-- Note: For < VBox 7.1 this folder was called 'install'. --> 387 <Directory Id="dir_SDKInstallerPython" Name="python"> 388 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 389 <Merge Id="msm_VBoxPython" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergePython)" DiskId="1" /> 390 <?else ?> 391 <Directory Id="msm_VBoxPythonFolder" FileSource="."> 392 <?include VBoxMergePython.wxi ?> 393 </Directory> 394 <?endif ?> 392 395 </Directory> 393 <?endif ?>394 396 </Directory> 395 397 <?endif ?>
Note:
See TracChangeset
for help on using the changeset viewer.