Installer, Win: Add open-ssl libraries for OPM

git-svn-id: trunk@61178 -
This commit is contained in:
martin 2019-05-08 16:59:52 +00:00
parent d879259b62
commit 8894d42fe2
4 changed files with 29 additions and 3 deletions

View File

@ -109,6 +109,12 @@ SET PATCHDIR=%CD%\..\patches
:: it should have the debugger with the name gdb.exe in its bin subdirectory
SET GDBDIR=%LAZSVNBINDIR%\%FPCFULLTARGET%\gdb
:: OPENSSL
SET OPENSSLDIR=%LAZSVNBINDIR%\%FPCFULLTARGET%\openssl
for /F %%i in ('dir /b "%OPENSSLDIR%\*.*"') do (
SET HASOPENSSL=1
)
:: Path to the directory containing the qtinf dll matching the qt4.pas from
:: http://users.pandora.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html
SET QTINFDIR=%LAZSVNBINDIR%\%FPCFULLTARGET%\qt

View File

@ -8,6 +8,8 @@ CleanUp=Aufr
InstallQt=QT-Interface-DLL global installieren
InstallChm=CHM-Hilfedateien installieren
InstallOpenSSL=Openssl dll installieren (Benötigt für den Online-Packet-Manager)
InstallOpenSSLGlobal=Openssl dll global installieren
AssociateGroup=Dateierweiterungen registrieren
FolderHasSpaces=Gewählter Ordner enthält Leerzeichen, bitte wählen Sie einen Ordner ohne Leerzeichen.

View File

@ -8,6 +8,8 @@ CleanUp=Clean up:
InstallQt=Globally install Qt interface DLL
InstallChm=Install CHM help files
InstallOpenSSL=Install openssl libraries (required by OnlinePackageManager)
InstallOpenSSLGlobal=Globally Install openssl libraries
AssociateGroup=Associate file extensions
CheckSecondClick=Create a new secondary installation

View File

@ -20,6 +20,8 @@ EnableISX=true
#define SetupDate GetEnv('DateStamp')
#define BuildDir GetEnv('BuildDir')
#define QtInfDir GetEnv('QTINFDIR')
#define HasOpenSSL GetEnv('HASOPENSSL')
#define OpenSSLDir GetEnv('OPENSSLDIR')
#define IDEWidgetSet GetEnv('IDE_WidgetSet')
#define OutputFileName GetEnv('OutputFileName')
#define CHMHELPFILES GetEnv('CHMHELPFILES')
@ -71,14 +73,20 @@ Name: delusersettings; Description: {cm:DelUserConf}; GroupDescription: {cm:Clea
;unchecked checkedonce
[Components]
#ifdef CHMHELPFILES
#if CHMHELPFILES!=""
Name: installhelp; Description: {cm:InstallChm}; Types: custom full
#endif
#endif
#if FPCTargetOS=="win32"
#if IDEWidgetSet!="qt"
Name: installqtintfdll; Description: {cm:InstallQt}; Types: custom full compact
#endif
#endif
#ifdef CHMHELPFILES
#if CHMHELPFILES!=""
Name: installhelp; Description: {cm:InstallChm}; Types: custom full
#ifdef HasOpenSSL
#if HasOpenSSL!=""
Name: installopenssl; Description: {cm:InstallOpenSSL}; Types: custom full compact; Flags: checkablealone
Name: installopenssl/global; Description: {cm:InstallOpenSSLGlobal}; Types: full; Flags: dontinheritcheck
#endif
#endif
Name: association; Description: {cm:AssociateGroup}; Types: custom full
@ -126,6 +134,14 @@ Source: {#BuildDir}\fpc\{#FPCVersion}\bin\{#FPCFullTarget}\cpp.exe; DestDir: {ap
#ifdef CHMHELPFILES
#if CHMHELPFILES!=""
Source: {#CHMHELPFILES}\*.*; DestDir: {app}\docs\chm; Components: installhelp; Flags: recursesubdirs
Source: {#CHMHELPFILES}\*.*; DestDir: {app}\docs\chm; Components: installhelp; Flags: recursesubdirs
#endif
#endif
#ifdef HasOpenSSL
#if HasOpenSSL!=""
Source: {#OpenSSLDir}\*.*; DestDir: {app}; Components: installopenssl; Flags: recursesubdirs
Source: {#OpenSSLDir}\*.*; DestDir: {sys}; Components: installopenssl/global; Flags: sharedfile replacesameversion
#endif
#endif