Changeset 109134 in vbox for trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
- Timestamp:
- May 1, 2025 8:47:02 AM (9 days ago)
- svn:sync-xref-src-repo-rev:
- 168686
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r109121 r109134 66 66 !define REGISTRY_VAL_ORG_MOUSE_PATH "MousePath" 67 67 68 ; Needed for InstallLib macro: Install libraries in every case.69 !define LIBRARY_IGNORE_VERSION70 71 68 VIProductVersion "${PRODUCT_VERSION}" 72 69 VIAddVersionKey "FileVersion" "$%VBOX_VERSION_STRING%" … … 109 106 !endif 110 107 !include "winver.nsh" ; Function for determining Windows version. 111 !define REPLACEDLL_NOREGISTER ; Replace in use DLL function. 112 !include "ReplaceDLL.nsh" 108 109 ; Needed for the InstallLib macro (defined in NSIS' Library.nsh): 110 ; 111 ; Make sure we always replace DLLs, no matter if the version is the same. 112 ; This also is needed for supporting downgrades. 113 !define LIBRARY_IGNORE_VERSION 113 114 114 115 !if $%KBUILD_TARGET_ARCH% == "amd64" … … 738 739 ; Use VBoxCredProv on Vista and up. 739 740 ${LogVerbose} "Installing VirtualBox credential provider ..." 740 !insertmacro ReplaceDLL"$%PATH_OUT%\bin\additions\VBoxCredProv.dll" "$g_strSystemDir\VBoxCredProv.dll" "$INSTDIR"741 !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\VBoxCredProv.dll" "$g_strSystemDir\VBoxCredProv.dll" "$INSTDIR" 741 742 WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}" "" "VBoxCredProv" ; adding to (default) key 742 743 WriteRegStr HKCR "CLSID\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}" "" "VBoxCredProv" ; adding to (Default) key … … 749 750 !endif 750 751 ${LogVerbose} "Installing VirtualBox GINA ..." 751 !insertmacro ReplaceDLL"$%PATH_OUT%\bin\additions\VBoxGINA.dll" "$g_strSystemDir\VBoxGINA.dll" "$INSTDIR"752 !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED "$%PATH_OUT%\bin\additions\VBoxGINA.dll" "$g_strSystemDir\VBoxGINA.dll" "$INSTDIR" 752 753 WriteRegStr HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" "GinaDLL" "VBoxGINA.dll" 753 754 ; Add Windows notification package callbacks for VBoxGINA
Note:
See TracChangeset
for help on using the changeset viewer.