diff options
author | Gerald Combs <gerald@zing.org> | 2014-07-29 18:45:47 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-07-30 01:47:17 +0000 |
commit | 50c10c095775bd05ed25b50f8aa8224080eea428 (patch) | |
tree | 0d62cc35688306536364b6c83d2f2fcab319cbce /packaging | |
parent | 1f08f87735eb4cc0fa062e22fc19a2dc16e0f3bf (diff) |
The Visual C++ 2013 redistributable uses /quiet instead of /q.
Change-Id: I130b1af814b843638498feaecacc7092bacd3b72
Reviewed-on: https://code.wireshark.org/review/3255
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/nsis/wireshark.nsi | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/packaging/nsis/wireshark.nsi b/packaging/nsis/wireshark.nsi index b816e3721b..fe3665dc87 100644 --- a/packaging/nsis/wireshark.nsi +++ b/packaging/nsis/wireshark.nsi @@ -358,7 +358,7 @@ File "..\..\ipmap.html" ; C-runtime redistributable !ifdef VCREDIST_EXE -; vcredist_x86.exe (MSVC V8) - copy and execute the redistributable installer +; vcredist_x64.exe - copy and execute the redistributable installer File "${VCREDIST_EXE}" ; 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. @@ -367,13 +367,18 @@ File "${VCREDIST_EXE}" ; "silent" install otherwise. ; http://blogs.msdn.com/b/astebner/archive/2010/10/20/10078468.aspx +; http://allthingsconfigmgr.wordpress.com/2013/12/17/visual-c-redistributables-made-simple/ ; "!if ${MSVC_VER_REQUIRED} >= 1600" doesn't work. -!searchparse /noerrors ${MSVC_VER_REQUIRED} "1400" VCREDIST_OLD_FLAGS "1500" VCREDIST_OLD_FLAGS -!ifdef VCREDIST_OLD_FLAGS +!searchparse /noerrors ${MSVC_VER_REQUIRED} "1400" VCREDIST_FLAGS_Q "1500" VCREDIST_FLAGS_Q "1600" VCREDIST_FLAGS_Q_NORESTART +!ifdef VCREDIST_FLAGS_Q StrCpy $VCREDIST_FLAGS "/q" -!else ; VCREDIST_OLD_FLAGS +!else ; VCREDIST_FLAGS_Q +!ifdef VCREDIST_FLAGS_Q_NORESTART StrCpy $VCREDIST_FLAGS "/q /norestart" -!endif ; VCREDIST_OLD_FLAGS +!else ; VCREDIST_FLAGS_Q_NORESTART +StrCpy $VCREDIST_FLAGS "/quiet /norestart" +!endif ; VCREDIST_FLAGS_Q_NORESTART +!endif ; VCREDIST_FLAGS_Q ExecWait '"$INSTDIR\vcredist_${TARGET_MACHINE}.exe" $VCREDIST_FLAGS' $0 DetailPrint "vcredist_${TARGET_MACHINE} returned $0" |