Lut,
no ne rêve pas c'est faisable je suis dessus d'ailleur voici un debut de piste pour InnoSetup (Interbase 7.5.1) :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
| [Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
[Registry]
Root: HKLM; Subkey: Software\Microsoft\Windows\CurrentVersion\Run; ValueType: string; ValueName: InterBaseGuardian; ValueData: {app}\bin\ibguard.exe; Flags: uninsdeletekey
Root: HKLM; Subkey: Software\Borland\InterBase\CurrentVersion; ValueType: string; ValueName: DefaultMode; ValueData: -r
Root: HKLM; Subkey: Software\Borland\InterBase\CurrentVersion; ValueType: string; ValueName: GuardianOptions; ValueData: 1
Root: HKLM; Subkey: Software\Borland\InterBase\CurrentVersion; ValueType: string; ValueName: ServerDirectory; ValueData: {app}\bin
[Files]
Source: ibconfig; DestDir: {app}
Source: bin\ibserver.exe; DestDir: {app}\bin
Source: interbase.msg; DestDir: {app}
Source: gds32.dll; DestDir: {sys}
Source: msvcrt.dll; DestDir: {sys}
Source: bin\instreg.exe; DestDir: {app}\bin
Source: bin\ibguard.exe; DestDir: {app}\bin
Source: bin\libborland_lm.dll; DestDir: {app}\bin
Source: borland.lic; DestDir: {app}
[Dirs]
Name: {app}\bin
[Setup]
AppCopyright=Borland
AppName=Interbase
AppVerName=Interbase version 7.5
DefaultGroupName=InterBase
DefaultDirName={pf}\Borland\InterBase
DisableProgramGroupPage=false
WizardImageFile=WizModernImage-IS.bmp
WizardSmallImageFile=WizModernSmallImage-IS.bmp
AllowNoIcons=true
Compression=lzma
SolidCompression=yes
OutputBaseFilename=Install
LicenseFile=C:\Program Files\Inno Setup 5\license.txt
[Run]
Filename: {app}\bin\instreg.exe; Parameters: "install ""{app}"""; Flags: nowait runminimized
Filename: {app}\bin\ibguard.exe; Flags: nowait
[UninstallRun]
Filename: {app}\bin\instreg.exe; Parameters: remove; Flags: runminimized |
par contre je but encore sur le fait d'enregister dans le Service File de windows (je le fait à la main ca fonctionne presque tout auto ...):
gds_db 3050/tcp # InterBase Server
Partager