Browse Source

Removed useless files

Laurent Destailleur 4 years ago
parent
commit
0a177cbb6f
31 changed files with 0 additions and 1502 deletions
  1. 0 3
      .settings/org.eclipse.core.resources.prefs
  2. 0 3
      build/exe/dolimed/.cvsignore
  3. 0 12
      build/exe/dolimed/Languages/MyBasque.isl
  4. 0 12
      build/exe/dolimed/Languages/MyBrazilianPortuguese.isl
  5. 0 44
      build/exe/dolimed/Languages/MyCatalan.isl
  6. 0 12
      build/exe/dolimed/Languages/MyCzech.isl
  7. 0 12
      build/exe/dolimed/Languages/MyDanish.isl
  8. 0 12
      build/exe/dolimed/Languages/MyDutch.isl
  9. 0 44
      build/exe/dolimed/Languages/MyEnglish.isl
  10. 0 12
      build/exe/dolimed/Languages/MyFinnish.isl
  11. 0 45
      build/exe/dolimed/Languages/MyFrench.isl
  12. 0 12
      build/exe/dolimed/Languages/MyGerman.isl
  13. 0 12
      build/exe/dolimed/Languages/MyHebrew.isl
  14. 0 12
      build/exe/dolimed/Languages/MyHungarian.isl
  15. 0 12
      build/exe/dolimed/Languages/MyItalian.isl
  16. 0 12
      build/exe/dolimed/Languages/MyJapanese.isl
  17. 0 12
      build/exe/dolimed/Languages/MyNorwegian.isl
  18. 0 12
      build/exe/dolimed/Languages/MyPolish.isl
  19. 0 12
      build/exe/dolimed/Languages/MyPortuguese.isl
  20. 0 12
      build/exe/dolimed/Languages/MyRussian.isl
  21. 0 11
      build/exe/dolimed/Languages/MySlovak.isl
  22. 0 12
      build/exe/dolimed/Languages/MySlovenian.isl
  23. 0 44
      build/exe/dolimed/Languages/MySpanish.isl
  24. BIN
      build/exe/dolimed/dolimed.bmp
  25. 0 1020
      build/exe/dolimed/dolimed.iss
  26. BIN
      build/exe/dolimed/dolimedsmall.bmp
  27. 0 27
      build/exe/dolimed/install.forced.php.install
  28. 0 21
      build/exe/dolimed/install_services.bat.install
  29. 0 18
      build/exe/dolimed/startdoliwamp.bat
  30. 0 18
      build/exe/dolimed/stopdoliwamp.bat
  31. 0 12
      build/exe/dolimed/uninstall_services.bat.install

+ 0 - 3
.settings/org.eclipse.core.resources.prefs

@@ -1,3 +0,0 @@
-eclipse.preferences.version=1
-encoding//build/exe/dolimed/Languages=ISO-8859-1
-encoding//build/exe/dolimed/Languages/MyFrench.isl=ISO-8859-1

+ 0 - 3
build/exe/dolimed/.cvsignore

@@ -1,3 +0,0 @@
-*.db
-ca_dolibarr.key
-doliwamptest.iss

+ 0 - 12
build/exe/dolimed/Languages/MyBasque.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 %2 bertsioa
-AdditionalIcons=Ikono gehigarriak:
-CreateDesktopIcon=&Mahaigainean lasterbidea sortu
-CreateQuickLaunchIcon=&Ataza Barran lasterbidea sortu
-ProgramOnTheWeb=%1 sarean
-UninstallProgram=%1 desinstalatu
-LaunchProgram=%1 abiarazi
-AssocFileExtension=&Lotu %1 programa %2 fitxategi luzapenarekin
-AssocingFileExtension=%1 programa %2 fitxategi luzapenarekin lotzen...

+ 0 - 12
build/exe/dolimed/Languages/MyBrazilianPortuguese.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 versão %2
-AdditionalIcons=Ícones adicionais:
-CreateDesktopIcon=Criar um ícone na Área de &Trabalho
-CreateQuickLaunchIcon=Criar um ícone na &Barra de Inicialização Rápida
-ProgramOnTheWeb=%1 na Internet
-UninstallProgram=Desinstalar %1
-LaunchProgram=Executar %1
-AssocFileExtension=Associar %1 com a e&xtensão de arquivo %2
-AssocingFileExtension=Associando %1 com a extensão de arquivo...

+ 0 - 44
build/exe/dolimed/Languages/MyCatalan.isl

@@ -1,44 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 versió %2
-AdditionalIcons=Icones addicionals:
-CreateDesktopIcon=Crea una icona a l'&Escriptori
-CreateQuickLaunchIcon=Crea una icona a la &Barra de tasques
-ProgramOnTheWeb=%1 a Internet
-UninstallProgram=Desinstal·la %1
-LaunchProgram=Obre %1
-AssocFileExtension=&Associa %1 amb l'extensió de fitxer %2
-AssocingFileExtension=Associant %1 amb l'extensió de fitxer %2...
-
-YouWillInstallDoliWamp=Va a instal·lar o actualitzar (Apache + Mysql + PHP + Dolibarr + Medical module) al seu ordinador.
-ThisAssistantInstallOrUpgrade=Aquest assistent instal·la o actualitza Dolibarr ERP-CRM i tots els seus requisits (Apache, Mysql i PHP) optimitzats per a l'ús de Dolibarr.
-IfYouHaveTechnicalKnowledge=Si teniu coneixements tècnics i necessita usar la seva Apache, Mysql i PHP amb altres aplicacions a part de Dolibarr, no utilitzeu aquest assistent, hauria lació manual d'Dolibarr sobre un Apache, Mysql i PHP existent.
-ButIfYouLook=Però si busca una instal·lació automàtica, es troba en el bon camí...
-DoYouWantToStart=Vol iniciar el procés d'instal·lació/actualització?
-
-TechnicalParameters=Paràmetres tècnics
-IfFirstInstall=Si es tracta de la primera instal lació, haurà d'especificar alguns paràmetres tècnics. Si no els entén, no sabeu o va a procedir a una actualització, deixi els camps amb els valors proposats per defecte.
-
-; WARNING !!! STRINGS HERE MUST BE LOWER THAN 60 CHARACTERS
-SMTPServer=Servidor SMTP (El seu o el del seu ISP, únicament primera instal.lació) :
-ApachePort=Puerto Apache (únicament primera instal.lació, normalment és el 80) :
-MySqlPort=Puerto Mysql (únicament primera instal.lació, normalment és el 3306) :
-MySqlPassword=Contrasenya del servidor i la base de dades MySQL de root (únicament primera instal.lació):
-
-FailedToDeleteLock=FailedToDeleteLock=Error en l'eliminació del fitxer %1/www/dolibarr/install.lock. Pot ignorar l'avís però és possible que hagi de eliminar-lo manualment més tard. En aquest cas, serà informat. Feu clic a OK per continuar...
-
-PortAlreadyInUse=Sembla que el port %1 ja està sent utilitzat. Es recomana cancel·lar, tornar enrere i especificar un altre valor per al port% 2. Cancel·lar i escollir un altre valor?
-
-FirefoxDetected=S'ha detectat Firefox al seu ordinador. Voleu activar per defecte com a navegador per Dolibarr?
-ChooseDefaultBrowser=Esculli el seu navegador per defecte. Si no està segur, simplement feu clic a Obrir:
-
-LaunchNow=Llançar ara Dolibarr
-
-ProgramHasBeenRemoved=Els arxius del programa Dolibarr han estat eliminats. No obstant això tots els seus arxius de dades es troben encara al directori %1. Haurà eliminar aquest directori manualment per a una desinstal completa.
-
-DoliWampWillStartApacheMysql=L'instal·lador DoliMed intentarà iniciar o reiniciar Apache i MySQL, això pot durar des de diversos segons a un minut després de la confirmació. Iniciar la instal·lació o actualització dels servidors web i bases de dades requerides per Dolibarr?
-
-OldVersionFoundAndMoveInNew=S'ha trobat una versió antiga de base de dades i ha estat moguda per a ser utilitzada per la nova versió de Dolibarr
-OldVersionFoundButFailedToMoveInNew=S'ha trobat una versió antiga de base de dades, però no es pot moure per a ser utilitzada per la nova versió de Dolibarr
-

+ 0 - 12
build/exe/dolimed/Languages/MyCzech.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 verze %2
-AdditionalIcons=Další zástupci:
-CreateDesktopIcon=Vytvořit zástupce na &ploše
-CreateQuickLaunchIcon=Vytvořit zástupce na panelu &Snadné spuštění
-ProgramOnTheWeb=Aplikace %1 na internetu
-UninstallProgram=Odinstalovat aplikaci %1
-LaunchProgram=Spustit aplikaci %1
-AssocFileExtension=Vytvořit &asociaci mezi soubory typu %2 a aplikací %1
-AssocingFileExtension=Vytváří se asociace mezi soubory typu %2 a aplikací %1...

+ 0 - 12
build/exe/dolimed/Languages/MyDanish.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 version %2
-AdditionalIcons=Ekstra ikoner:
-CreateDesktopIcon=Lav ikon på skrive&bordet
-CreateQuickLaunchIcon=Lav &hurtigstart-ikon
-ProgramOnTheWeb=%1 på internettet
-UninstallProgram=Afinstaller (fjern) %1
-LaunchProgram=&Kør %1
-AssocFileExtension=Sammen&kæd %1 med filtypen %2
-AssocingFileExtension=Sammenkæder %1 med filtypen %2...

+ 0 - 12
build/exe/dolimed/Languages/MyDutch.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 versie %2
-AdditionalIcons=Extra snelkoppelingen:
-CreateDesktopIcon=Maak een snelkoppeling op het &bureaublad
-CreateQuickLaunchIcon=Maak een snelkoppeling op de &Snel starten werkbalk
-ProgramOnTheWeb=%1 op het Web
-UninstallProgram=Verwijder %1
-LaunchProgram=&Start %1
-AssocFileExtension=&Koppel %1 aan de %2 bestandsextensie
-AssocingFileExtension=Bezig met koppelen van %1 aan de %2 bestandsextensie...

+ 0 - 44
build/exe/dolimed/Languages/MyEnglish.isl

