Installing on Windows/cs: Difference between revisions

From FreeCAD Documentation
(Created page with "interpreter instaluje sám a registruje rozšíření, ale neinstaluje nic dalšího.")
(Updating to match new version of source page)
 
(44 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
Nejsnadnější způsob instalace FreeCADu na Windows je stáhnout níže uvedený instaler.


{{Docnav
{{DownloadWindowsStable}}
|[[Feature_list|Feature list]]
|[[Installing_on_Linux|Installing on Linux]]
}}


{{TOCright}}
Po stažení souboru .msi (Microsoft Installer) jenom na něj dvojklikněte a spusťte instalační proces.


== Standard Installation ==
Dále jsou další informace o technických volbách. Jestli se Vám zdají strašidelné, žádný problém! Většina uživatelů Windows nebude k instalaci FreeCADu potřebovat nic víc než nainstalovat .msi a '''[[Getting started | začít]]'''!


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


<div class="mw-translate-fuzzy">
=== Jednoduchá instalace s Microsoft Installerem ===
Nejsnadnější způsob '''instalace FreeCADu na Windows''' je použít výše uvedný instaler. Tato stránka popisuje použití a vlastnosti ''Microsoft Installeru'' s dalšími instalačními volbami.

Chcete-li stáhnout buď 64-bitovou verzi nebo nestabilní vývojovou verzi podívejte se na stránku [[Download]].
Chcete-li stáhnout buď 64-bitovou verzi nebo nestabilní vývojovou verzi podívejte se na stránku [[Download]].
</div>


<div class="mw-translate-fuzzy">
Po stažení souboru .msi (Microsoft Installer) jenom na něj dvojklikněte a spusťte instalační proces.
</div>


<div class="mw-translate-fuzzy">
=== Instalace z příkazové řádky ===
Dále jsou další informace o technických volbách. Jestli se Vám zdají strašidelné, žádný problém! Většina uživatelů Windows nebude k instalaci FreeCADu potřebovat nic víc než nainstalovat .msi a '''[[Getting started/cs| začít]]'''!
Při použití příkazové utility ''msiexec.exe'' jsou dostupné další možnosti, jako jsou neinteraktivní instalace a administrátorská instalace.
</div>


== Installation for all users of the Windows system ==
==== Neinteraktivní instalace ====
z příkazové řádky
msiexec /i FreeCAD<version>.msi
instalace může být iniciována programově. Dodatečné parametry mohou být vloženy na konec příkazové řádky jako
msiexec /i FreeCAD-2.5.msi TARGETDIR=r:\FreeCAD25
==== Omezený uživatelský interface ====
Množství uživatelského interface, který je zobrazován instalerem může být řízeno volbou /q, hlavně:


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:
* /qn - Žádný interface
: {{FileName|C:\Users\<username>\AppData\Local\Programs\FreeCAD X.YY}}
* /qb - Základní interface - pouze malý dialog při postupu
* /qb! - Jako /qb, ale je skryto tlačítko Cancel
* /qr - Omezený interface - zobrazuje všechny dialogy, které nevyžadují uživatelskou reakci (přeskakuje všechny modální dialogy (vyžadující odpověď))
* /qn+ - Jako /qn, ale na konci zobrazí dialogové okno "Completed(Hotovo)"
* /qb+ - Jako /qb, ale na konci zobrazí dialogové okno "Completed(Hotovo)"


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.
==== Cílový adresář ====
Vlastnost TARGETDIR určuje základní adresář pro instalaci FreeCADu. Například jiný disk pro instalaci může být specifikován takto
TARGETDIR=R:\FreeCAD25
Defaultní TARGETDIR je [WindowsVolume\Programm Files\]FreeCAD<verze>.


If installed for all users, the default installation path is:
==== Instalace pro všechny uživatele ====
: {{FileName|C:\Program Files\FreeCAD X.YY}}
Přidání
ALLUSERS=1
provede instalaci pro všechny uživatele. Standardně neinteraktivní instalace nainstaluje balíček právě jen pro aktuálního uživatele a interaktivní instalace nabízí dialog s přednastavením pro "všechny uživatele" pokud má aktuální uživatel dostatečná oprávnění.


==== Výběr vlastností ====
== Silent Installation ==
K dispozici je spousta možností vyběru k instalaci, reinstalaci nebo odstranění. Seznam možností pro FreeCAD instaler je


To install FreeCAD silently, you can execute the installer from the command line:
* DefaultFeature - instaluje odpovídající software plus základní knihovny
* Documentation - instaluje dokumentaci
* Source code - nainstaluje i zdrojové kódy
* ... ToDo


{{Code|lang=text|code=
navíc, ALL specifikuje včechny možnosti. Všechny možnosti závisejí na DefaultFeature, takže instalace jakékoliv vlastnosti instaluje i všechny defaultní vlastnosti. následující vlastnosti řídí vlastnosti, které budou nainstalovány nebo odstraněny
FreeCAD-~.exe /S
}}
Default settings will be used for all options. A custom installation path can be specified in this manner:


{{Code|lang=text|code=
* ADDLOCAL - seznam vlastností, které budou nainstalovány na lokálním počítači
FreeCAD-~.exe /S /D=A path to FreeCAD with spaces
* REMOVE - seznam vlastností, které budou odstraněny
}}
* ADDDEFAULT - seznam vlastností, které budou přidány k defaultní konfiguraci (která je lokální pro všechny vlastnosti FreeCADu)
* REINSTALL - seznam vlastností, které budou reinstalovány /opraveny
* ADVERTISE - seznam vlastností, které budou prováděny při předváděcí instalaci


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:
Zde je několik dostupných dodatečných vlastností; podívejte se na MSDN dokumentaci na detaily.


{{Code|lang=text|code=
S těmito volbami, přidáním
FreeCAD-~.exe /S /NCRC
ADDLOCAL=Extensions
}}
interpreter instaluje sám a registruje rozšíření, ale neinstaluje nic dalšího.


Note that this {{Incode|/NCRC}} flag is '''not recommended''' since the corruption check assures that the installer was e.g. completely downloaded.
=== Uninstallation ===
With
msiexec /x FreeCAD<version>.msi
FreeCAD can be uninstalled. It is not necessary to have the MSI file available for uninstallation; alternatively, the package or product code can also be specified. You can find the product code by looking at the properties of the Uninstall shortcut that FreeCAD installs in the start menu.


== Chocolatey ==
=== Administrative installation ===
With
msiexec /a FreeCAD<version>.msi
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).


Using the [https://chocolatey.org/install Chocolatey] package manager is currently not recommended as that repository is no longer kept up-to-date.
Currently, there is no user interface for administrative installations, so the target directory must be passed on the command line.


<span id="Uninstallation"></span>
There is no specific uninstall procedure for an administrative install - just delete the target directory if no client uses it anymore.
=== Odinstalace ===
Pomocí


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:
=== Advertisement ===
: {{FileName|Uninstall-FreeCAD.exe}}
With
You can find it in the folder where FreeCAD is installed.
msiexec /jm FreeCAD<version>.msi
it would be possible, in principle, to "advertise" FreeCAD to a machine (with /ju to a user). This would cause the icons to appear in the start menu, and the extensions to become registered, without the software actually being installed. The first usage of a feature would cause that feature to be installed.


The uninstaller can also be executed silently using the command line:
The FreeCAD installer currently supports just advertisement of start menu entries, but no advertisement of shortcuts.


{{Code|lang=text|code=
=== Automatic Installation on a Group of Machines ===
Uninstall-FreeCAD.exe /S}}
With Windows Group Policy, it is possible to automatically install FreeCAD an a group of machines. To do so, perform the following steps:
#Log on to the domain controller
#Copy the MSI file into a folder that is shared with access granted to all target machines.
#Open the MMC snapin "Active Directory users and computers"
#Navigate to the group of computers that need FreeCAD
#Open Properties
#Open Group Policies
#Add a new policy, and edit it
#In Computer Configuration/Software Installation, choose New/Package
#Select the MSI file through the network path
#Optionally, select that you want the FreeCAD to be deinstalled if the computer leaves the scope of the policy.


Note that (silent) uninstallation will fail if there is a running instance of FreeCAD, even if that instance is not the version being uninstalled.
Group policy propagation typically takes some time - to reliably deploy the package, all machines should be rebooted.


=== Installation on Linux using Crossover Office ===


<div class="mw-translate-fuzzy">
You can install the windows version of FreeCAD on a Linux system using ''CXOffice 5.0.1''. Run ''msiexec'' from the CXOffice command line, assuming that the install package is placed in the "software" directory which is mapped to the drive letter "Y:":
{{docnav/cs|[[Feature list/cs|Seznam charakteristických vlastností]]|[[Install on Unix/cs|Instalace na Unix]]}}
msiexec /i Y:\\software\\FreeCAD<version>.msi
</div>
FreeCAD is running, but it has been reported that the OpenGL display does not work, like with other programs running under [[wikipedia:Wine (software)|Wine]] i.e. Google [[wikipedia:SketchUp|SketchUp]].


{{Userdocnavi{{#translation:}}}}
{{docnav|Feature list|Install on Unix}}

[[Category:User Documentation]]
<languages/>

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.

Chcete-li stáhnout buď 64-bitovou verzi nebo nestabilní vývojovou verzi podívejte se na stránku Download.

Po stažení souboru .msi (Microsoft Installer) jenom na něj dvojklikněte a spusťte instalační proces.

Dále jsou další informace o technických volbách. Jestli se Vám zdají strašidelné, žádný problém! Většina uživatelů Windows nebude k instalaci FreeCADu potřebovat nic víc než nainstalovat .msi a začít!

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.

Odinstalace

Pomocí

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.