Installation sous Windows

From FreeCAD Documentation
Revision as of 13:19, 16 February 2022 by David69 (talk | contribs)

Installation standard

La façon la plus simple d'installer la dernière version stable de FreeCAD est d'utiliser le programme d'installation :

Template:DownloadWindowsStable

Si vous souhaitez télécharger la version de développement (risque d’instabilité), allez sur la page Download.

Après avoir téléchargé le programme d'installation, double-cliquez dessus pour lancer le processus d'installation.

Vous trouverez ci-dessous de plus amples informations sur certaines options techniques, mais la plupart des utilisateurs n'ont pas besoin de plus que le fichier .exe ci-dessus. Puis rendez-vous sur Démarrer avec FreeCAD une fois l'installation terminée.

Installation for all users of the Windows system

By default FreeCAD will be installed for the user that executes the installer. If this user only has user permissions, the default installation path is:

C:\Users\<username>\AppData\Local\Programs\FreeCAD X.YY

If the installer is executed by an admin user, or you execute it as admin, you can choose if FreeCAD should be installed for all users of the system or just for you. The default is for all users.

If installed for all users, the default installation path is:

C:\Program Files\FreeCAD X.YY

Silent Installation

To install FreeCAD silently, you can execute the installer from the command line:

FreeCAD-~.exe /S

Default settings will be used for all options. A custom installation path can be specified in this manner:

FreeCAD-~.exe /S /D=A path to FreeCAD with spaces

By default, even with silent installations, there will be a short popup when the installer is checked for corruption. This so-called cyclic redundancy check only takes a few seconds at most. To disable this corruption check:

FreeCAD-~.exe /S /NCRC

Note that this /NCRC flag is not recommended since the corruption check assures that the installer was e.g. completely downloaded.

Chocolatey

Cependant, il est fortement recommandé d'utiliser un gestionnaire de paquets tel que Chocolatey pour maintenir votre logiciel à jour. Vous pouvez installer Chocolatey en suivant ces instructions puis ouvrir un terminal PowerShell en tant qu’administrateur et exécuter :

choco install freecad

de temps en temps, vous pouvez mettre à jour votre logiciel avec

choco upgrade freecad

pour obtenir la dernière version disponible sur le référentiel Chocolatey. S'il y a des problèmes avec le paquet Chocolatey, vous pouvez contacter les responsables sur cette page.

Désinstallation

To uninstall FreeCAD it is preferable to use the Windows tools for uninstalling software. Alternatively you can execute the uninstaller directly. This is the file:

Uninstall-FreeCAD.exe

You can find it in the folder where FreeCAD is installed.

The uninstaller can also be executed silently using the command line:

Uninstall-FreeCAD.exe /S

Note that (silent) uninstallation will fail if there is a running instance of FreeCAD, even if that instance is not the version being uninstalled.