Prepare the Windows installation for CGAL-4.3

This commit is contained in:
Laurent Rineau 2013-08-16 17:26:26 +02:00
parent 96012fb4ff
commit 5f132362e3
1 changed files with 7 additions and 7 deletions

View File

@ -29,7 +29,7 @@
!include "script_cgal.nsh"
!define CGAL_SRC "CGAL-4.2"
!define CGAL_SRC "CGAL-4.3"
!define FTP_SRC "https://cgal.geometryfactory.com/CGAL/precompiled_libs/"
;--------------------------------
@ -45,7 +45,7 @@
OutFile "${CGAL_SRC}-Setup.exe"
!endif
;Default installation folder: C:\Program Files\CGAL-4.2
;Default installation folder: C:\Program Files\CGAL-4.3
; See also .onInit
Installdir ""
@ -55,12 +55,12 @@
BrandingText "The CGAL Project and GeometryFactory - Installer created with NSIS."
VIProductVersion "4.2.0.0"
VIProductVersion "4.3.0.0"
VIAddVersionKey "ProductName" "CGAL Windows Installer"
VIAddVersionKey "CompanyName" "The CGAL Project and GeometryFactory"
VIAddVersionKey "LegalCopyright" "© The CGAL Project and GeometryFactory"
VIAddVersionKey "FileDescription" "Windows Installer for CGAL"
VIAddVersionKey "FileVersion" "4.2"
VIAddVersionKey "FileVersion" "4.3"
;--------------------------------
; Variables
@ -181,7 +181,7 @@ Section "!Main CGAL" MAIN_Idx
; Write uninstall informations
; http://nsis.sourceforge.net/Add_uninstall_information_to_Add/Remove_Programs
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \
"DisplayName" "${CGAL_SRC} -- Computational Geometry Algorithms Library, version 4.2"
"DisplayName" "${CGAL_SRC} -- Computational Geometry Algorithms Library, version 4.3"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \
"UninstallString" "$\"$INSTDIR\Uninstall.exe$\""
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \
@ -200,7 +200,7 @@ Section "!Main CGAL" MAIN_Idx
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \
"URLInfoAbout" "http://www.cgal.org/"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \
"DisplayedVersion" "4.2.0"
"DisplayedVersion" "4.3.0"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \
"CGALUninstallRegLoc" "$RegLoc"
@ -243,7 +243,7 @@ SectionEnd
Section /o "HTML Manuals" DOC_Idx
!ifndef FetchLocal
!insertmacro DownloadFileFrom "https://cgal.geometryfactory.com/" "CGAL/4.2/Manual/" "cgal_manual.zip" "$INSTDIR\doc_html"
!insertmacro DownloadFileFrom "https://cgal.geometryfactory.com/" "CGAL/4.3/Manual/" "cgal_manual.zip" "$INSTDIR\doc_html"
!endif
SectionEnd