@@ -1,44 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 version %2
-AdditionalIcons=Additional icons:
-CreateDesktopIcon=Create a &desktop icon
-CreateQuickLaunchIcon=Create a &Quick Launch icon
-ProgramOnTheWeb=%1 on the Web
-UninstallProgram=Uninstall %1
-LaunchProgram=Launch %1
-AssocFileExtension=&Associate %1 with the %2 file extension
-AssocingFileExtension=Associating %1 with the %2 file extension...
-
-YouWillInstallDoliWamp=You will install or upgrade DoliMed (Apache+Mysql+PHP+Dolibarr+Medical module) on your computer.
-ThisAssistantInstallOrUpgrade=This assistant installs or upgrades Dolibarr ERP-CRM and all required third party softwares (Apache, Mysql and PHP) optimized for a Dolibarr usage.
-IfYouHaveTechnicalKnowledge=If you have technical knowledge and plan to share your Apache, Mysql and PHP with other projects than Dolibarr, you should not use this assistant and make a manual installation of Dolibarr on your existing Apache, Mysql and PHP installation.
-ButIfYouLook=But if you look for an automatic setup, you''re on the good way...
-DoYouWantToStart=Do you want to start installation/upgrade process ?
-
-TechnicalParameters=Technical parameters
-IfFirstInstall=If first install, please specify some technical parameters. If you don't understand, are not sure, or are doing an upgrade, just leave the default values.
-
-; WARNING !!! STRINGS HERE MUST BE LOWER THAN 60 CHARACTERS
-SMTPServer=SMTP server (your own or ISP SMTP server, first install only) :
-ApachePort=Apache port (first install only, common choice is 80) :
-MySqlPort=MySql port (first install only, common choice is 3306) :
-MySqlPassword=MySql server and database password you want for root (first install only):
-
-FailedToDeleteLock=Failed to delete the file %1/www/dolibarr/install.lock. You can ignore warning but you may have to remove it manually later when asked. Click OK to continue...
-
-PortAlreadyInUse=Port %1 seems to be already in use. You should cancel to go back and choose another value for %2 port. Cancel choice and choose another value ?
-
-FirefoxDetected=Firefox has been detected on your computer. Would you like to use it as the default browser for DoliMed ?
-ChooseDefaultBrowser=Please choose your default browser. If you are not sure, just click Open :
-
-LaunchNow=Launch DoliMed now
-
-ProgramHasBeenRemoved=DoliMed program files have been removed. However, all your data files are still in directory %1. You must remove this directory manually for a complete uninstall.
-
-DoliWampWillStartApacheMysql=DoliMed installer will now start or restart Apache and Mysql, this may last from several seconds to one minute after this confirmation. Start to install or upgrade the web and database server required by DoliMed ?
-
-OldVersionFoundAndMoveInNew=An old database version has been found and moved to be used by new DoliMed version
-OldVersionFoundButFailedToMoveInNew=An old database version has been found but could not be moved to be used with new DoliMed version
-

+ 0 - 12
build/exe/dolimed/Languages/MyFinnish.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 versio %2
-AdditionalIcons=Lisäkuvakkeet:
-CreateDesktopIcon=Lu&o kuvake työpöydälle
-CreateQuickLaunchIcon=Luo kuvake &pikakäynnistyspalkkiin
-ProgramOnTheWeb=%1 Internetissä
-UninstallProgram=Poista %1
-LaunchProgram=&Käynnistä %1
-AssocFileExtension=&Yhdistä %1 tiedostopäätteeseen %2
-AssocingFileExtension=Yhdistetään %1 tiedostopäätteeseen %2 ...

+ 0 - 45
build/exe/dolimed/Languages/MyFrench.isl

@@ -1,45 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 version %2
-AdditionalIcons=Icônes supplémentaires :
-CreateDesktopIcon=Créer une icône sur le &Bureau
-CreateQuickLaunchIcon=Créer une icône dans la barre de &Lancement rapide
-ProgramOnTheWeb=Page d'accueil de %1
-UninstallProgram=Désinstaller %1
-LaunchProgram=Exécuter %1
-AssocFileExtension=&Associer %1 avec l'extension de fichier %2
-AssocingFileExtension=Associe %1 avec l'extension de fichier %2...
-
-YouWillInstallDoliWamp=Vous allez installer ou mettre à jour DoliMed (Apache+Mysql+PHP+Dolibarr+Module cabinetmed) sur votre ordinateur.
-ThisAssistantInstallOrUpgrade=Cet assistant installe ou met à jour Dolibarr ERP-CRM et tous ses composants prérequis (Apache, Mysql, PHP et le module Dolibarr cabinetmed) optimisés pour une utilisation de Dolibarr afin de gérer un cabinet médical.
-IfYouHaveTechnicalKnowledge=Si vous avez des compétences techniques et envisagez de partager votre Apache, Mysql et PHP avec d'autres applications que Dolibarr, vous ne devriez pas utiliser cet assistant mais faire plutôt une installation manuelle de Dolibarr sur un socle Apache, Mysql et PHP existant.
-ButIfYouLook=Mais si vous recherchez une installation clé en main automatisée, vous êtes sur la bonne voie...
-DoYouWantToStart=Voulez-vous démarrer le processus d'installation/mise à jour ?
-
-TechnicalParameters=Paramètres techniques
-IfFirstInstall=S'il s'agit de la première installation, merci de spécifier ces quelques paramètres techniques. Si vous ne les comprennez pas, êtes non sûr, ou procédez à une mise à jour, laissez les champs avec les valeurs proposées par défaut.
-
-
-; WARNING !!! STRINGS FOR THIS 4 STRINGS MUST BE LOWER THAN 60 CHARACTERS
-SMTPServer=Serveur SMTP (le votre ou celui de votre FAI, première installation uniquement) :
-ApachePort=Port Apache (première installation uniquement, le choix standard est 80) :
-MySqlPort=Port Mysql (première installation uniquement, le choix standard est 3306) :
-MySqlPassword=Mot de passe serveur+base MySql de root (première installation uniquement):
-
-FailedToDeleteLock=Echec de la suppression du fichier %1/www/dolibarr/install.lock. Vous pouvez ignorer l'avertissement mais il est possible que vous deviez le supprimer manuellement plus tard. Dans ce cas, cela vous sera signalé. Cliquez sur OK pour continuer...
-
-PortAlreadyInUse=Le port %1 semble déjà utilisé. Il est recommandé d'annuler pour revenir en arrière et spécifier une autre valeur pour le port %2. Annuler le choix et choisir une autre valeur ?
-
-FirefoxDetected=Firefox a été détecté sur votre ordinateur. Voulez-vous en faire votre navigateur par défaut pour DoliMed ?
-ChooseDefaultBrowser=Merci de choisir votre navigateur par défaut. Si vous n'êtes pas sûr, cliquez simplement sur Ouvrir :
-
-LaunchNow=Lancer DoliMed maintenant
-
-ProgramHasBeenRemoved=Les fichiers du programme DoliMed ont été supprimés. Toutefois, tous vos fichiers de données sont toujours dans le répertoire %1. Vous devez supprimer ce répertoire manuellement pour avoir une désinstallation complète.
-
-DoliWampWillStartApacheMysql=L'installeur DoliMed va maintenant démarrer ou redémarrer Apache et Mysql, ceci peut durer de quelques secondes à une minute après cette confirmation. Démarrer l'installation ou mise à jour du serveur web et base de données requis par DoliMed ?
-
-OldVersionFoundAndMoveInNew=Une ancienne version de base a été trouvée et déplacée pour fonctionner avec la nouvelle version de DoliMed.
-OldVersionFoundButFailedToMoveInNew=Une ancienne version de base a été trouvée mais ne peut être déplacée pour être utilisée avec la nouvelle version de DoliMed.
-

+ 0 - 12
build/exe/dolimed/Languages/MyGerman.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 Version %2
-AdditionalIcons=Zusätzliche Symbole:
-CreateDesktopIcon=&Desktop-Symbol erstellen
-CreateQuickLaunchIcon=Symbol in der Schnellstartleiste erstellen
-ProgramOnTheWeb=%1 im Internet
-UninstallProgram=%1 entfernen
-LaunchProgram=%1 starten
-AssocFileExtension=&Registriere %1 mit der %2-Dateierweiterung
-AssocingFileExtension=%1 wird mit der %2-Dateierweiterung registriert...

+ 0 - 12
build/exe/dolimed/Languages/MyHebrew.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 גירסה %2
-AdditionalIcons=סימלונים נוספים:
-CreateDesktopIcon=צור קיצור דרך על &שולחן העבודה
-CreateQuickLaunchIcon=צור סימלון בשורת ההרצה המהירה
-ProgramOnTheWeb=%1 ברשת
-UninstallProgram=הסר את %1
-LaunchProgram=הפעל %1
-AssocFileExtension=&קשר את %1 עם סיומת הקובץ %2
-AssocingFileExtension=מקשר את %1 עם סיומת הקובץ %2

+ 0 - 12
build/exe/dolimed/Languages/MyHungarian.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 %2 verzió
-AdditionalIcons=További ikonok:
-CreateDesktopIcon=Ikon létrehozása az &Asztalon
-CreateQuickLaunchIcon=Ikon létrehozása a &Gyorsindítás eszköztáron
-ProgramOnTheWeb=%1 a weben
-UninstallProgram=%1 eltávolítása
-LaunchProgram=%1 elindítása
-AssocFileExtension=A(z) %1 &társítása a(z) %2 fájlkiterjesztéssel
-AssocingFileExtension=A(z) %1 társítása a(z) %2 fájlkiterjesztéssel...

+ 0 - 12
build/exe/dolimed/Languages/MyItalian.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 versione %2
-AdditionalIcons=Icone aggiuntive:
-CreateDesktopIcon=Crea un'icona sul &desktop
-CreateQuickLaunchIcon=Crea un'icona nella barra &Avvio veloce
-ProgramOnTheWeb=%1 sul Web
-UninstallProgram=Disinstalla %1
-LaunchProgram=Avvia %1
-AssocFileExtension=&Associa l'estensione %2 a %1
-AssocingFileExtension=Associazione dell'estensione %2 a %1 in corso...

+ 0 - 12
build/exe/dolimed/Languages/MyJapanese.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 バージョン %2
-AdditionalIcons=アイコンを追加する:
-CreateDesktopIcon=デスクトップ上にアイコンを作成する(&D)
-CreateQuickLaunchIcon=クイック起動アイコンを作成する(&Q)
-ProgramOnTheWeb=%1 on the Web
-UninstallProgram=%1 をアンインストールする
-LaunchProgram=%1 を実行する
-AssocFileExtension=%2 ファイル拡張に %1を関連付けます。
-AssocingFileExtension=%2 に %1を関連付けます。

+ 0 - 12
build/exe/dolimed/Languages/MyNorwegian.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 versjon %2
-AdditionalIcons=Ekstra-ikoner:
-CreateDesktopIcon=Lag ikon på &skrivebordet
-CreateQuickLaunchIcon=Lag et &Hurtigstarts-ikon
-ProgramOnTheWeb=%1 på nettet
-UninstallProgram=Avinstaller %1
-LaunchProgram=Kjør %1
-AssocFileExtension=&Koble %1 med filetternavnet %2
-AssocingFileExtension=Kobler %1 med filetternavnet %2...

+ 0 - 12
build/exe/dolimed/Languages/MyPolish.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 wersja %2
-AdditionalIcons=Dodatkowe ikony:
-CreateDesktopIcon=Utwórz ikonę na &pulpicie
-CreateQuickLaunchIcon=Utwórz ikonę na pasku &szybkiego uruchamiania
-ProgramOnTheWeb=Strona WWW programu %1
-UninstallProgram=Deinstalacja programu %1
-LaunchProgram=Uruchom program %1
-AssocFileExtension=&Przypisz program %1 do rozszerzenia pliku %2
-AssocingFileExtension=Przypisywanie programu %1 do rozszerzenia pliku %2...

+ 0 - 12
build/exe/dolimed/Languages/MyPortuguese.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 versão %2
-AdditionalIcons=Ícones adicionais:
-CreateDesktopIcon=Criar ícone no Ambiente de &Trabalho
-CreateQuickLaunchIcon=&Criar ícone na barra de Iniciação Rápida
-ProgramOnTheWeb=%1 na Web
-UninstallProgram=Desinstalar o %1
-LaunchProgram=Executar o %1
-AssocFileExtension=Associa&r o %1 aos ficheiros com a extensão %2
-AssocingFileExtension=A associar o %1 aos ficheiros com a extensão %2...

+ 0 - 12
build/exe/dolimed/Languages/MyRussian.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1, версия %2
-AdditionalIcons=Дополнительные значки:
-CreateDesktopIcon=Создать значок на &Рабочем столе
-CreateQuickLaunchIcon=Создать значок в &Панели быстрого запуска
-ProgramOnTheWeb=Сайт %1 в Интернете
-UninstallProgram=Деинсталлировать %1
-LaunchProgram=Запустить %1
-AssocFileExtension=Св&язать %1 с файлами, имеющими расширение %2
-AssocingFileExtension=Связывание %1 с файлами %2...

+ 0 - 11
build/exe/dolimed/Languages/MySlovak.isl

@@ -1,11 +0,0 @@
-
-[CustomMessages]
-NameAndVersion=%1 verzia %2
-AdditionalIcons=Ïalší zástupcovia:
-CreateDesktopIcon=Vytvori� zástupcu na &ploche
-CreateQuickLaunchIcon=Vytvori� zástupcu na paneli &Rýchle spustenie
-ProgramOnTheWeb=Aplikácia %1 na internete
-UninstallProgram=Odinštalova� aplikáciu %1 
-LaunchProgram=Spusti� aplikáciu %1
-AssocFileExtension=Vytvori� &asociáciu medzi súbormi typu %2 a aplikáciou %1
-AssocingFileExtension=Vytvára sa asociácia medzi súbormi typu %2 a aplikáciou %1...

+ 0 - 12
build/exe/dolimed/Languages/MySlovenian.isl

@@ -1,12 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 razlièica %2
-AdditionalIcons=Dodatne ikone:
-CreateDesktopIcon=Ustvari ikono na &namizju
-CreateQuickLaunchIcon=Ustvari ikono za &hitri zagon
-ProgramOnTheWeb=%1 na spletu
-UninstallProgram=Odstrani %1
-LaunchProgram=Odpri %1
-AssocFileExtension=&Poveži %1 s pripono %2
-AssocingFileExtension=Povezujem %1 s pripono %2...

+ 0 - 44
build/exe/dolimed/Languages/MySpanish.isl

@@ -1,44 +0,0 @@
-
-[CustomMessages]
-
-NameAndVersion=%1 versión %2
-AdditionalIcons=Iconos adicionales:
-CreateDesktopIcon=Crear un icono en el &escritorio
-CreateQuickLaunchIcon=Crear un icono de Inicio Rápido
-ProgramOnTheWeb=%1 en la Web
-UninstallProgram=Desinstalar %1
-LaunchProgram=Ejecutar %1
-AssocFileExtension=&Asociar %1 con la extensión de archivo %2
-AssocingFileExtension=Asociando %1 con la extensión de archivo %2...
-
-YouWillInstallDoliWamp=Va a instalar o actualizar DoliMed (Apache+Mysql+PHP+Dolibarr+Medical module) en su ordenador.
-ThisAssistantInstallOrUpgrade=Este asistente instala o actualiza Dolibarr ERP-CRM y todos sus requisitos (Apache, Mysql y PHP) optimizados para el uso de  Dolibarr.
-IfYouHaveTechnicalKnowledge=Si tiene conocimientos técnicos y necesita usar su Apache, Mysql y PHP con otras aplicaciones aparte de Dolibarr, no debería usar este asistente, debería realizar una instalación manual de Dolibarr sobre un Apache, Mysql y PHP existente.
-ButIfYouLook=Pero si busca una instalación automática, se encuentra en el buen camino...
-DoYouWantToStart=¿Quiere iniciar el proceso de instalación/actualización?
-
-TechnicalParameters=Parámetros técnicos
-IfFirstInstall=Si se trata de la primera instalación, deberá especificar algunos parámetros técnicos. Si no los entiende, no está seguro o va a proceder a una actualización, deje los campos con los valores propuestos por defecto.
-
-; WARNING !!! STRINGS HERE MUST BE LOWER THAN 60 CHARACTERS
-SMTPServer=Servidor SMTP (El suyo o el de su ISP, únicamente primera instalación) :
-ApachePort=Puerto Apache (únicamente primera instalación, normalmente es el 80) :
-MySqlPort=Puerto Mysql (únicamente primera instalación, normalmente es el 3306) :
-MySqlPassword=Contraseña del servidor y la base de datos MySQL de root (únicamente primera instalación):
-
-FailedToDeleteLock=Error en la eliminación del archivo %1/www/dolibarr/install.lock. Puede ignorar el aviso pero es posible que deba eliminarlo manualmente más tarde. En este caso, será informado. Haga clic en OK para continuar...
-
-PortAlreadyInUse=Parece que el puerto %1 ya esta siendo usado. Se recomienda cancelar, volver atras y especificar otro valor para el puerto %2. ¿Cancelar y escojer otro valor?
-
-FirefoxDetected=Se ha detectado Firefox en su ordenador. Desea activarlo por defecto como navegador para Dolibarr ?
-ChooseDefaultBrowser=Escoja su navegador por defecto. Si no está seguro, simplementa haga clic en Abrir :
-
-LaunchNow=Lanzar ahora Dolibarr
-
-ProgramHasBeenRemoved=Los archivos del programa Dolibarr han sido eliminados. Sin embargo todos sus archivos de datos se encuentran todavía en el directorio %1. Deberá eliminar este directorio manualmente para una desinstalación completa.
-
-DoliWampWillStartApacheMysql=El instalador DoliMed intentará iniciar o reiniciar Apache y MySQL, esto puede durar desde varios segundos a un minuto después de la confirmación. ¿Iniciar la instalación o actualización de los servidores Web y bases de datos requeridas por Dolibarr?
-
-OldVersionFoundAndMoveInNew=Se ha encontrado una versión antigua de base de datos y ha sido movida para ser utilizada por la nueva versión de Dolibarr
-OldVersionFoundButFailedToMoveInNew=Se ha encontrado una versión antigua de base de datos, pero no se pudo mover para ser utilizada por la nueva versión de Dolibarr
- 	  	 

BIN
build/exe/dolimed/dolimed.bmp


+ 0 - 1020
build/exe/dolimed/dolimed.iss

