Changeset 103028 in vbox for trunk/src/VBox/Installer/win/InstallHelper
- Timestamp:
- Jan 24, 2024 3:53:59 PM (16 months ago)
- svn:sync-xref-src-repo-rev:
- 161263
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.