[Timer] NumberStart=2 CountStart=2 [Options] AeTrayMode=64 Bits AeTrayOldMode=64bit AeTrayVersion=3.2.2.2
[main] display = "no" navigator = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" notepad = "C:\Program Files (x86)\Notepad++\notepad++.exe" [wamp] wampVersion = "WampServer 2.6" [language] defaultLanguage = "english" language = "french" [sphere] sphereVersion = "bleu" [apache] apacheVersion = "2.4.41" [mariadb] mariadbVersion = "10.3.11" [mysql] mysqlVersion = "8.0.18" [php] phpVersion = "7.4.0" [phpmyadmin] phpmyadminVersion = "4.9.2"
[Variables] Type: static; Name: ScriptsDir; Value: "f:/Wamp/scripts" Type: static; Name: PhpVisu; Value: "f:/Wamp/bin/php/courant/php.exe"; Type: static; Name: ApacheExe; Value: "f:/Wamp/bin/apache/apache2.4.41/bin/httpd.exe" Type: static; Name: MySqlExe; Value: "f:/Wamp/bin/mysql/mysql8.0.18/bin/mysqld.exe" [Services] Name: wampapache Name: wampmysqld [ApacheServiceInstall] Action: run; FileName: "%PhpVisu%"; WorkingDir: "%ScriptsDir%"; Flags: ignoreerrors waituntilterminated; Parameters: "-c . testPortForInstall.php" Action: run; FileName: "%ApacheExe%"; ShowCmd: hidden; Flags: waituntilterminated; Parameters: "-n wampapache -k install" Action: run; FileName: "reg"; ShowCmd: hidden; Flags: waituntilterminated; Parameters: "add HKLM\SYSTEM\CurrentControlSet\Services\wampapache /V Start /t REG_DWORD /d 3 /f" Action: resetservices Action: readconfig; [ApacheServiceRemove] Action: service; Service: wampapache; ServiceAction: stop; Flags: ignoreerrors waituntilterminated Action: run; FileName: "%ApacheExe%"; ShowCmd: hidden; Flags: waituntilterminated; Parameters: "-n wampapache -k uninstall" Action: resetservices Action: readconfig; [MySQLServiceInstall] Action: run; FileName: "%MySqlExe%"; ShowCmd: hidden; Flags: waituntilterminated; Parameters: "--install-manual wampmysqld" Action: resetservices; Action: readconfig; [MySQLServiceRemove] Action: service; Service: wampmysqld; ServiceAction: stop; Flags: ignoreerrors waituntilterminated Action: run; FileName: "%MySqlExe%"; ShowCmd: hidden; Flags: waituntilterminated; Parameters: "--remove wampmysqld" Action: resetservices; Action: readconfig;J'ai bien le script "testportInstall.php" qui s'exécute mais rien après.
[ApacheServiceInstall] Action: run; FileName: "${c_phpExe}"; Parameters: "testPortForInstall.php";WorkingDir: "${c_installDir}/scripts"; Flags: waituntilterminated Action: run; FileName: "${c_apacheExe}"; Parameters: "${c_apacheServiceInstallParams}"; ShowCmd: hidden; Flags: waituntilterminated Action: run; Filename: "sc"; Parameters: "\\\\. config ${c_apacheService} start= demand"; ShowCmd: hidden; Flags: waituntilterminated Action: resetservices Action: readconfigCe qui se traduit dans wampmanager.ini par
[ApacheServiceInstall] Action: run; FileName: "E:/wamp/bin/php/php7.2.25/php.exe"; Parameters: "testPortForInstall.php";WorkingDir: "E:/wamp/scripts"; Flags: waituntilterminated Action: run; FileName: "E:/wamp/bin/apache/apache2.4.41/bin/httpd.exe"; Parameters: "-n wampapache -k install"; ShowCmd: hidden; Flags: waituntilterminated Action: run; Filename: "sc"; Parameters: "\\. config wampapache start= demand"; ShowCmd: hidden; Flags: waituntilterminated Action: resetservices Action: readconfigCe n'est pas fondamentalement différent si ce n'est la place des paramètres et ne pas utiliser de variables static.