summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2015-11-15 18:37:42 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2015-11-23 23:30:50 +0000
commit227863faf7239ac4abe48c07b5eca81d5833b138 (patch)
treea3f25002ff92cafbe9d5152cd916344c4a2e806a /packaging
parent0e1582702a6b3d8fd4fbe4cd6d8c2f76353b8657 (diff)
downloaddeluge-227863faf7239ac4abe48c07b5eca81d5833b138.tar.gz
deluge-227863faf7239ac4abe48c07b5eca81d5833b138.tar.bz2
deluge-227863faf7239ac4abe48c07b5eca81d5833b138.zip
[#2777] Update MSVC SP1 check to latest release CLID
Diffstat (limited to 'packaging')
-rw-r--r--packaging/win32/deluge-win32-installer.nsi11
1 files changed, 5 insertions, 6 deletions
diff --git a/packaging/win32/deluge-win32-installer.nsi b/packaging/win32/deluge-win32-installer.nsi
index ea0e35e97..cd481335d 100644
--- a/packaging/win32/deluge-win32-installer.nsi
+++ b/packaging/win32/deluge-win32-installer.nsi
@@ -105,8 +105,7 @@ Function finishpageaction
CreateShortCut "$DESKTOP\Deluge.lnk" "$INSTDIR\deluge.exe"
FunctionEnd
-#Test if Visual Studio Redistributables 2008 SP1 installed
-#Returns -1 if there is no VC redistributables intstalled
+# Test if Visual Studio Redistributables 2008 SP1 installed and returns -1 if none installed
Function CheckVCRedist2008
Push $R0
ClearErrors
@@ -116,7 +115,7 @@ Function CheckVCRedist2008
Push $R1
ClearErrors
- ReadRegDword $R1 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A25302D-30C0-39D9-BD6F-21E6EC160475}" "Version"
+ ReadRegDword $R1 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9BE518E6-ECC6-35A9-88E4-87755C07200F}" "Version"
IfErrors 0 VSRedistInstalled
StrCpy $R1 "-1"
@@ -135,13 +134,13 @@ Function VCRedistMessage
Call CheckVCRedist2008
Pop $R0
StrCmp $R0 "-1" 0 end
- MessageBox MB_YESNO|MB_ICONEXCLAMATION "The following package is required to run \
- Deluge but it does not appear to be installed:$\r$\n$\r$\n\
+ MessageBox MB_YESNO|MB_ICONEXCLAMATION "Deluge requires an MSVC package to run \
+ but the recommended package does not appear to be installed:$\r$\n$\r$\n\
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)$\r$\n$\r$\n\
Would you like to download it now?" /SD IDNO IDYES clickyes
Goto end
clickyes:
- ExecShell open "https://www.microsoft.com/en-us/download/details.aspx?id=5582"
+ ExecShell open "https://www.microsoft.com/en-us/download/details.aspx?id=26368"
end:
FunctionEnd