aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/nsis
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-17 21:54:52 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-17 21:54:52 +0000
commitda375ba2f9e7fe57ece7f1d9f48d441cfc4fc6b5 (patch)
tree49a25456a871434b7e9ca3c8909e9feec1c50e60 /packaging/nsis
parent6d145d1e1f01e5e7793a206f80c2779beb7393b3 (diff)
Install the CRT DLLs using the Visual C++ Redistributable Package
(vcredist_x64.exe) on Win64. This should fix bug 4024. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29977 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packaging/nsis')
-rw-r--r--packaging/nsis/wireshark.nsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/nsis/wireshark.nsi b/packaging/nsis/wireshark.nsi
index 8f2770ca59..b37f503b94 100644
--- a/packaging/nsis/wireshark.nsi
+++ b/packaging/nsis/wireshark.nsi
@@ -426,7 +426,15 @@ File "..\..\ipmap.html"
!ifdef VCREDIST_EXE
; vcredist_x86.exe (MSVC V8) - copy and execute the redistributable installer
File "${VCREDIST_EXE}"
+!if ${WIRESHARK_TARGET_PLATFORM} == "win32"
ExecWait '"$INSTDIR\vcredist_x86.exe"' $0
+!else
+; If the user already has the redistributable installed they will see a
+; Big Ugly Dialog by default, asking if they want to uninstall or repair.
+; Ideally we should add a checkbox for this somewhere. In the meantime,
+; just do a silent install.
+ExecWait '"$INSTDIR\vcredist_x64.exe" /q' $0
+!endif ; WIRESHARK_TARGET_PLATFORM
DetailPrint "vcredist_x86 returned $0"
!else
!ifdef MSVCR_DLL