Changeset 108783 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Mar 28, 2025 1:26:22 PM (3 weeks ago)
- svn:sync-xref-src-repo-rev:
- 168216
- Location:
- trunk/src/VBox/Additions/WINNT/Installer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
r108772 r108783 588 588 589 589 ;; 590 ; Switches (back) the path + registry view to 32-bit mode (SysWOW64) on 64-bit guests. 590 ; Switches (back) the path + registry view to 32-bit mode (SysWOW64) 591 ; for 64-bit Intel + ARM guests. 591 592 ; 592 593 ; Input: … … 597 598 !macro SetAppMode32 un 598 599 Function ${un}SetAppMode32 599 !if $%KBUILD_TARGET_ARCH% == "amd64" 600 !if $%KBUILD_TARGET_ARCH% != "x86" ; amd64 + arm64 601 ${LogVerbose} "Setting application mode to 32-bit" 600 602 ${EnableX64FSRedirection} 601 603 SetRegView 32 … … 612 614 ; Sets the installer's application mode. 613 615 ; 614 ; Because this NSIS installer is always built in 32-bit mode, we have to615 ; do some tricks for the Windows paths + registry on 64-bit guests.616 ; Because this NSIS installer is always built for x86 (32-bit), we have to 617 ; do some tricks for the Windows paths + registry on Intel + ARM 64-bit guests. 616 618 ; 617 619 ; Input: … … 622 624 !macro SetAppMode64 un 623 625 Function ${un}SetAppMode64 624 !if $%KBUILD_TARGET_ARCH% == "amd64" 626 !if $%KBUILD_TARGET_ARCH% != "x86" ; amd64 + arm64 627 ${LogVerbose} "Setting application mode to 64-bit" 625 628 ${DisableX64FSRedirection} 626 629 SetRegView 64 -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r108774 r108783 586 586 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxMRXNP.dll" "$g_strSystemDir\VBoxMRXNP.dll" "$INSTDIR" 587 587 AccessControl::GrantOnFile "$g_strSystemDir\VBoxMRXNP.dll" "(BU)" "GenericRead" 588 !if $%KBUILD_TARGET_ARCH% == "amd64" 589 ; Only 64-bit installer: Copy the 32-bitDLL for 32 bit applications.588 !if $%KBUILD_TARGET_ARCH% == "amd64" ; Note: Does not exist for arm64. 589 ; Only amd64 installer: Copy the x86 DLL for 32 bit applications. 590 590 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxMRXNP-x86.dll" "$g_strSysWow64\VBoxMRXNP.dll" "$INSTDIR" 591 591 AccessControl::GrantOnFile "$g_strSysWow64\VBoxMRXNP.dll" "(BU)" "GenericRead"
Note:
See TracChangeset
for help on using the changeset viewer.