Changeset 54120 in vbox for trunk/src/VBox/Additions/WINNT/Installer
- Timestamp:
- Feb 10, 2015 10:19:48 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 98131
- Location:
- trunk/src/VBox/Additions/WINNT/Installer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk
r44864 r54120 170 170 endif 171 171 endif 172 ifdef VBOX_WITH_MMR173 DRIVER_FILES += \174 $(PATH_STAGE_BIN)/additions/VBoxMMR.exe \175 $(PATH_STAGE_BIN)/additions/VBoxMMRHook.dll176 ifeq ($(KBUILD_TARGET_ARCH),amd64)177 DRIVER_FILES += \178 $(PATH_STAGE_BIN)/additions/VBoxMMR-x86.exe \179 $(PATH_STAGE_BIN)/additions/VBoxMMRHook-x86.dll180 endif181 endif182 172 183 173 … … 205 195 -E 'VBOX_WITH_WDDM=$(if $(VBOX_WITH_WDDM),1,0)' \ 206 196 -E 'VBOX_WITH_WDDM_W8=$(if $(VBOX_WITH_WDDM_W8),1,0)' \ 207 -E 'VBOX_WITH_MMR=$(if $(VBOX_WITH_MMR),1,0)' \208 197 -E 'VBOX_BRAND_WIN_ADD_INST_DLGBMP=$(subst /,\,$(VBOX_BRAND_WIN_ADD_INST_DLGBMP))' \ 209 198 -E 'VBOX_BRAND_LICENSE_RTF=$(subst /,\,$(VBOX_BRAND_LICENSE_RTF))' \ -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r53129 r54120 235 235 Var g_bNoMouseDrv ; Cmd line: Do not install the VBoxMouse driver 236 236 Var g_bWithAutoLogon ; Cmd line: Install VBoxGINA / VBoxCredProv for auto logon support 237 Var g_bWithVBoxMMR ; Cmd line: Install VBoxMMR for media redirection support238 237 Var g_bWithD3D ; Cmd line: Install Direct3D support 239 238 Var g_bOnlyExtract ; Cmd line: Only extract all files, do *not* install them. Only valid with param "/D" (target directory) … … 382 381 StrCpy $g_bWithAutoLogon "true" 383 382 ${Break} 384 385 !if $%VBOX_WITH_MMR% == "1"386 ${Case} '/with_vboxmmr'387 StrCpy $g_bWithVBoxMMR "true"388 ${Break}389 !endif390 383 391 384 !if $%VBOX_WITH_CROGL% == "1" … … 445 438 /with_autologon$\tInstalls auto-logon support$\r$\n \ 446 439 /with_d3d$\tInstalls D3D support$\r$\n \ 447 /with_vboxmmr$\tInstalls multimedia redirection (MMR) support$\r$\n \448 440 /with_wddm$\tInstalls the WDDM instead of the XPDM graphics driver$\r$\n \ 449 441 /xres=X$\t$\tSets the guest's display resolution (width in pixels)$\r$\n \ … … 589 581 ${Else} 590 582 ${LogVerbose} "Auto-logon support was not installed previously" 591 ${EndIf}592 593 ; Check for installed MMR support and enable updating594 ; those modules if needed595 ${If} ${FileExists} "$g_strSystemDir\VBoxMMR.exe"596 !if $%BUILD_TARGET_ARCH% == "amd64"597 ${AndIf} ${FileExists} "$g_strSysWow64\VBoxMMRHook.dll"598 !else599 ${AndIf} ${FileExists} "$g_strSystemDir\VBoxMMRHook.dll"600 !endif601 ${LogVerbose} "MultiMedia Redirection support (MMR) was installed previously"602 StrCpy $g_bWithVBoxMMR "true" ; Force update603 ${Else}604 ${LogVerbose} "MultiMedia Redirection support (MMR) support was not installed previously"605 583 ${EndIf} 606 584 … … 1106 1084 StrCpy $g_bNoMouseDrv "false" 1107 1085 StrCpy $g_bWithAutoLogon "false" 1108 StrCpy $g_bWithVBoxMMR "false"1109 1086 StrCpy $g_bWithD3D "false" 1110 1087 StrCpy $g_bOnlyExtract "false" -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsVista.nsh
r44864 r54120 67 67 Function Vista_Prepare 68 68 69 ${If} $g_bWithVBoxMMR == "true" 70 Call StopVBoxMMR 71 ${Else} 72 Call VBoxMMR_Uninstall 73 ${EndIf} 69 Call VBoxMMR_Uninstall 74 70 75 71 FunctionEnd … … 86 82 ;FILE "$%PATH_OUT%\bin\additions\VBoxNET.sys" 87 83 88 !if $%VBOX_WITH_MMR% == "1"89 ${If} $g_bWithVBoxMMR == "true"90 !if $%BUILD_TARGET_ARCH% == "amd64"91 FILE "$%PATH_OUT%\bin\additions\VBoxMMR-x86.exe"92 FILE "$%PATH_OUT%\bin\additions\VBoxMMRHook-x86.dll"93 !else94 FILE "$%PATH_OUT%\bin\additions\VBoxMMR.exe"95 FILE "$%PATH_OUT%\bin\additions\VBoxMMRHook.dll"96 !endif97 ${EndIf}98 !endif99 100 84 FunctionEnd 101 85 … … 106 90 SetOutPath "$INSTDIR" 107 91 ; Nothing here yet 108 109 !if $%VBOX_WITH_MMR% == "1"110 111 ${If} $g_bWithVBoxMMR == "true"112 113 !if $%BUILD_TARGET_ARCH% == "amd64"114 115 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxMMR-x86.exe" "$g_strSystemDir\VBoxMMR.exe" "$INSTDIR"116 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxMMRHook-x86.dll" "$g_strSysWow64\VBoxMMRHook.dll" "$INSTDIR"117 AccessControl::GrantOnFile "$g_strSysWow64\VBoxMMRHook.dll" "(BU)" "GenericRead"118 119 !else120 121 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxMMR.exe" "$g_strSystemDir\VBoxMMR.exe" "$INSTDIR"122 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxMMRHook.dll" "$g_strSystemDir\VBoxMMRHook.dll" "$INSTDIR"123 AccessControl::GrantOnFile "$g_strSystemDir\VBoxMMRHook.dll" "(BU)" "GenericRead"124 125 !endif126 127 AccessControl::GrantOnFile "$g_strSystemDir\VBoxMMR.exe" "(BU)" "GenericRead"128 129 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Run" "VBoxMMR" '"$SYSDIR\VBoxMMR.exe"'130 131 ${EndIf}132 133 !endif134 92 135 93 Goto done … … 184 142 Function ${un}VBoxMMR_Uninstall 185 143 186 ; Remove VBoxMMR even if VBOX_WITH_MMR is not defined144 ; Remove VBoxMMR always 187 145 188 146 DetailPrint "Uninstalling VBoxMMR."
Note:
See TracChangeset
for help on using the changeset viewer.