> For the complete documentation index, see [llms.txt](https://documentation.efalia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.efalia.com/produit/efalia-capture/installation/installation-capture-front.md).

# Installation d'Efalia Capture module Front

Efalia Capture Front se déploie selon deux modes, à choisir selon le contexte client (voir [Choisir le bon module](https://documentation.efalia.com/produit/efalia-capture/vue-densemble/choisir-le-bon-module.md)) :

* **ClickOnce** : installation automatique déclenchée au premier clic sur le bouton de numérisation dans Efalia Doc, sans intervention IT. Nécessite d'exposer l'application front pour les postes clients au travers d'un serveur web — c'est l'objet de cette page.
* **MSI** : package déployé par la DSI via GPO ou SCCM, sans serveur supplémentaire. Répertoire d'installation : `C:\Program Files (x86)\Efalia GmbH\Efalia Capture` (48,9 Mo). Aucune extension navigateur nécessaire. Pas de mise à jour automatique : les nouvelles versions doivent être transmises manuellement au client.

Dans les deux modes, les fichiers temporaires de numérisation se trouvent dans `C:\Users\xxxxxx\AppData\Local`.

## Hébergement du ClickOnce (mode ClickOnce)

Pour exposer l'application front en ClickOnce, il faut héberger ses fichiers au travers d'un serveur web (IIS). La procédure est la suivante :

{% stepper %}
{% step %}

### Installation d'IIS

Si ce n'est pas déjà fait, installez IIS sur le serveur Windows où Efalia Capture Server est déployé :

1. Ouvrez le "Panneau de configuration"
2. Accédez à "Programmes et fonctionnalités"
3. Cliquez sur "Activer ou désactiver des fonctionnalités Windows"

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-3291f37e40b97eb815dac9fb0f6aa8054197337e%2Fefcapture-install-front-01.webp?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-ae3b06f85eafa071902c4476b40bdebbc39f0dda%2Fefcapture-install-front-02.webp?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-926ebbb2832045c0d961182d732d35ce953d236f%2Fefcapture-install-front-03.webp?alt=media" alt=""><figcaption></figcaption></figure>

4. Cochez "Internet Information Services"

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-de69fb6053c3443ec75b01e7f562dc2ecbf22fcf%2Fefcapture-install-front-04.webp?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-94f50f571bcd3fb7eb7b158b22ae444c3aa18bca%2Fefcapture-install-front-05.webp?alt=media" alt=""><figcaption></figcaption></figure>

5. Validez l'installation
   {% endstep %}

{% step %}

### Déploiement des fichiers front-end

1. Créez un répertoire dédié sur le serveur pour héberger les fichiers du front-end dans wwwroot :

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-06bc6b6f93f18fd2fef1073cc404117fcff3050c%2Fefcapture-install-front-06.webp?alt=media" alt=""><figcaption></figcaption></figure>

2. Copiez tous les fichiers relatifs au composant front-end dans ce répertoire
3. Configurez les permissions appropriées sur le répertoire

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-c4be40bf5ad5cf050ed1d79bdefc2489dafcc407%2Fefcapture-install-front-07.webp?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Configuration d'IIS

1. Ouvrez le Gestionnaire des services Internet (IIS)

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-0150c7d6e10e465fd672dbad3a22add017a8a0e7%2Fefcapture-install-front-08.webp?alt=media" alt=""><figcaption></figcaption></figure>

2. Créez un nouveau site web ou une application dans IIS pointant vers le répertoire contenant les fichiers front-end

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-37229622f8ba19bc60f7359eb174dddd7ea24a7e%2Fefcapture-install-front-09.webp?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-883bfe2f3b9d31226ab12f164b0c8541efb68f15%2Fefcapture-install-front-10.jpeg?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-d91f2d907c63ae300d5b9c037ba5873eb05536bc%2Fefcapture-install-front-11.webp?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-49bb64577410ba020583046209bfe4cfb8e888d0%2Fefcapture-install-front-12.jpeg?alt=media" alt=""><figcaption></figcaption></figure>

3. Configurez le protocole HTTP/HTTPS selon vos besoins
   {% endstep %}

{% step %}

### Configuration spécifique pour les jetons d'accès

Pour gérer les jetons d'accès longs, il est nécessaire de modifier le fichier web.config.

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-003bc9482d1495d50be3de14fd8492b30606ba57%2Fefcapture-install-front-13.webp?alt=media" alt=""><figcaption></figcaption></figure>

Ajoutez la configuration suivante dans la section system.webServer :

```xml
<location path="EfaliaCaptureServer">
    <system.webServer>
        <security>
            <authentication>
                <anonymousAuthentication enabled="true" />
            </authentication>
        </security>
        <httpRuntime maxUrlLength="10999" maxQueryStringLength="2097151" />
    </system.webServer>
</location>
```

Cette configuration est essentielle pour éviter les erreurs liées aux URL trop longues.
{% endstep %}

{% step %}

### Configuration des postes clients

La technologie clickOnce, pour être complétement fluide d'un point de vue utilisateur, peut nécessiter l'ajout d'extension dans le navigateur en fonction de celui-ci

* Microsoft Edge : Pas d'extension nécessaire
* Chrome : Extension nécessaire
* Firefox : Extension nécessaire

Il en existe plusieurs disponibles sur les différents stores comme par exemple :

* Lien 1
* Lien 2
* …
  {% endstep %}
  {% endstepper %}

### Support et dépannage

En cas de problèmes :

* Vérifiez les logs IIS
* Contrôlez les permissions des répertoires
* Validez la configuration du web.config
* Assurez-vous que tous les services nécessaires sont démarrés


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.efalia.com/produit/efalia-capture/installation/installation-capture-front.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