@@ -1,1020 +0,0 @@
-; ----- DoliMed.iss ---------------------------------------------------------------------
-; Script to build an auto installer for DoliMed.
-; Works with InnoSetup 5.4.0 (a)
-; Idea from WampServer 2 (http://www.wampserver.com)
-;----------------------------------------------------------------------------------------
-; You must edit some path in this file to build an exe (like SourceDir).
-; WARNING: Be sure that user.* files of Mysql database used to build
-; package contains only one user called root with no password.
-; For this, you can edit the mysql.user table of the source database to keep
-; only the root user with no password, stop server and catch
-; files user.MY* to put them in the Dolibarr build/exe/doliwamp/mysql directory.
-;----------------------------------------------------------------------------------------
-
-
-[Setup]
-; ----- Change this -----
-AppName=DoliMed
-; DoliMed-x.x.x or DoliMed-x.x.x-dev or DoliMed-x.x.x-beta
-AppVerName=DoliMed-3.7.0
-; DoliMed-x.x x or DoliMed-x.x.x-dev or DoliMed-x.x.x-beta
-OutputBaseFilename=DoliMed-3.7.0
-; Define full path from wich all relative path are defined
-; You must modify this to put here your dolibarr root directory
-SourceDir=..\..\..
-; ----- End of change
-;OutputManifestFile=build\dolimedbuild.log
-AppId=dolimed
-AppPublisher=NLTechno
-AppPublisherURL=http://www.nltechno.com
-AppSupportURL=http://www.dolibarr.org
-AppUpdatesURL=http://www.dolibarr.org
-AppComments=DoliMed includes Dolibarr, Apache, PHP and Mysql softwares, and medical module.
-AppCopyright=Copyright (C) 2008-2015 Laurent Destailleur, NLTechno
-DefaultDirName=c:\dolimed
-DefaultGroupName=DoliMed
-;LicenseFile=COPYING
-;Compression=none
-Compression=lzma
-SolidCompression=yes
-WizardImageFile=build\exe\dolimed\dolimed.bmp
-WizardSmallImageFile=build\exe\dolimed\dolimedsmall.bmp
-SetupIconFile=htdocs\cabinetmed\img\dolimed.ico
-PrivilegesRequired=admin
-DisableProgramGroupPage=yes
-ChangesEnvironment=no
-CreateUninstallRegKey=yes
-;UseSetupLdr=no
-;UninstallDisplayIcon={app}\bidon
-OutputDir=build
-ShowLanguageDialog=auto
-ShowUndisplayableLanguages=no
-;LanguageDetectionMethod=none
-LanguageDetectionMethod=uilanguage
-;SignedUninstaller=yes
-
-[Languages]
-Name: "en"; MessagesFile: "compiler:Default.isl,build\exe\dolimed\Languages\MyEnglish.isl"
-Name: "br"; MessagesFile: "compiler:Languages\Portuguese.isl,build\exe\dolimed\Languages\MyBrazilianPortuguese.isl"
-Name: "ca"; MessagesFile: "compiler:Languages\Catalan.isl,build\exe\dolimed\Languages\MyCatalan.isl"
-Name: "da"; MessagesFile: "compiler:Languages\Danish.isl,build\exe\dolimed\Languages\MyDanish.isl"
-Name: "es"; MessagesFile: "compiler:Languages\Spanish.isl,build\exe\dolimed\Languages\MySpanish.isl"
-Name: "nl"; MessagesFile: "compiler:Languages\Dutch.isl,build\exe\dolimed\Languages\MyDutch.isl"
-Name: "fi"; MessagesFile: "compiler:Languages\Finnish.isl,build\exe\dolimed\Languages\MyFinnish.isl"
-Name: "fr"; MessagesFile: "compiler:Languages\French.isl,build\exe\dolimed\Languages\MyFrench.isl"
-Name: "ge"; MessagesFile: "compiler:Languages\German.isl,build\exe\dolimed\Languages\MyGerman.isl"
-Name: "it"; MessagesFile: "compiler:Languages\Italian.isl,build\exe\dolimed\Languages\MyItalian.isl"
-Name: "nb"; MessagesFile: "compiler:Languages\Norwegian.isl,build\exe\dolimed\Languages\MyNorwegian.isl"
-Name: "po"; MessagesFile: "compiler:Languages\Polish.isl,build\exe\dolimed\Languages\MyPolish.isl"
-Name: "pt"; MessagesFile: "compiler:Languages\Portuguese.isl,build\exe\dolimed\Languages\MyPortuguese.isl"
-Name: "ru"; MessagesFile: "compiler:Languages\Russian.isl,build\exe\dolimed\Languages\MyRussian.isl"
-Name: "sv"; MessagesFile: "compiler:Languages\Slovenian.isl,build\exe\dolimed\Languages\MySlovenian.isl"
-
-[Tasks]
-;Name: "autostart"; Description: "Automatically launch DoliMed server on startup. If you check this option, Services will be installed as automatic. Otherwise, services will be installed as manual and will start and stop with the service manager."; GroupDescription: "Auto Start:" ;Flags: unchecked;
-Name: "quicklaunchicon"; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
-Name: "desktopicon"; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
-
-[Dirs]
-Name: "{app}\logs"
-Name: "{app}\tmp"
-Name: "{app}\dolibarr_documents"
-Name: "{app}\bin\apache\apache2.2.11\logs"
-
-[Files]
-; Stop/start
-Source: "build\exe\dolimed\stopdoliwamp.bat"; DestDir: "{app}\"; Flags: ignoreversion; AfterInstall: close()
-Source: "build\exe\dolimed\startdoliwamp.bat"; DestDir: "{app}\"; Flags: ignoreversion;
-Source: "build\exe\dolimed\install_services.bat.install"; DestDir: "{app}\"; Flags: ignoreversion;
-Source: "build\exe\dolimed\uninstall_services.bat.install"; DestDir: "{app}\"; Flags: ignoreversion;
-Source: "build\exe\doliwamp\removefiles.bat"; DestDir: "{app}\"; Flags: ignoreversion;
-Source: "build\exe\doliwamp\rundoliwamp.bat.install"; DestDir: "{app}\"; Flags: ignoreversion;
-Source: "build\exe\doliwamp\rundolihelp.bat.install"; DestDir: "{app}\"; Flags: ignoreversion;
-Source: "build\exe\doliwamp\rundoliadmin.bat.install"; DestDir: "{app}\"; Flags: ignoreversion;
-Source: "build\exe\doliwamp\mysqlinitpassword.bat.install"; DestDir: "{app}\"; Flags: ignoreversion;
-Source: "build\exe\doliwamp\mysqltestinstall.bat.install"; DestDir: "{app}\"; Flags: ignoreversion;
-Source: "build\exe\doliwamp\startdoliwamp_manual_donotuse.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;
-; PhpMyAdmin, Apache, Php, Mysql
-; 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 or 5.1.36
-; Value OK: apache 2.2.11, php 5.3.0 (if no php_exif, php_pgsql, php_zip), mysql 5.0.45 or 5.1.36
-Source: "C:\Program Files\Wamp\apps\phpmyadmin3.2.0.1\*.*"; DestDir: "{app}\apps\phpmyadmin3.2.0.1"; Flags: ignoreversion recursesubdirs; Excludes: "config.inc.php,wampserver.conf,*.log,*_log,darkblue_orange"
-Source: "C:\Program Files\Wamp\bin\apache\apache2.2.11\*.*"; DestDir: "{app}\bin\apache\apache2.2.11"; Flags: ignoreversion recursesubdirs; Excludes: "php.ini,httpd.conf,wampserver.conf,*.log,*_log"
-Source: "C:\Program Files\Wamp\bin\php\php5.3.0\*.*"; DestDir: "{app}\bin\php\php5.3.0"; Flags: ignoreversion recursesubdirs; Excludes: "php.ini,phpForApache.ini,wampserver.conf,*.log,*_log"
-Source: "C:\Program Files\Wamp\bin\mysql\mysql5.0.45\*.*"; DestDir: "{app}\bin\mysql\mysql5.0.45"; Flags: ignoreversion recursesubdirs; Excludes: "my.ini,data\*,wampserver.conf,*.log,*_log,MySQLInstanceConfig.exe"
-; Mysql data files (does not overwrite if exists)
-Source: "build\exe\doliwamp\mysql\*.*"; DestDir: "{app}\bin\mysql\data\mysql"; Flags: onlyifdoesntexist ignoreversion recursesubdirs; Excludes: ".cvsignore,.project,CVS\*,Thumbs.db"
-; Dolibarr
-Source: "htdocs\*.*"; DestDir: "{app}\www\dolibarr\htdocs"; Flags: ignoreversion recursesubdirs; Excludes: ".cvsignore,.project,CVS\*,Thumbs.db,custom\*,custom2\*,documents\*,includes\savant\*,includes\phpmailer\*,jquery\plugins\template\*,PHPExcel\Shared\PDF\*,PHPExcel\Shared\PCLZip\*,tcpdf\fonts\dejavu-fonts-ttf-2.33\*,tcpdf\fonts\freefont-20100919\*,tcpdf\fonts\utils\*,*\conf.php,*\conf.php.mysql,*\conf.php.old,*\conf.php.postgres,*\conf.php.sav,*\install.forced.php"
-Source: "dev\*.*"; DestDir: "{app}\www\dolibarr\dev"; Flags: ignoreversion recursesubdirs; Excludes: ".cvsignore,.project,CVS\*,Thumbs.db,dbmodel\*,fpdf\*,initdata\*,iso-normes\*,licence\*,phpcheckstyle\*,phpunit\*,samples\*,test\*,uml\*,xdebug\*"
-Source: "doc\*.*"; DestDir: "{app}\www\dolibarr\doc"; Flags: ignoreversion recursesubdirs; Excludes: ".cvsignore,.project,CVS\*,Thumbs.db,wiki\*,plaquette\*,dev\*,images\dolibarr_screenshot2.png,images\dolibarr_screenshot3.png,images\dolibarr_screenshot4.png,images\dolibarr_screenshot5.png,images\dolibarr_screenshot6.png,images\dolibarr_screenshot7.png,images\dolibarr_screenshot8.png,images\dolibarr_screenshot9.png,images\dolibarr_screenshot10.png,images\dolibarr_screenshot11.png,images\dolibarr_screenshot12.png"
-Source: "scripts\*.*"; DestDir: "{app}\www\dolibarr\scripts"; Flags: ignoreversion recursesubdirs; Excludes: ".cvsignore,.project,CVS\*,Thumbs.db,product\materiel.net.php,product\import-product.php"
-Source: "*.*"; DestDir: "{app}\www\dolibarr"; Flags: ignoreversion; Excludes: ".cvsignore,.project,CVS\*,Thumbs.db,default.properties,install.lock"
-; 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\config.inc.php.install"; DestDir: "{app}\apps\phpmyadmin3.2.0.1"; Flags: ignoreversion;
-Source: "build\exe\doliwamp\httpd.conf.install"; DestDir: "{app}\bin\apache\apache2.2.11\conf"; Flags: ignoreversion;
-Source: "build\exe\doliwamp\my.ini.install"; DestDir: "{app}\bin\mysql\mysql5.0.45"; Flags: ignoreversion;
-Source: "build\exe\doliwamp\php.ini.install"; DestDir: "{app}\bin\php\php5.3.0"; Flags: ignoreversion;
-Source: "build\exe\doliwamp\index.php.install"; DestDir: "{app}\www"; Flags: ignoreversion;
-Source: "build\exe\dolimed\install.forced.php.install"; DestDir: "{app}\www\dolibarr\htdocs\install"; Flags: ignoreversion;
-Source: "build\exe\doliwamp\openssl.conf"; DestDir: "{app}"; Flags: ignoreversion;
-Source: "build\exe\doliwamp\ca_demo_dolibarr.crt"; DestDir: "{app}"; Flags: ignoreversion;
-Source: "build\exe\doliwamp\ca_demo_dolibarr.key"; DestDir: "{app}"; Flags: ignoreversion;
-; Licence
-Source: "COPYRIGHT"; DestDir: "{app}"; Flags: ignoreversion;
-
-
-
-[Icons]
-Name: "{group}\DoliMed"; Filename: "{app}\rundoliwamp.bat"; WorkingDir: "{app}"; IconFilename: {app}\www\dolibarr\doc\images\dolimed.ico
-Name: "{group}\Tools\Help center"; Filename: "{app}\rundolihelp.bat"; WorkingDir: "{app}"; IconFilename: {app}\www\dolibarr\doc\images\dolihelp.ico
-Name: "{group}\Tools\Start DoliMed server"; Filename: "{app}\startdoliwamp.bat"; WorkingDir: "{app}"; IconFilename: {app}\www\dolibarr\doc\images\doliwampon.ico
-Name: "{group}\Tools\Stop DoliMed server"; Filename: "{app}\stopdoliwamp.bat"; WorkingDir: "{app}"; IconFilename: {app}\www\dolibarr\doc\images\doliwampoff.ico
-Name: "{group}\Tools\Admin DoliMed server"; Filename: "{app}\rundoliadmin.bat"; WorkingDir: "{app}"; IconFilename: {app}\www\dolibarr\doc\images\doliadmin.ico
-Name: "{group}\Tools\Uninstall DoliMed"; Filename: "{app}\unins000.exe"; WorkingDir: "{app}"; IconFilename: {app}\uninstall_services.bat
-Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\DoliMed"; WorkingDir: "{app}"; Filename: "{app}\rundoliwamp.bat"; Tasks: quicklaunchicon; IconFilename: {app}\www\dolibarr\doc\images\dolimed.ico
-Name: "{userdesktop}\DoliMed"; Filename: "{app}\rundoliwamp.bat"; WorkingDir: "{app}"; Tasks: desktopicon; IconFilename: {app}\www\dolibarr\doc\images\dolimed.ico
-Name: "{userdesktop}\DoliMed Help center"; Filename: "{app}\rundolihelp.bat"; WorkingDir: "{app}"; Tasks: desktopicon; IconFilename: {app}\www\dolibarr\doc\images\dolihelp.ico
-;Start of servers fromstartup menu disabled as services are auto
-;Name: "{userstartup}\DoliMed server"; Filename: "{app}\startdoliwamp.bat"; WorkingDir: "{app}"; Flags: runminimized; IconFilename: {app}\www\dolibarr\doc\images\dolimed.ico
-
-
-[Code]
-
-//variables globales
-var phpVersion: String;
-var apacheVersion: String;
-var path: String;
-var pfPath: String;
-var winPath: String;
-var pathWithSlashes: String;
-var Page: TInputQueryWizardPage;
-
-var smtpServer: String;
-var apachePort: String;
-var mysqlPort: String;
-var newPassword: String;
-
-var lockFile: String;
-var srcFile: String;
-var destFile: String;
-var srcFileH: String;
-var destFileH: String;
-var srcFileA: String;
-var destFileA: String;
-var srcContents: String;
-var browser: String;
-var mysqlVersion: String;
-var phpmyadminVersion: String;
-var phpDllCopy: String;
-var batFile: String;
-
-var mysmtp: String;
-var myporta: String;
-var myportas: String;
-var myport: String;
-var mypass: String;
-
-var firstinstall: Boolean;
-var value: String;
-
-
-//-----------------------------------------------
-//procedures lancees au debut de l'installation
-function InitializeSetup(): Boolean;
-begin
-  Result := MsgBox(CustomMessage('YouWillInstallDoliWamp')+#13#13+CustomMessage('ThisAssistantInstallOrUpgrade')+#13#13+CustomMessage('IfYouHaveTechnicalKnowledge')+#13#13+CustomMessage('ButIfYouLook')+#13#13+CustomMessage('DoYouWantToStart'), mbConfirmation, MB_YESNO) = IDYES;
-end;
-
-procedure InitializeWizard();
-begin
-  //version des applis, a modifier pour chaque version de WampServer 2
-  apacheVersion := '2.2.11';
-  phpVersion := '5.3.0' ;
-  mysqlVersion := '5.0.45';
-  phpmyadminVersion := '3.2.0.1';
-
-  smtpServer := 'localhost';
-  apachePort := '80';
-  mysqlPort := '3306';
-  newPassword := 'changeme';
-
-  firstinstall := true;
-
-
-  //LoadStringFromFile (srcFile, srcContents);
-  //posvalue=Pos('$dolibarr_main_db_port=', srcFile);
-
-  if RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\NLTechno\DoliMed','smtpServer', value) then
-  begin
-      if value <> '' then smtpServer:=value;
-  end
-  else
-  begin
-    if RegQueryStringValue(HKEY_CURRENT_USER, 'Software\Microsoft\Internet Account Manager\Accounts\00000001','SMTP Server', value) then
-    begin
-      if value <> '' then smtpServer:=value;
-    end
-    else
-    begin
-      if RegQueryStringValue(HKEY_LOCAL_MACHINE, 'PMail\ServiceInfo\Mail_Account_1','SvcSMTPHost', value) then
-      begin
-        if value <> '' then smtpServer:=value;
-      end
-      else
-      begin
-        if RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\MSCRM','SMTPServer', value) then
-        begin
-          if value <> '' then smtpServer:=value;
-        end
-      end
-    end
-  end;
-
-  if RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\NLTechno\DoliMed','apachePort', value) then
-  begin
-      if value <> '' then apachePort:=value;
-  end;
-
-  if RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\NLTechno\DoliMed','mysqlPort', value) then
-  begin
-      if value <> '' then mysqlPort:=value;
-  end;
-
-  if RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\NLTechno\DoliMed','newPassword', value) then
-  begin
-      if value <> '' then newPassword:=value;
-  end;
-
-
-  // Prepare an object calle "Page" of type wpInstalling.
-  // Object will be show later in NextButtonClick function.
-  Page := CreateInputQueryPage(wpInstalling,
-  CustomMessage('TechnicalParameters'), '',
-  CustomMessage('IfFirstInstall'));
-
-  // TODO Add control differently if first install or update
-  if firstinstall
-  then
-  begin
-    Page.Add(CustomMessage('SMTPServer'), False);
-    Page.Add(CustomMessage('ApachePort'), False);
-    Page.Add(CustomMessage('MySqlPort'), False);
-    Page.Add(CustomMessage('MySqlPassword'), False);
-  end
-  else
-  begin
-    Page.Add(CustomMessage('SMTPServer'), False);
-    Page.Add(CustomMessage('ApachePort'), False);
-    Page.Add(CustomMessage('MySqlPort'), False);
-    Page.Add(CustomMessage('MySqlPassword'), False);
-  end;
-  
-  // Default values
-  Page.Values[0] := smtpServer;
-  Page.Values[1] := apachePort;
-  Page.Values[2] := mysqlPort;
-  Page.Values[3] := newPassword;
-
-end;
-
-
-//-----------------------------------------------
-// Stop all services (if exist)
-procedure close();
-var myResult: Integer;
-begin
-path := ExpandConstant('{app}');
-pfPath := ExpandConstant('{pf}');
-winPath := ExpandConstant('{win}');
-pathWithSlashes := path;
-StringChange (pathWithSlashes, '\','/');
-
-batFile := path+'\stopdoliwamp.bat';
-Exec(batFile, '',path+'\', SW_HIDE, ewWaitUntilTerminated, myResult);
-end;
-
-
-
-
-//-----------------------------------------------------------
-// Install pages
-function NextButtonClick(CurPageID: Integer): Boolean;
-var myResult: Integer;
-var res: Boolean;
-var paramok: Boolean;
-var datadirold: String;
-var datadirnew: String;
-var exedirold: String;
-var exedirnew: String;
-var themessage: String;
-begin
-
-   res := True;
-   
-  //MsgBox(''+CurPageID,mbConfirmation,MB_YESNO);
-
-  if CurPageID = Page.ID then
-  begin
-
-    // This must be in if curpage.id = page.id, otherwise it is executed after each Next button
-
-    path := ExpandConstant('{app}');
-    winPath := ExpandConstant('{win}');
-    pathWithSlashes := path;
-    StringChange (pathWithSlashes, '\','/');
-    datadirold := pathWithSlashes+'/bin/mysql/mysql5.0.45/data';
-    datadirnew := pathWithSlashes+'/bin/mysql/data';
-    exedirold := pathWithSlashes+'/bin/mysql/mysql5.0.45';
-    exedirnew := pathWithSlashes+'/bin/mysql/mysql5.0.45';
-
-    // If we have a new database version, we should only copy old my.ini file into new directory
-    // and change only all basedir= strings to use new version. Like this, data dir is still correct.
-    // Install of service and stop/start scripts are already rebuild by installer.
-//      FileCopy(exedirold+'/my.ini',exedirnew+'/my.ini', true);
-
-//    We should not need this, also databases may not be called dolibarr
-//      res := RenameFile(ibdata1dirold+'/dolibarr',ibdata1dirnew+'/dolibarr');
-//      if res then
-//      begin
-//          themessage := CustomMessage('OldVersionFoundAndMoveInNew');
-//          MsgBox(themessage,mbInformation,MB_OK);
-//          TODO Replace also mysql.ini and resintall service
-//      end
-//      else
-//      begin
-//          themessage := CustomMessage('OldVersionFoundButFailedToMoveInNew');
-//          MsgBox(themessage,mbInformation,MB_OK);
-//      end;
-
-
-    //----------------------------------------------
-    // Copie des dll de php vers apache
-    //----------------------------------------------
-	// TODO Update this list when changing PHP/Apache versions
-	
-    phpDllCopy := 'fdftk.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-    phpDllCopy := 'fribidi.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-    phpDllCopy := 'gds32.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-    phpDllCopy := 'libeay32.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-    phpDllCopy := 'libmhash.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-    phpDllCopy := 'libmysql.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-    phpDllCopy := 'libpq.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-    phpDllCopy := 'msql.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-    phpDllCopy := 'libmcrypt.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-    phpDllCopy := 'libmysqli.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-    phpDllCopy := 'ntwdblib.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-
-    phpDllCopy := 'php5activescript.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-    phpDllCopy := 'php5nsapi.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-    phpDllCopy := 'php5ts.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-
-    phpDllCopy := 'ssleay32.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-    phpDllCopy := 'yaz.dll';
-    filecopy (pathWithSlashes+'/bin/php/php'+phpVersion+'/'+phpDllCopy, pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/'+phpDllCopy, False);
-
-
-    // Remove lock file
-    lockfile := pathWithSlashes+'/dolibarr_documents/install.lock';
-    if FileExists (lockfile) and not DeleteFile(lockfile) then
-    begin
-      themessage := FmtMessage(CustomMessage('FailedToDeleteLock'),[pathWithSlashes]);
- 		  MsgBox(themessage,mbInformation,MB_OK);
-    end
-
-
-		// Check if parameters already defined in conf.php file
-		srcFile := pathWithSlashes+'/www/dolibarr/htdocs/conf/conf.php';
-		if not FileExists (srcFile) then
-		begin
-		    firstinstall := true;
-		
-		    // Values from wizard
-		    mysmtp  := Page.Values[0];
-		    myporta := Page.Values[1];
-		    myportas:= '443';
-		    myport  := Page.Values[2];
-		    mypass  := Page.Values[3];
-		end
-		else
-		begin
-		    firstinstall := false;
-		
-		    // Values from registry
-		    mysmtp  := smtpServer;
-		    myporta := apachePort;
-		    myportas:= '443';
-		    myport  := mysqlPort;
-		    mypass  := newPassword;
-		end;
-		
-		paramok := True;
-		// TODO Test if choice of param is ok if firstinstall
-
-    if (firstinstall) then
-    begin
-    
-		  // Test serveur SMTP
-//      if paramok then
-//      begin
-//    		batFile := pathWithSlashes+'/UsedPort.exe';
-//    		MsgBox('batFile = '+batFile,mbConfirmation,MB_YESNO)
-//  	    Exec(batFile, '-s '+smtpServer+' -p 25', path+'\', SW_HIDE, ewWaitUntilTerminated, myResult);
-        	//themessage := 'Le serveur '+smtpServer+' semble ne pas etre joignable pour l envoi de mail SMTP (port 25). Si vous avez un firewall, verifiez sa configuration. Sinon, revenez en arriere pour choisir une autre valeur pour le serveur SMTP sortant d envoi de mail (Cette information est doit etre fournie par votre fournisseur d acces Internet).';
-//        	themessage := 'The server '+smtpServer+' seems to be unreachable to send outgoing SMTP emails (port 25). If you have a firewall, check its setup. Otherwise, go back to choose another value for the SMTP server (This information shoud be given by your Internet Service Provider) or click "No" to ignore error. Cancel choice to choose another value ?';
-//  		  if ((IntToStr(myResult) <> '0') and (MsgBox(themessage,mbConfirmation,MB_YESNO) = IDYES)) then
-//        begin
-//  		    paramok := False;
-//  		  end;
-//	    end;
-	
-      if paramok then
-      begin
-  		  // Test port Apache
-    		batFile := pathWithSlashes+'/UsedPort.exe';
-    		//MsgBox('batFile = '+batFile,mbConfirmation,MB_YESNO)
-    		Exec(batFile, '-s localhost -p '+myporta, path+'\', SW_HIDE, ewWaitUntilTerminated, myResult);
-        	//themessage := 'Le port '+myporta+' semble deja pris. Revenez en arriere pour choisir une autre valeur pour le port Apache.';
-        	themessage := FmtMessage(CustomMessage('PortAlreadyInUse'),[myporta,'Apache']);
-    		if ((IntToStr(myResult) = '0') and (MsgBox(themessage,mbConfirmation,MB_YESNO) = IDYES)) then
-        begin
-    		  paramok := False;
-    		end;
-      end;
-      
-      if paramok then
-      begin
-    		// Test port Mysql
-    		batFile := pathWithSlashes+'/UsedPort.exe';
-    		//MsgBox('batFile = '+batFile,mbConfirmation,MB_YESNO)
-    		Exec(batFile, '-s localhost -p '+myport, path+'\', SW_HIDE, ewWaitUntilTerminated, myResult);
-        	//themessage := 'Le port '+myport+' semble deja pris. Revenez en arriere pour choisir une autre valeur pour le port MySQL.';
-        	themessage := FmtMessage(CustomMessage('PortAlreadyInUse'),[myport,'MySql']);
-    		if ((IntToStr(myResult) = '0') and (MsgBox(themessage,mbConfirmation,MB_YESNO) = IDYES)) then
-    		begin
-      		paramok := False;
-    		end;
-      end;
-      
-    end;
-		
-		if paramok
-		then
-		begin
-		    
-	    //----------------------------------------------
-	    // Rename file c:/windows/php.ini (we don't want it)
-	    //----------------------------------------------
-		
-	    if FileExists ('c:/windows/php.ini') then
-	    begin
-	      if MsgBox('A previous c:/windows/php.ini file has been detected in your Windows directory. Do you want DoliMed to rename it to php_old.ini to avoid conflicts ?',mbConfirmation,MB_YESNO) = IDYES then
-	      begin
-	        RenameFile('c:/windows/php.ini','c:/windows/php_old.ini');
-	      end;
-	    end;
-	    if FileExists ('c:/winnt/php.ini') then
-	    begin
-	      if MsgBox('A previous c:/winnt/php.ini file has been detected in your Windows directory. Do you want DoliMed to rename it to php_old.ini to avoid conflicts ?',mbConfirmation,MB_YESNO) = IDYES then
-	      begin
-	        RenameFile('c:/winnt/php.ini','c:/winnt/php_old.ini');
-	      end;
-	    end;
-		
-		
-		
-	    //----------------------------------------------
-	    // Create rundoliwamp.bat, rundolihelp.bat and rundoliadmin.bat (if not exists)
-	    //----------------------------------------------
-	
-	    destFile := pathWithSlashes+'/rundoliwamp.bat';
-	    srcFile := pathWithSlashes+'/rundoliwamp.bat.install';
-	
-	    destFileH := pathWithSlashes+'/rundolihelp.bat';
-	    srcFileH := pathWithSlashes+'/rundolihelp.bat.install';
-	
-	    destFileA := pathWithSlashes+'/rundoliadmin.bat';
-	    srcFileA := pathWithSlashes+'/rundoliadmin.bat.install';
-	
-	    if (not FileExists (destFile) or not FileExists (destFileH) or not FileExists (destFileA))
-	     and (FileExists(srcFile) and FileExists(srcFileH) and FileExists(srcFileA)) then
-	    begin
-	      //navigateur
-	      browser := 'iexplore.exe';
-	      if FileExists (pfPath+'/Mozilla Firefox/firefox.exe')  then
-	      begin
-	        if MsgBox(CustomMessage('FirefoxDetected'),mbConfirmation,MB_YESNO) = IDYES then
-	        begin
-	          browser := pfPath+'/Mozilla Firefox/firefox.exe';
-	        end;
-	      end;
-	      if browser = 'iexplore.exe' then
-	      begin
-            if FileExists (pfPath+'/Internet Explorer/iexplore.exe')  then
-            begin
-               GetOpenFileName(CustomMessage('ChooseDefaultBrowser'), browser, pfPath+'/Internet Explorer','exe files (*.exe)|*.exe|All files (*.*)|*.*' ,'exe');
-	        end
-	        else
-	        begin
-               GetOpenFileName(CustomMessage('ChooseDefaultBrowser'), browser, winPath,'exe files (*.exe)|*.exe|All files (*.*)|*.*' ,'exe');
-	        end;
-	      end;
-	
-	      LoadStringFromFile (srcFile, srcContents);
-	      StringChangeEx (srcContents, 'WAMPBROWSER', browser, True);
-	      StringChangeEx (srcContents, 'WAMPAPACHEPORT', myporta, True);
-	      StringChangeEx (srcContents, 'WAMPAPACHEPSSL', myportas, True);
-	      SaveStringToFile(destFile,srcContents, False);
-	
-	      LoadStringFromFile (srcFileH, srcContents);
-	      StringChangeEx (srcContents, 'WAMPBROWSER', browser, True);
-	      StringChangeEx (srcContents, 'WAMPAPACHEPORT', myporta, True);
-	      StringChangeEx (srcContents, 'WAMPAPACHEPSSL', myportas, True);
-	      SaveStringToFile(destFileH,srcContents, False);
-	
-	      LoadStringFromFile (srcFileA, srcContents);
-	      StringChangeEx (srcContents, 'WAMPBROWSER', browser, True);
-	      StringChangeEx (srcContents, 'WAMPAPACHEPORT', myporta, True);
-	      StringChangeEx (srcContents, 'WAMPAPACHEPSSL', myportas, True);
-	      SaveStringToFile(destFileA,srcContents, False);
-	    end
-
-
-      if MsgBox(CustomMessage('DoliWampWillStartApacheMysql'),mbConfirmation,MB_YESNO) = IDYES then
-      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)
-		    //----------------------------------------------
-		
-		    destFile := pathWithSlashes+'/alias/dolibarr.conf';
-		    srcFile := pathWithSlashes+'/alias/dolibarr.conf.install';
-		
-		    if not FileExists (destFile) and FileExists(srcFile) then
-		    begin
-		      LoadStringFromFile (srcFile, srcContents);
-		
-		      StringChangeEx (srcContents, 'WAMPROOT', pathWithSlashes, True);
-		      StringChangeEx (srcContents, 'WAMPMYSQLNEWPASSWORD', mypass, True);
-		
-		      SaveStringToFile(destFile, srcContents, False);
-		    end
-		    DeleteFile(srcFile);
-		
-		
-		
-		
-		    //----------------------------------------------
-		    // 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 not FileExists (destFile) and FileExists (srcFile) then
-		    begin
-	        // sinon on prends le fichier par defaut
-	        LoadStringFromFile (srcFile, srcContents);
-	        StringChangeEx (srcContents, 'WAMPMYSQLNEWPASSWORD', mypass, True);
-	        StringChangeEx (srcContents, 'WAMPMYSQLPORT', myport, True);
-	        SaveStringToFile(destFile,srcContents, False);
-		    end
-		
-		
-		
-		    //----------------------------------------------
-		    // Create file httpd.conf (if not exists)
-		    //----------------------------------------------
-		
-		    destFile := pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/conf/httpd.conf';
-		    srcFile := pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/conf/httpd.conf.install';
-		
-		    if not FileExists (destFile) and FileExists (srcFile) then
-		    begin
-		      LoadStringFromFile (srcFile, srcContents);
-		
-		      //installDir et version de php
-		      StringChangeEx (srcContents, 'WAMPROOT', pathWithSlashes, True);
-		      StringChangeEx (srcContents, 'WAMPPHPVERSION', phpVersion, True);
-              StringChangeEx (srcContents, 'WAMPAPACHEVERSION', apacheVersion, True);
-		      StringChangeEx (srcContents, 'WAMPAPACHEPORT', myporta, True);
-		      StringChangeEx (srcContents, 'WAMPAPACHEPSSL', myportas, True);
-		
-		      SaveStringToFile(destFile,srcContents, False);
-		    end
-		
-		
-		
-		
-		    //----------------------------------------------
-		    // Create file my.ini (if not exists)
-		    //----------------------------------------------
-		
-		    destFile := pathWithSlashes+'/bin/mysql/mysql'+mysqlVersion+'/my.ini';
-		    srcFile := pathWithSlashes+'/bin/mysql/mysql'+mysqlVersion+'/my.ini.install';
-		
-		    if not FileExists (destFile) then
-		    begin
-		      LoadStringFromFile (srcFile, srcContents);
-		
-		      //installDir et version de php
-		      StringChangeEx (srcContents, 'WAMPROOT', pathWithSlashes, True);
-		      StringChangeEx (srcContents, 'WAMPMYSQLPORT', myport, True);
-		
-		      SaveStringToFile(destFile,srcContents, False);
-		    end
-		
-		
-		
-		
-		    //----------------------------------------------
-		    // Create file index.php (always but archive if exists)
-		    //----------------------------------------------
-		
-		    destFile := pathWithSlashes+'/www/index.php';
-		    srcFile := pathWithSlashes+'/www/index.php.install';
-		
-		    if not FileExists (destFile) then
-		    begin
-		      LoadStringFromFile (srcFile, srcContents);
-		      StringChangeEx (srcContents, 'WAMPPHPVERSION', phpVersion, True);
-		      StringChangeEx (srcContents, 'WAMPMYSQLVERSION', mysqlVersion, True);
-		      StringChangeEx (srcContents, 'WAMPAPACHEVERSION', apacheVersion, True);
-		      StringChangeEx (srcContents, 'WAMPAPACHEPORT', myporta, True);
-		      StringChangeEx (srcContents, 'WAMPAPACHEPSSL', myportas, True);
-		      SaveStringToFile(destFile, srcContents, False);
-		    end
-		    else
-		    begin
-		      RenameFile(destFile, destFile+'.old');
-		      LoadStringFromFile (srcFile, srcContents);
-		      StringChangeEx (srcContents, 'WAMPPHPVERSION', phpVersion, True);
-		      StringChangeEx (srcContents, 'WAMPMYSQLVERSION', mysqlVersion, True);
-		      StringChangeEx (srcContents, 'WAMPAPACHEVERSION', apacheVersion, True);
-		      StringChangeEx (srcContents, 'WAMPAPACHEPORT', myporta, True);
-		      StringChangeEx (srcContents, 'WAMPAPACHEPSSL', myportas, True);
-		      SaveStringToFile(destFile, srcContents, False);
-		    end
-		
-		
-		
-		
-		
-		    //----------------------------------------------
-		    // Create file dolibarr parametres predefinis install web (if not exists)
-		    //----------------------------------------------
-		
-		    destFile := pathWithSlashes+'/www/dolibarr/htdocs/install/install.forced.php';
-		    srcFile := pathWithSlashes+'/www/dolibarr/htdocs/install/install.forced.php.install';
-		
-		    if not FileExists (destFile) and FileExists (srcFile) then
-		    begin
-		      LoadStringFromFile (srcFile, srcContents);
-		
-		      StringChangeEx (srcContents, 'WAMPROOT', pathWithSlashes, True);
-		      StringChangeEx (srcContents, 'WAMPMYSQLVERSION', mysqlVersion, True);
-		      StringChangeEx (srcContents, 'WAMPMYSQLPORT', myport, True);
-		      StringChangeEx (srcContents, 'WAMPMYSQLNEWPASSWORD', mypass, True);
-		
-		      SaveStringToFile(destFile,srcContents, False);
-		    end
-		
-		
-		
-		    //----------------------------------------------
-		    // Create file install_services.bat (always)
-		    //----------------------------------------------
-		
-		    destFile := pathWithSlashes+'/install_services.bat';
-		    srcFile := pathWithSlashes+'/install_services.bat.install';
-		
-		    if FileExists(srcFile) then
-		    begin
-		      LoadStringFromFile (srcFile, srcContents);
-		
-		      //version de apache et mysql
-		      StringChangeEx (srcContents, 'WAMPMYSQLVERSION', mysqlVersion, True);
-		      StringChangeEx (srcContents, 'WAMPAPACHEVERSION', apacheVersion, True);
-		
-		      SaveStringToFile(destFile,srcContents, False);
-		    end
-		
-		
-		
-		    //----------------------------------------------
-		    // Create file install_services_auto.bat (always)
-		    //----------------------------------------------
-		
-		    destFile := pathWithSlashes+'/install_services_auto.bat';
-		    srcFile := pathWithSlashes+'/install_services_auto.bat.install';
-		
-		    if FileExists (srcFile) then
-		    begin
-		      LoadStringFromFile (srcFile, srcContents);
-		
-		      //version de apache et mysql
-		      StringChangeEx (srcContents, 'WAMPMYSQLVERSION', mysqlVersion, True);
-		      StringChangeEx (srcContents, 'WAMPAPACHEVERSION', apacheVersion, True);
-		
-		      SaveStringToFile(destFile,srcContents, False);
-		    end
-		
-		
-		
-		
-		    //----------------------------------------------
-		    // Create file uninstall_services.bat (always)
-		    //----------------------------------------------
-		
-		    destFile := pathWithSlashes+'/uninstall_services.bat';
-		    srcFile := pathWithSlashes+'/uninstall_services.bat.install';
-		
-		    if FileExists (srcFile) then
-		    begin
-		      LoadStringFromFile (srcFile, srcContents);
-		
-		      //version de apache et mysql
-		      StringChangeEx (srcContents, 'WAMPMYSQLVERSION', mysqlVersion, True);
-		      StringChangeEx (srcContents, 'WAMPAPACHEVERSION', apacheVersion, True);
-		
-		      SaveStringToFile(destFile,srcContents, False);
-		    end
-		
-		
-		
-		    //----------------------------------------------
-		    // Create file mysqlinitpassword.bat (always)
-		    //----------------------------------------------
-		
-		    destFile := pathWithSlashes+'/mysqlinitpassword.bat';
-		    srcFile := pathWithSlashes+'/mysqlinitpassword.bat.install';
-		
-		    if FileExists (srcFile) then
-		    begin
-		      LoadStringFromFile (srcFile, srcContents);
-		
-		      //version de apache et mysql
-		      StringChangeEx (srcContents, 'WAMPMYSQLVERSION', mysqlVersion, True);
-		      StringChangeEx (srcContents, 'WAMPMYSQLPORT', myport, True);
-		      StringChangeEx (srcContents, 'WAMPMYSQLNEWPASSWORD', mypass, True);
-		
-		      SaveStringToFile(destFile,srcContents, False);
-		    end
-		
-		
-		    //----------------------------------------------
-		    // Create file mysqltestinstall.bat (always)
-		    //----------------------------------------------
-		
-		    destFile := pathWithSlashes+'/mysqltestinstall.bat';
-		    srcFile := pathWithSlashes+'/mysqltestinstall.bat.install';
-		
-		    if FileExists (srcFile) then
-		    begin
-		      LoadStringFromFile (srcFile, srcContents);
-		
-		      //version de apache et mysql
-		      StringChangeEx (srcContents, 'WAMPROOT', pathWithSlashes, True);
-		      StringChangeEx (srcContents, 'WAMPAPACHEVERSION', apacheVersion, True);
-		      StringChangeEx (srcContents, 'WAMPMYSQLVERSION', mysqlVersion, True);
-		      StringChangeEx (srcContents, 'WAMPMYSQLPORT', myport, True);
-		
-		      SaveStringToFile(destFile,srcContents, False);
-		    end
-		
-		
-		    //----------------------------------------------
-		    // Create file startdoliwamp_manual_donotuse.bat (always)
-		    //----------------------------------------------
-		
-		    destFile := pathWithSlashes+'/startdoliwamp_manual_donotuse.bat';
-		    srcFile := pathWithSlashes+'/startdoliwamp_manual_donotuse.bat.install';
-		
-		    if FileExists (srcFile) then
-		    begin
-		      LoadStringFromFile (srcFile, srcContents);
-		
-		      //version de apache et mysql
-		      StringChangeEx (srcContents, 'WAMPROOT', pathWithSlashes, True);
-		      StringChangeEx (srcContents, 'WAMPAPACHEVERSION', apacheVersion, True);
-		      StringChangeEx (srcContents, 'WAMPMYSQLVERSION', mysqlVersion, True);
-		      StringChangeEx (srcContents, 'WAMPMYSQLPORT', myport, True);
-		
-		      SaveStringToFile(destFile,srcContents, False);
-		    end
-		    
-		
-		    //----------------------------------------------
-		    // Create file builddemosslfiles.bat (always)
-		    //----------------------------------------------
-		
-		    destFile := pathWithSlashes+'/builddemosslfiles.bat';
-		    srcFile := pathWithSlashes+'/builddemosslfiles.bat.install';
-		
-		    if FileExists (srcFile) then
-		    begin
-		      LoadStringFromFile (srcFile, srcContents);
-		
-		      //version de apache et mysql
-		      StringChangeEx (srcContents, 'WAMPROOT', pathWithSlashes, True);
-		      StringChangeEx (srcContents, 'WAMPAPACHEVERSION', apacheVersion, True);
-		
-		      SaveStringToFile(destFile,srcContents, False);
-		    end
-
-		
-		    //----------------------------------------------
-		    // Create file php.ini in php (if not exists)
-		    //----------------------------------------------
-		
-		    destFile := pathWithSlashes+'/bin/php/php'+phpVersion+'/php.ini';
-		    srcFile := pathWithSlashes+'/bin/php/php'+phpVersion+'/php.ini.install';
-		
-		    if not FileExists (destFile) and FileExists(srcFile) then
-		    begin
-		      LoadStringFromFile (srcFile, srcContents);
-		      StringChangeEx (srcContents, 'WAMPROOT', pathWithSlashes, True);
-		      StringChangeEx (srcContents, 'WAMPSMTP', mysmtp, True);
-              StringChangeEx (srcContents, 'WAMPPHPVERSION', phpVersion, True);
-		      SaveStringToFile(destFile,srcContents, False);
-		    end
-		
-		    //----------------------------------------------
-		    // Create file php.ini in apache (if not exists)
-		    //----------------------------------------------
-		
-		    destFile := pathWithSlashes+'/bin/apache/apache'+apacheVersion+'/bin/php.ini';
-		    srcFile := pathWithSlashes+'/bin/php/php'+phpVersion+'/php.ini.install';
-		
-		    if not FileExists (destFile) and FileExists(srcFile) then
-		    begin
-		      LoadStringFromFile (srcFile, srcContents);
-		      StringChangeEx (srcContents, 'WAMPROOT', pathWithSlashes, True);
-		      StringChangeEx (srcContents, 'WAMPSMTP', mysmtp, True);
-              StringChangeEx (srcContents, 'WAMPPHPVERSION', phpVersion, True);
-		      SaveStringToFile(destFile,srcContents, False);
-		    end
-		
-		
-		
-	   		// Uninstall and Install services
-		  	batFile := path+'\uninstall_services.bat';
-        Exec(batFile, '',path+'\', SW_HIDE, ewWaitUntilTerminated, myResult);
-  			batFile := path+'\install_services.bat';
-  			Exec(batFile, '',path+'\', SW_HIDE, ewWaitUntilTerminated, myResult);
-			
-  			// Start services
-        batFile := path+'\startdoliwamp.bat';
-        Exec(batFile, '',path+'\', SW_HIDE, ewWaitUntilTerminated, myResult);
-        //MsgBox(myResult,mbInformation,MB_OK);
-			
-        // Change mysql password (works only if not yet defined)
-        batFile := path+'\mysqlinitpassword.bat';
-        Exec(batFile, '',path+'\', SW_HIDE, ewWaitUntilTerminated, myResult);
-			
-        // Remove dangerous files
-        batFile := path+'\removefiles.bat';
-        Exec(batFile, '',path+'\', SW_HIDE, ewWaitUntilTerminated, myResult);
-
-			
-		    // Save parameters to registry
-		    RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\NLTechno\DoliMed', 'smtpServer',  mysmtp);
-		    RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\NLTechno\DoliMed', 'apachePort',  myporta);
-		    RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\NLTechno\DoliMed', 'apachePSSL',  myportas);
-		    RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\NLTechno\DoliMed', 'mysqlPort',   myport);
-		    RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\NLTechno\DoliMed', 'newPassword', mypass);
-		
-		
-        res := True;
-		
-		  end
-		  else
-		  begin
-		  
-//	  	MsgBox('Apache and Mysql installation has been canceled. Please select parameters to start their installation.',mbInformation,MB_OK)
-
-      	res := False;
-		  	
-		  end
-      
-    end
-    else
-    begin
-    
-        //MsgBox('Selected values seems to be already used. Please choose other values.',mbInformation,MB_OK);
-		  	
-		  	res := False;
-
-    end
-    
-  end
-
-
-  Result := res;
-end;
-
-
-
-
-
-//-----------------------------------------------
-//procedure launched by the end of the installation, it deletes the installation files
-procedure DeinitializeSetup();
-begin
-//  DeleteFile(path+'\install_services.bat');
-//  DeleteFile(path+'\install_services_auto.bat');
-end;
-
-
-//-----------------------------------------------
-//procedure launched at beginning of the uninstallation
-function InitializeUninstall(): Boolean;
-begin
-    Result := RegDeleteValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\NLTechno\DoliMed','smtpServer');
-    Result := RegDeleteValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\NLTechno\DoliMed','apachePort');
-    Result := RegDeleteValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\NLTechno\DoliMed','mysqlPort');
-    Result := RegDeleteValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\NLTechno\DoliMed','newPassword');
-    Result := RegDeleteKeyIncludingSubkeys(HKEY_LOCAL_MACHINE, 'SOFTWARE\NLTechno\DoliMed');
-
-    Result := True;
-end;
-
-//-----------------------------------------------
-//procedure launched by the end of the uninstallation
-procedure DeinitializeUninstall();
-begin
-  path := ExpandConstant('{app}');
-  winPath := ExpandConstant('{win}');
-  pathWithSlashes := path;
-  StringChange (pathWithSlashes, '\','/');
-
-  MsgBox(FmtMessage(CustomMessage('ProgramHasBeenRemoved'),[path]),mbInformation,MB_OK);
-end;
-
-
-[Run]
-; Launch Dolibarr in browser. This is run after Wizard because of postinstall flag
-Filename: "{app}\rundoliwamp.bat"; Description: {cm:LaunchNow}; Flags: shellexec postinstall skipifsilent runhidden
-
-
-[UninstallDelete]
-Type: files; Name: "{app}\*.*"
-Type: files; Name: "{app}\bin\mysql\mysql5.0.45\*.*"
-Type: filesandordirs; Name: "{app}\alias"
-Type: filesandordirs; Name: "{app}\apps"
-Type: filesandordirs; Name: "{app}\bin\apache"
-Type: filesandordirs; Name: "{app}\bin\php"
-Type: filesandordirs; Name: "{app}\help"
-Type: filesandordirs; Name: "{app}\lang"
-Type: filesandordirs; Name: "{app}\logs"
-Type: filesandordirs; Name: "{app}\scripts"
-Type: filesandordirs; Name: "{app}\tmp"
-Type: filesandordirs; Name: "{app}\www\dolibarr"
-
-
-[UninstallRun]
-Filename: "{app}\uninstall_services.bat"; Flags: runhidden
-
-
-

BIN
build/exe/dolimed/dolimedsmall.bmp


+ 0 - 27
build/exe/dolimed/install.forced.php.install

@@ -1,27 +0,0 @@
-<?php
-// File to force Dolibarr wizard installer choices.
-//
-// This file must be present into htdocs/install directory
-// during install process to be used.
-//
-// $Id: install.forced.php.install,v 1.5 2011/07/13 21:50:43 eldy Exp $
-//
-$force_install_noedit=1;
-$force_install_message='KeepDefaultValuesWamp';
-$force_install_main_data_root='WAMPROOT/dolibarr_documents';
-$force_install_type='mysqli';
-$force_install_dbserver='localhost';
-$force_install_port='WAMPMYSQLPORT';
-$force_install_database='dolimed';
-$force_install_createdatabase='1';
-$force_install_databaselogin='dolimedmysql';
-$force_install_databasepass='WAMPMYSQLNEWPASSWORD';
-$force_install_createuser='1';
-$force_install_databaserootlogin='root';
-$force_install_databaserootpass='WAMPMYSQLNEWPASSWORD';
-$force_install_dolibarrlogin='admin';
-$force_install_nophpinfo='1';
-$force_install_lockinstall='644';
-
-$force_install_module='modCabinetMed.class.php';
-?>

+ 0 - 21
build/exe/dolimed/install_services.bat.install

@@ -1,21 +0,0 @@
-@echo off
-REM --------------------------------------------------------
-REM This script install Apache and Mysql DoliWamp services
-REM --------------------------------------------------------
-
-echo ---- Execute install_services.bat >> doliwamp.log 2>>&1
-
-REM NET STOP dolimedapache
-REM NET STOP dolimedmysqld 
-
-REM Apache x.x
-.\bin\apache\apacheWAMPAPACHEVERSION\bin\httpd.exe -k install -n dolimedapache
-REM reg add HKLM\SYSTEM\CurrentControlSet\Services\dolimedapache /V Start /t REG_DWORD /d 3 /f
-
-REM Mysql 5.0-
-REM .\bin\mysql\mysqlWAMPMYSQLVERSION\bin\mysqld-nt.exe --install-manual dolimedmysqld
-.\bin\mysql\mysqlWAMPMYSQLVERSION\bin\mysqld-nt.exe --install dolimedmysqld
-REM Mysql 5.1+
-REM .\bin\mysql\mysqlWAMPMYSQLVERSION\bin\mysqld.exe --install dolimedmysqld
-
-echo ---- End script >> doliwamp.log 2>>&1

+ 0 - 18
build/exe/dolimed/startdoliwamp.bat

@@ -1,18 +0,0 @@
-@echo off
-REM --------------------------------------------------------
-REM This script start the Apache and Mysql DoliWamp services
-REM --------------------------------------------------------
-
-echo ---- Execute startdoliwamp.bat >> doliwamp.log 2>>&1
-
-echo NET START dolimedapache >> doliwamp.log 2>>&1
-NET START dolimedapache >> doliwamp.log 2>>&1
-echo NET START dolimedmysqld >> doliwamp.log 2>>&1
-NET START dolimedmysqld >> doliwamp.log 2>>&1
-
-echo Please wait...
-echo ---- End script >> doliwamp.log 2>>&1
-
-REM sleep is not a Windows commande
-REM sleep 1
-ping 1.1.1.1 -n 1 -w 1000 > nul

+ 0 - 18
build/exe/dolimed/stopdoliwamp.bat

@@ -1,18 +0,0 @@
-@echo off
-REM --------------------------------------------------------
-REM This script start the Apache and Mysql DoliWamp services
-REM --------------------------------------------------------
-
-echo ---- Execute stopdoliwamp.bat >> doliwamp.log 2>>&1
-
-echo NET STOP dolimedapache >> doliwamp.log 2>>&1
-NET STOP dolimedapache
-echo NET STOP dolimedmysqld >> doliwamp.log 2>>&1
-NET STOP dolimedmysqld 
-
-echo Please wait...
-echo ---- End script >> doliwamp.log 2>>&1
-
-REM sleep is not a Windows command
-REM sleep 1
-ping 1.1.1.1 -n 1 -w 1000 > nul

+ 0 - 12
build/exe/dolimed/uninstall_services.bat.install

@@ -1,12 +0,0 @@
-@echo off
-REM --------------------------------------------------------
-REM This script install Apache and Mysql DoliMed services
-REM --------------------------------------------------------
-
-echo ---- Execute uninstall_services.bat >> doliwamp.log 2>>&1
-NET STOP dolimedapache
-.\bin\apache\apacheWAMPAPACHEVERSION\bin\httpd.exe -k uninstall -n dolimedapache
-NET STOP dolimedmysqld 
-.\bin\mysql\mysqlWAMPMYSQLVERSION\bin\mysqld-nt.exe --remove dolimedmysqld
-REM wampmanager.exe -quit -id={dolimedserver}
-echo ---- End script >> doliwamp.log 2>>&1