mirror of https://github.com/CGAL/cgal
Prepare the Windows installation for CGAL-4.3
This commit is contained in:
parent
96012fb4ff
commit
5f132362e3
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
!include "script_cgal.nsh"
|
!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/"
|
!define FTP_SRC "https://cgal.geometryfactory.com/CGAL/precompiled_libs/"
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
OutFile "${CGAL_SRC}-Setup.exe"
|
OutFile "${CGAL_SRC}-Setup.exe"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
;Default installation folder: C:\Program Files\CGAL-4.2
|
;Default installation folder: C:\Program Files\CGAL-4.3
|
||||||
; See also .onInit
|
; See also .onInit
|
||||||
Installdir ""
|
Installdir ""
|
||||||
|
|
||||||
|
|
@ -55,12 +55,12 @@
|
||||||
|
|
||||||
BrandingText "The CGAL Project and GeometryFactory - Installer created with NSIS."
|
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 "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.2"
|
VIAddVersionKey "FileVersion" "4.3"
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
; Variables
|
; Variables
|
||||||
|
|
@ -181,7 +181,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.2"
|
"DisplayName" "${CGAL_SRC} -- Computational Geometry Algorithms Library, version 4.3"
|
||||||
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}" \
|
||||||
|
|
@ -200,7 +200,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.2.0"
|
"DisplayedVersion" "4.3.0"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${CGAL_SRC}" \
|
||||||
"CGALUninstallRegLoc" "$RegLoc"
|
"CGALUninstallRegLoc" "$RegLoc"
|
||||||
|
|
||||||
|
|
@ -243,7 +243,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.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
|
!endif
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue