Installing on Windows: Difference between revisions

From FreeCAD Documentation
mNo edit summary
(Marked this version for translation)
 
(16 intermediate revisions by 2 users not shown)
Line 8: Line 8:
}}
}}


</translate>
<!--T:1-->
{{TOCright}}
You can install FreeCAD on Windows by downloading the installer below:
<translate>


<!--T:37-->
== Standard Installation == <!--T:55-->
{{DownloadWindowsStable}}

<!--T:2-->
After downloading the installer, double-click it to start the installation process.

<!--T:3-->
Below is more information about some technical options. But most users don't need more than the above .exe file. Head to [[Getting_started|Getting started]] after installation is complete.

== Standard Installation == <!--T:4-->


<!--T:43-->
<!--T:43-->
The easiest way to install the latest stable version of FreeCAD is by using the installer linked above.
The easiest way to install the latest stable version of FreeCAD is to use the installer, see the [[Download|Download]] page.


<!--T:5-->
<!--T:5-->
If you would like to download a development version (which may be unstable), see the [https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds Weekly builds download] page.
If you would like to download a development version, which may be unstable, see the [https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds Weekly builds download] page.


<!--T:2-->
== Non/Administrative installation == <!--T:24-->
After downloading the installer, double-click it to start the installation process.


<!--T:52-->
<!--T:3-->
By default FreeCAD will only be installed for the user that executes the installer. When this user has only user permissions, the default installation path is
Below is more information about some technical options. But most users don't need more than the installer. Head to [[Getting_started|Getting started]] once installation is complete.
: C:\Users\<username>\AppData\Local\Programs\FreeCAD X.YY


== Installation for all users of the Windows system == <!--T:56-->
When the installer is executed by an admin user, or you execute it as admin you can choose of FreeCAD should be installed for all users of the system of just for you. The default is for all users.


<!--T:57-->
When installed for all users, the default installation path is
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:\Program Files\FreeCAD X.YY
: {{FileName|C:\Users\<username>\AppData\Local\Programs\FreeCAD X.YY}}


<!--T:25-->
<!--T:58-->
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.
an "administrative" (network) installation can be initiated. The files get unpacked into the target directory (which should be a network directory), but no other modification is made to the local system. In addition, another (smaller) msi file is generated in the target directory, which clients can then use to perform a local installation (future versions may also offer to keep some features on the network drive altogether).


<!--T:26-->
<!--T:59-->
If installed for all users, the default installation path is:
Currently, there is no user interface for administrative installations, so the target directory must be passed on the command line.
: {{FileName|C:\Program Files\FreeCAD X.YY}}


<!--T:27-->
== Silent Installation == <!--T:60-->
There is no specific uninstall procedure for an administrative install - simply delete the target directory if no client uses it anymore.


<!--T:61-->
== Silent Installation ==
To install FreeCAD silently, you can execute the installer from the command line:


</translate>
To install FreeCAD silently, you can execute the installer the following way from the command line:
</translate>{{Code|lang=none|FreeCAD-~.exe /S}}<translate>
{{Code|lang=text|code=
FreeCAD-~.exe /S
}}<translate>


<!--T:62-->
Then all choices will be kept with their default settings. To set another installation path than the default, you can specify it the following way:
Default settings will be used for all options. A custom installation path can be specified in this manner:
</translate>{{Code|lang=none|code=FreeCAD-~.exe /S /D=A path to FreeCAD with spaces}}<translate>

By default there will also with silent installations be a short popup necessary to check the installer is not corrupted. This so-called cyclic redundancy check only takes few second, depending on your system less than a second. Of you are somehow annoyed by this, you can disable the corruption check by
</translate>{{Code|lang=none|FreeCAD-~.exe /S /NCRC}}<translate>

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

== Chocolatey == <!--T:40-->

<!--T:44-->
However, it is highly recommended that you use a package manager such as Chocolatey to keep your software updated. You can installed Chocolatey following [https://chocolatey.org/install these instructions] and then open a PowerShell terminal as admin and run:


</translate>
</translate>
{{Code|code=
{{Code|lang=text|code=
FreeCAD-~.exe /S /D=A path to FreeCAD with spaces
choco install freecad
}}
}}
<translate>
<translate>


<!--T:41-->
<!--T:63-->
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:
every once in a while you can update your software with


</translate>
</translate>
{{Code|code=
{{Code|lang=text|code=
FreeCAD-~.exe /S /NCRC
choco upgrade freecad
}}
}}
<translate>
<translate>


<!--T:42-->
<!--T:64-->
Note that this {{Incode|/NCRC}} flag is '''not recommended''' since the corruption check assures that the installer was e.g. completely downloaded.
to get the latest version available on Chocolatey repository. If there are any issues with the chocolatey package, you may contact maintainers on [https://chocolatey.org/packages/freecad this page].

== Chocolatey == <!--T:40-->

<!--T:68-->
Using the [https://chocolatey.org/install Chocolatey] package manager is currently not recommended as that repository is no longer kept up-to-date.


== Uninstallation == <!--T:22-->
== Uninstallation == <!--T:22-->


<!--T:51-->
<!--T:65-->
To uninstall FreeCAD use preferably the Windows' tools to uninstall software. Alternatively you can execute the uninstaller directly. This is the file
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
: {{FileName|Uninstall-FreeCAD.exe}}
you find in the folder where FreeCAD is installed.
You can find it in the folder where FreeCAD is installed.


<!--T:66-->
The uninstaller can also be executed silently using the command line:
The uninstaller can also be executed silently using the command line:
</translate>{{Code|lang=none|Uninstall-FreeCAD.exe /S}}<translate>


</translate>
'''Note:''' to uninstall, FreeCAD must not be running, also no other version of FreeCAD. So when the silent uninstallation does not work, there is a running instance of FreeCAD.
{{Code|lang=text|code=
Uninstall-FreeCAD.exe /S}}
<translate>

<!--T:67-->
Note that (silent) uninstallation will fail if there is a running instance of FreeCAD, even if that instance is not the version being uninstalled.



<!--T:35-->
<!--T:35-->

Latest revision as of 19:59, 26 January 2024

Standard Installation

The easiest way to install the latest stable version of FreeCAD is to use the installer, see the Download page.

If you would like to download a development version, which may be unstable, see the Weekly builds download page.

After downloading the installer, double-click it to start the installation process.

Below is more information about some technical options. But most users don't need more than the installer. Head to Getting started once installation is complete.

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

Using the Chocolatey package manager is currently not recommended as that repository is no longer kept up-to-date.

Uninstallation

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.