Skip to content
Snippets Groups Projects
Commit 421509c7 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Philippe Gorley
Browse files

installer: package vcredist


Change-Id: I47d02bc63d87efef6134dfcd48e22522bd9fe4e8
Reviewed-by: default avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
parent 46508b52
No related branches found
No related tags found
No related merge requests found
...@@ -139,6 +139,7 @@ section "install" ...@@ -139,6 +139,7 @@ section "install"
# Files for the install directory - to build the installer, these should be in the same directory as the install script (this file) # Files for the install directory - to build the installer, these should be in the same directory as the install script (this file)
setOutPath $INSTDIR setOutPath $INSTDIR
# Files added here should be removed by the uninstaller (see section "uninstall") # Files added here should be removed by the uninstaller (see section "uninstall")
file "vc_redist.x64.exe"
file "Jami.exe" file "Jami.exe"
file "jami.ico" file "jami.ico"
file "qtwebengine_resources.pak" file "qtwebengine_resources.pak"
...@@ -193,6 +194,16 @@ section "install" ...@@ -193,6 +194,16 @@ section "install"
WriteRegStr HKCR "ring" "URL Protocol" "$\"$\"" WriteRegStr HKCR "ring" "URL Protocol" "$\"$\""
WriteRegStr HKCR "ring\DefaultIcon" "" "$\"$INSTDIR\Jami.exe,1$\"" WriteRegStr HKCR "ring\DefaultIcon" "" "$\"$INSTDIR\Jami.exe,1$\""
WriteRegStr HKCR "ring\shell\open\command" "" "$\"$INSTDIR\Jami.exe$\" $\"%1$\"" WriteRegStr HKCR "ring\shell\open\command" "" "$\"$INSTDIR\Jami.exe$\" $\"%1$\""
# vcredist install (the check would work if uninstalling would remove the REG key)
#{If} ${RunningX64}
# ReadRegStr $1 HKLM "SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x64" "Bld"
# StrCmp $1 27012 vcredist_installed
#${Else}
# ReadRegStr $1 HKLM "SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x86" "Bld"
# StrCmp $1 27012 vcredist_installed
#${EndIf}
ExecWait "vc_redist.x64.exe /install /passive /norestart"
#vcredist_installed:
sectionEnd sectionEnd
# Uninstaller # Uninstaller
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment