IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Outils Delphi Discussion :

installer Firebird en silence avec inno setup


Sujet :

Outils Delphi

  1. #1
    Membre régulier Avatar de Moine
    Inscrit en
    Mars 2006
    Messages
    210
    Détails du profil
    Informations forums :
    Inscription : Mars 2006
    Messages : 210
    Points : 90
    Points
    90
    Par défaut installer Firebird en silence avec inno setup
    Salut !

    Je suis sur le point de livrer un logiciel. Je voudrais realiser deux setup avec inno setup. le premier setup doit installer Firebird 1-5 en serveur puis installer mon logiciel, l'autre installe Firebird 1-5 en client ensuite installe mon logiciel. l'installation de Firebird doit se faire en silence( en background). Je ne connais pas très bien inno setup, si vous pouvez m'aidez à le faire. Meric !

  2. #2
    Expert éminent sénior

    Avatar de sjrd
    Homme Profil pro
    Directeur de projet
    Inscrit en
    Juin 2004
    Messages
    4 517
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 34
    Localisation : Suisse

    Informations professionnelles :
    Activité : Directeur de projet
    Secteur : Enseignement

    Informations forums :
    Inscription : Juin 2004
    Messages : 4 517
    Points : 10 154
    Points
    10 154
    Par défaut
    Ca n'a pas grand chose à voir avec IS, en fait, mais plutôt avec l'installateur de FB. Il doit exister des paramètres que tu peux passer à celui-ci pour le rendre silencieux.
    Par exemple, les installateurs produits par IS acceptent les paramètres /SILENT et /VERYSILENT dans ce but.
    Tu dois d'abord trouver les paramètres qui vont bien pour l'installateur de FB. Ensuite une simple section [Run] avec l'installateur de FB et ce paramètre et c'est gagné.

  3. #3
    Membre régulier Avatar de Moine
    Inscrit en
    Mars 2006
    Messages
    210
    Détails du profil
    Informations forums :
    Inscription : Mars 2006
    Messages : 210
    Points : 90
    Points
    90
    Par défaut installer Firebird en silence avec inno setup
    Merci Sebastian!
    ça resoud mon problème !

  4. #4
    Rédacteur
    Avatar de evarisnea
    Homme Profil pro
    Ingénieur intégration
    Inscrit en
    Juin 2005
    Messages
    1 957
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Cameroun

    Informations professionnelles :
    Activité : Ingénieur intégration
    Secteur : Transports

    Informations forums :
    Inscription : Juin 2005
    Messages : 1 957
    Points : 4 384
    Points
    4 384
    Par défaut


    extrait du fichier installation_scripted.txt se trouvant dans le répertoire Doc de firebird:

    Setup Command Line Parameters
    =============================

    General parameters available to all InnoSetup based installers
    --------------------------------------------------------------

    The Setup program accepts optional command line parameters. These can
    be useful to system administrators, and to other programs calling the
    Setup program.

    These notes are applicable to version 4.2.7 of InnoSetup.
    /SP-
    Disables the 'This will install... Do you wish to continue?' prompt at
    the beginning of Setup. Of course, this will have no effect if the
    DisableStartupPrompt [Setup] section directive was set to yes.


    /SILENT, /VERYSILENT
    Instructs Setup to be silent or very silent. When Setup is silent the
    wizard and the background window are not displayed but the installation
    progress window is. When a setup is very silent this installation
    progress window is not displayed. Everything else is normal so for
    example error messages during installation are displayed and the startup
    prompt is (if you haven't disabled it with DisableStartupPrompt or the '/SP-' command line option
    explained above)

    If a restart is necessary and the '/NORESTART' command isn't used
    (see below) and Setup is silent, it will display a Reboot now?
    message box. If it's very silent it will reboot without asking.


    /LOG
    Causes Setup to create a log file in the user's TEMP directory
    detailing file installation actions taken during the installation
    process. This can be a helpful debugging aid. For example, if you
    suspect a file isn't being replaced when you believe it should be (or
    vice versa), the log file will tell you if the file was really
    skipped, and why.

    The log file is created with a unique name based on the current date.
    (It will not overwrite or append to existing files.) Currently, it is
    not possible to customize the filename.

    The information contained in the log file is technical in nature and
    therefore not intended to be understandable by end users. Nor is it
    designed to be machine-parseable; the format of the file is subject
    to change without notice.


    /NOCANCEL
    Prevents the user from cancelling during the installation process,
    by disabling the Cancel button and ignoring clicks on the close
    button. Useful along with '/SILENT' or '/VERYSILENT'.


    /NORESTART
    Instructs Setup not to reboot even if it's necessary.


    /RESTARTEXITCODE=exit code
    Specifies the custom exit code that Setup is to return when a restart
    is needed. Useful along with '/NORESTART'. Also see Setup Exit Codes.


    /LOADINF="filename"
    Instructs Setup to load the settings from the specified file after
    having checked the command line. This file can be prepared using the
    '/SAVEINF=' command as explained below.

    o Don't forget to use quotes if the filename contains spaces.


    /SAVEINF="filename"
    Instructs Setup to save installation settings to the specified file.

    o Don't forget to use quotes if the filename contains spaces.


    /LANG=language
    Specifies the language to use. language specifies the internal name
    of the language as specified in a [Languages] section entry.

    o When a valid /LANG parameter is used, the Select Language dialog will be suppressed.


    /DIR="x:\dirname"
    Overrides the default directory name displayed on the Select Destination
    Location wizard page. A fully qualified pathname must be specified.


    /GROUP="folder name"
    Overrides the default folder name displayed on the Select Start Menu Folder
    wizard page. If the [Setup] section directive DisableProgramGroupPage
    was set to yes, this command line parameter is ignored.


    /NOICONS
    Instructs Setup to initially check the Don't create any icons check box
    on the Select Start Menu Folder wizard page.


    Parameters specific to Firebird installs
    ----------------------------------------

    /COMPONENTS="comma separated list of component names"

    Choose from - ServerComponent,
    ServerComponent\SuperServerComponent,
    ServerComponent\ClassicServerComponent,
    DevAdminComponent and
    ClientComponent

    Overrides the default components settings. Using
    this command line parameter causes Setup to
    automatically select a custom type. A full install
    requires combining components. For example:

    /COMPONENTS="ServerComponent,
    ServerComponent\SuperServerComponent,
    DevAdminComponent,ClientComponent"

    would be required for a full install of the SuperServer.

    Attention!!! The parser stops when it reaches white space. For example
    this will fail to install the second component:

    /COMPONENTS="DevAdminComponent, ClientComponent"

    Make sure that your component list is _only_ separated by commas.



    /FORCE

    Tells the installer to ignore its analysis of the existing
    environment. It will attempt to install and configure Firebird 1.5 as
    if no previous version of Firebird or InterBase was installed.

    This can be useful if you have a seriously broken installation that
    you cannot uninstall. Or it could be another way to aggravate your
    users by breaking a perfectly good working install of InterBase. Its
    your choice.


    /NOCPL

    Don't install the Control Panel Applet. This is useful for two
    reasons:

    o Installing/Uninstalling the CPL applet requires a system
    restart on Windows 2000 (and perhaps some other platforms.)

    o You may wish to use an alternative cpl applet.


    /NOGDS32

    Don't install a copy of the client library into the system directory,
    even if installation analysis concludes it is OK to do so.


    /COPYFBCLIENT

    Copy the fbclient.dll to the system directory. This is recommended
    for client installs if you are sure that you will only ever be
    accessing a single server version. If your client applications are
    likely to take advantage of accessing different server versions this
    is not recommended. See
    doc/README.Win32LibraryInstallation.txt
    for more information.

    c'est aussi possible de déployer FB en copiant juste ses fichiers, et en exécutant un script batch qui va installer le serveur. pour celà si mes souvenirs sont bons, il faut télécharger le Zip du serveur plutot que l'installeur, la procédure se trouve dans un fichier du répertoire Doc (désolé impossible de vérifier le nom du fichier là).

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 3
    Dernier message: 13/05/2014, 18h29
  2. Réponses: 0
    Dernier message: 30/04/2009, 10h17
  3. Install appli Delphi avec Inno Setup 5
    Par User dans le forum Delphi
    Réponses: 5
    Dernier message: 27/03/2007, 22h33
  4. Réponses: 1
    Dernier message: 11/09/2006, 23h47
  5. [INNO SETUP][ORACLE] Installer le client Oracle avec Inno
    Par AnnSo dans le forum Bases de données
    Réponses: 11
    Dernier message: 19/08/2004, 16h21

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo