|
@@ -27,12 +27,12 @@ OutputBaseFilename=__FILENAMEEXEDOLIWAMP__
|
|
;SourceDir=Z:\home\ldestailleur\git\dolibarrxxx
|
|
;SourceDir=Z:\home\ldestailleur\git\dolibarrxxx
|
|
SourceDir=..\..\..
|
|
SourceDir=..\..\..
|
|
AppId=doliwamp
|
|
AppId=doliwamp
|
|
-AppPublisher=NLTechno
|
|
|
|
-AppPublisherURL=https://www.nltechno.com
|
|
|
|
|
|
+AppPublisher=DoliCloud
|
|
|
|
+AppPublisherURL=https://www.dolicloud.com
|
|
AppSupportURL=https://www.dolibarr.org
|
|
AppSupportURL=https://www.dolibarr.org
|
|
AppUpdatesURL=https://www.dolibarr.org
|
|
AppUpdatesURL=https://www.dolibarr.org
|
|
AppComments=DoliWamp includes Dolibarr, Apache, PHP and Mysql software.
|
|
AppComments=DoliWamp includes Dolibarr, Apache, PHP and Mysql software.
|
|
-AppCopyright=Copyright (C) 2008-2020 Laurent Destailleur (NLTechno), Fabian Rodriguez (Le Goût du Libre)
|
|
|
|
|
|
+AppCopyright=Copyright (C) 2008-2022 Laurent Destailleur (NLTechno), Fabian Rodriguez (Le Goût du Libre)
|
|
DefaultDirName=c:\dolibarr
|
|
DefaultDirName=c:\dolibarr
|
|
DefaultGroupName=Dolibarr
|
|
DefaultGroupName=Dolibarr
|
|
;LicenseFile=COPYING
|
|
;LicenseFile=COPYING
|
|
@@ -99,13 +99,12 @@ Source: "build\exe\doliwamp\startdoliwamp_manual_donotuse.bat.install"; DestDir:
|
|
Source: "build\exe\doliwamp\builddemosslfiles.bat.install"; DestDir: "{app}\"; Flags: ignoreversion;
|
|
Source: "build\exe\doliwamp\builddemosslfiles.bat.install"; DestDir: "{app}\"; Flags: ignoreversion;
|
|
Source: "build\exe\doliwamp\UsedPort.exe"; DestDir: "{app}\"; Flags: ignoreversion;
|
|
Source: "build\exe\doliwamp\UsedPort.exe"; DestDir: "{app}\"; Flags: ignoreversion;
|
|
|
|
|
|
-; PhpMyAdmin, Apache, Php, Mysql
|
|
|
|
|
|
+; Apache, Php, Mysql
|
|
; Put here path of Wampserver applications
|
|
; Put here path of Wampserver applications
|
|
; Value OK: apache 2.2.6, php 5.2.5 (5.2.11, 5.3.0 and 5.3.1 fails if php_exif, php_pgsql, php_zip is on), mysql 5.0.45
|
|
; Value OK: apache 2.2.6, php 5.2.5 (5.2.11, 5.3.0 and 5.3.1 fails if php_exif, php_pgsql, php_zip is on), mysql 5.0.45
|
|
; Value OK: apache 2.2.11, php 5.3.0 (if no php_exif, php_pgsql, php_zip), mysql 5.0.45
|
|
; Value OK: apache 2.2.11, php 5.3.0 (if no php_exif, php_pgsql, php_zip), mysql 5.0.45
|
|
; Value OK: apache 2.4.9, php 5.5.12, mysql 5.0.45 instead of 5.6.17 (wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-32b.exe)
|
|
; Value OK: apache 2.4.9, php 5.5.12, mysql 5.0.45 instead of 5.6.17 (wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-32b.exe)
|
|
; Value OK: apache 2.4.41, php 7.3.12, mariadb10.4.10 (wampserver3.2.0_x64.exe)
|
|
; Value OK: apache 2.4.41, php 7.3.12, mariadb10.4.10 (wampserver3.2.0_x64.exe)
|
|
-Source: "C:\wamp64\apps\phpmyadmin4.9.2\*.*"; DestDir: "{app}\apps\phpmyadmin4.9.2"; Flags: ignoreversion recursesubdirs; Excludes: "config.inc.php,wampserver.conf,*.log,*_log,darkblue_orange"
|
|
|
|
;Source: "C:\Program Files\Wamp\bin\apache\apache2.4.9\*.*"; DestDir: "{app}\bin\apache\apache2.4.9"; Flags: ignoreversion recursesubdirs; Excludes: "php.ini,httpd.conf,wampserver.conf,*.log,*_log"
|
|
;Source: "C:\Program Files\Wamp\bin\apache\apache2.4.9\*.*"; DestDir: "{app}\bin\apache\apache2.4.9"; Flags: ignoreversion recursesubdirs; Excludes: "php.ini,httpd.conf,wampserver.conf,*.log,*_log"
|
|
Source: "C:\wamp64\bin\apache\apache2.4.41\*.*"; DestDir: "{app}\bin\apache\apache2.4.41"; Flags: ignoreversion recursesubdirs; Excludes: "php.ini,httpd.conf,wampserver.conf,*.log,*_log"
|
|
Source: "C:\wamp64\bin\apache\apache2.4.41\*.*"; DestDir: "{app}\bin\apache\apache2.4.41"; Flags: ignoreversion recursesubdirs; Excludes: "php.ini,httpd.conf,wampserver.conf,*.log,*_log"
|
|
;Source: "C:\Program Files\Wamp\bin\php\php5.5.12\*.*"; DestDir: "{app}\bin\php\php5.5.12"; Flags: ignoreversion recursesubdirs; Excludes: "php.ini,phpForApache.ini,wampserver.conf,*.log,*_log"
|
|
;Source: "C:\Program Files\Wamp\bin\php\php5.5.12\*.*"; DestDir: "{app}\bin\php\php5.5.12"; Flags: ignoreversion recursesubdirs; Excludes: "php.ini,phpForApache.ini,wampserver.conf,*.log,*_log"
|
|
@@ -125,9 +124,7 @@ Source: "scripts\*.*"; DestDir: "{app}\www\dolibarr\scripts"; Flags: ignoreversi
|
|
Source: "*.*"; DestDir: "{app}\www\dolibarr"; Flags: ignoreversion; Excludes: ".gitignore,.project,CVS\*,Thumbs.db,default.properties,install.lock"
|
|
Source: "*.*"; DestDir: "{app}\www\dolibarr"; Flags: ignoreversion; Excludes: ".gitignore,.project,CVS\*,Thumbs.db,default.properties,install.lock"
|
|
|
|
|
|
; Config files
|
|
; Config files
|
|
-Source: "build\exe\doliwamp\phpmyadmin.conf.install"; DestDir: "{app}\alias"; Flags: ignoreversion;
|
|
|
|
Source: "build\exe\doliwamp\dolibarr.conf.install"; DestDir: "{app}\alias"; Flags: ignoreversion;
|
|
Source: "build\exe\doliwamp\dolibarr.conf.install"; DestDir: "{app}\alias"; Flags: ignoreversion;
|
|
-Source: "build\exe\doliwamp\config.inc.php.install"; DestDir: "{app}\apps\phpmyadmin4.1.14"; Flags: ignoreversion;
|
|
|
|
;Source: "build\exe\doliwamp\httpd.conf.install"; DestDir: "{app}\bin\apache\apache2.4.9\conf"; Flags: ignoreversion;
|
|
;Source: "build\exe\doliwamp\httpd.conf.install"; DestDir: "{app}\bin\apache\apache2.4.9\conf"; Flags: ignoreversion;
|
|
Source: "build\exe\doliwamp\httpd.conf.install"; DestDir: "{app}\bin\apache\apache2.4.41\conf"; Flags: ignoreversion;
|
|
Source: "build\exe\doliwamp\httpd.conf.install"; DestDir: "{app}\bin\apache\apache2.4.41\conf"; Flags: ignoreversion;
|
|
Source: "build\exe\doliwamp\my.ini.install"; DestDir: "{app}\bin\mysql\mysql5.0.45"; Flags: ignoreversion;
|
|
Source: "build\exe\doliwamp\my.ini.install"; DestDir: "{app}\bin\mysql\mysql5.0.45"; Flags: ignoreversion;
|
|
@@ -196,7 +193,6 @@ var destFileA: String;
|
|
var srcContents: String;
|
|
var srcContents: String;
|
|
var browser: String;
|
|
var browser: String;
|
|
var mysqlVersion: String;
|
|
var mysqlVersion: String;
|
|
-var phpmyadminVersion: String;
|
|
|
|
var phpDllCopy: String;
|
|
var phpDllCopy: String;
|
|
var batFile: String;
|
|
var batFile: String;
|
|
|
|
|
|
@@ -246,7 +242,6 @@ begin
|
|
phpVersion := '7.3.12' ;
|
|
phpVersion := '7.3.12' ;
|
|
//mysqlVersion := '5.0.45';
|
|
//mysqlVersion := '5.0.45';
|
|
mysqlVersion := '10.4.10';
|
|
mysqlVersion := '10.4.10';
|
|
- phpmyadminVersion := '4.1.14';
|
|
|
|
|
|
|
|
smtpServer := 'localhost';
|
|
smtpServer := 'localhost';
|
|
apachePort := '80';
|
|
apachePort := '80';
|
|
@@ -635,27 +630,6 @@ begin
|
|
begin
|
|
begin
|
|
|
|
|
|
|
|
|
|
- //----------------------------------------------
|
|
|
|
- // Create file alias phpmyadmin (always)
|
|
|
|
- //----------------------------------------------
|
|
|
|
-
|
|
|
|
- destFile := pathWithSlashes+'/alias/phpmyadmin.conf';
|
|
|
|
- srcFile := pathWithSlashes+'/alias/phpmyadmin.conf.install';
|
|
|
|
-
|
|
|
|
- if FileExists(srcFile) then
|
|
|
|
- begin
|
|
|
|
- LoadStringFromFile (srcFile, srcContents);
|
|
|
|
-
|
|
|
|
- //installDir et version de phpmyadmin
|
|
|
|
- StringChangeEx (srcContents, 'WAMPROOT', pathWithSlashes, True);
|
|
|
|
- StringChangeEx (srcContents, 'WAMPPHPMYADMINVERSION', phpmyadminVersion, True);
|
|
|
|
-
|
|
|
|
- SaveStringToFile(destFile,srcContents, False);
|
|
|
|
- end;
|
|
|
|
- DeleteFile(srcFile);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
//----------------------------------------------
|
|
//----------------------------------------------
|
|
// Create file alias dolibarr (if not exists)
|
|
// Create file alias dolibarr (if not exists)
|
|
//----------------------------------------------
|
|
//----------------------------------------------
|
|
@@ -691,35 +665,6 @@ begin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- //----------------------------------------------
|
|
|
|
- // Create file configuration for phpmyadmin (if not exists)
|
|
|
|
- //----------------------------------------------
|
|
|
|
-
|
|
|
|
- destFile := pathWithSlashes+'/apps/phpmyadmin'+phpmyadminVersion+'/config.inc.php';
|
|
|
|
- srcFile := pathWithSlashes+'/apps/phpmyadmin'+phpmyadminVersion+'/config.inc.php.install';
|
|
|
|
-
|
|
|
|
- if FileExists(srcFile) then
|
|
|
|
- begin
|
|
|
|
- if not FileExists (destFile) then
|
|
|
|
- begin
|
|
|
|
- LoadStringFromFile (srcFile, srcContents);
|
|
|
|
- StringChangeEx (srcContents, 'WAMPMYSQLNEWPASSWORD', mypass, True);
|
|
|
|
- StringChangeEx (srcContents, 'WAMPMYSQLPORT', myport, True);
|
|
|
|
- SaveStringToFile(destFile,srcContents, False);
|
|
|
|
- end
|
|
|
|
- else
|
|
|
|
- begin
|
|
|
|
- // We must replace to use format 2.4 of apache
|
|
|
|
- DeleteFile(destFile);
|
|
|
|
- LoadStringFromFile (srcFile, srcContents);
|
|
|
|
- StringChangeEx (srcContents, 'WAMPMYSQLNEWPASSWORD', mypass, True);
|
|
|
|
- StringChangeEx (srcContents, 'WAMPMYSQLPORT', myport, True);
|
|
|
|
- SaveStringToFile(destFile,srcContents, False);
|
|
|
|
- end;
|
|
|
|
- end;
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
//----------------------------------------------
|
|
//----------------------------------------------
|
|
// Create file httpd.conf (if not exists)
|
|
// Create file httpd.conf (if not exists)
|
|
//----------------------------------------------
|
|
//----------------------------------------------
|