Update for CGAL-4.2

This commit is contained in:
Laurent Rineau 2012-11-13 17:03:11 +01:00
parent 54748a5fa2
commit 74d7cf0243
1 changed files with 6 additions and 6 deletions

View File

@ -28,7 +28,7 @@
!include "script_cgal.nsh" !include "script_cgal.nsh"
!define CGAL_SRC "CGAL-4.1" !define CGAL_SRC "CGAL-4.2"
!define FTP_SRC "https://cgal.geometryfactory.com/CGAL/precompiled_libs/" !define FTP_SRC "https://cgal.geometryfactory.com/CGAL/precompiled_libs/"
;-------------------------------- ;--------------------------------
@ -52,12 +52,12 @@
BrandingText "The CGAL Project and GeometryFactory - Installer created with NSIS." BrandingText "The CGAL Project and GeometryFactory - Installer created with NSIS."
VIProductVersion "4.1.0.0" VIProductVersion "4.2.0.0"
VIAddVersionKey "ProductName" "CGAL Windows Installer" VIAddVersionKey "ProductName" "CGAL Windows Installer"
VIAddVersionKey "CompanyName" "The CGAL Project and GeometryFactory" VIAddVersionKey "CompanyName" "The CGAL Project and GeometryFactory"
VIAddVersionKey "LegalCopyright" "© The CGAL Project and GeometryFactory" VIAddVersionKey "LegalCopyright" "© The CGAL Project and GeometryFactory"
VIAddVersionKey "FileDescription" "Windows Installer for CGAL" VIAddVersionKey "FileDescription" "Windows Installer for CGAL"
VIAddVersionKey "FileVersion" "4.1" VIAddVersionKey "FileVersion" "4.2"
;-------------------------------- ;--------------------------------
; Variables ; Variables
@ -178,7 +178,7 @@ Section "!Main CGAL" MAIN_Idx
; Write uninstall informations ; Write uninstall informations
; http://nsis.sourceforge.net/Add_uninstall_information_to_Add/Remove_Programs ; http://nsis.sourceforge.net/Add_uninstall_information_to_Add/Remove_Programs
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \
"DisplayName" "${CGAL_SRC} -- Computational Geometry Algorithms Library, version 4.1" "DisplayName" "${CGAL_SRC} -- Computational Geometry Algorithms Library, version 4.2"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \
"UninstallString" "$\"$INSTDIR\Uninstall.exe$\"" "UninstallString" "$\"$INSTDIR\Uninstall.exe$\""
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \
@ -197,7 +197,7 @@ Section "!Main CGAL" MAIN_Idx
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \
"URLInfoAbout" "http://www.cgal.org/" "URLInfoAbout" "http://www.cgal.org/"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \
"DisplayedVersion" "4.1.0" "DisplayedVersion" "4.2.0"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \
"CGALUninstallRegLoc" "$RegLoc" "CGALUninstallRegLoc" "$RegLoc"
@ -240,7 +240,7 @@ SectionEnd
Section /o "HTML Manuals" DOC_Idx Section /o "HTML Manuals" DOC_Idx
!ifndef FetchLocal !ifndef FetchLocal
!insertmacro DownloadFileFrom "https://cgal.geometryfactory.com/" "CGAL/4.1/Manual/" "cgal_manual.zip" "$INSTDIR\doc_html" !insertmacro DownloadFileFrom "https://cgal.geometryfactory.com/" "CGAL/4.2/Manual/" "cgal_manual.zip" "$INSTDIR\doc_html"
!endif !endif
SectionEnd SectionEnd