VirtualBox

Changeset 108783 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Mar 28, 2025 1:26:22 PM (3 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168216
Message:

Windows Guest Additions installer: Bugfixes for Shared Folders installation on arm64. bugref:10734

Location:
trunk/src/VBox/Additions/WINNT/Installer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh

    r108772 r108783  
    588588
    589589;;
    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.
    591592;
    592593; Input:
     
    597598!macro SetAppMode32 un
    598599Function ${un}SetAppMode32
    599   !if $%KBUILD_TARGET_ARCH% == "amd64"
     600  !if $%KBUILD_TARGET_ARCH% != "x86" ; amd64 + arm64
     601    ${LogVerbose} "Setting application mode to 32-bit"
    600602    ${EnableX64FSRedirection}
    601603    SetRegView 32
     
    612614; Sets the installer's application mode.
    613615;
    614 ; Because this NSIS installer is always built in 32-bit mode, we have to
    615 ; 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.
    616618;
    617619; Input:
     
    622624!macro SetAppMode64 un
    623625Function ${un}SetAppMode64
    624   !if $%KBUILD_TARGET_ARCH% == "amd64"
     626  !if $%KBUILD_TARGET_ARCH% != "x86" ; amd64 + arm64
     627    ${LogVerbose} "Setting application mode to 64-bit"
    625628    ${DisableX64FSRedirection}
    626629    SetRegView 64
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh

    r108774 r108783  
    586586  !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxMRXNP.dll" "$g_strSystemDir\VBoxMRXNP.dll" "$INSTDIR"
    587587  AccessControl::GrantOnFile "$g_strSystemDir\VBoxMRXNP.dll" "(BU)" "GenericRead"
    588   !if $%KBUILD_TARGET_ARCH% == "amd64"
    589     ; Only 64-bit installer: Copy the 32-bit DLL 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.
    590590    !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxMRXNP-x86.dll" "$g_strSysWow64\VBoxMRXNP.dll" "$INSTDIR"
    591591    AccessControl::GrantOnFile "$g_strSysWow64\VBoxMRXNP.dll" "(BU)" "GenericRead"
Note: See TracChangeset for help on using the changeset viewer.

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