Installing on Windows/ru: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
 
(84 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<languages/>
<languages/>


{{Docnav/ru
{{docnav/ru|Feature list/ru|Install on Unix/ru}}
|[[Feature_list/ru|Список функций]]
|[[Installing_on_Linux/ru|Установка в Linux]]
}}


{{TOCright}}
Наиболее лёгкий способ установить FreeCAD под Windows - это загрузить одну из программ установки по ссылке ниже.


<span id="Standard_Installation"></span>
{{DownloadWindowsStable}}
== Стандартная установка ==


<div class="mw-translate-fuzzy">
После загрузки файла .msi (Microsoft Installer)дважды щёлкните по нему мышкой для начала установки.
Самый простой способ установить последнюю стабильную версию FreeCAD - использовать программу установки:
</div>


Если вы хотите загрузить версию для разработчиков (которая может быть нестабильной), смотрите страницу [https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds Еженедельных сборок].
Далее приведена информация о технических опциях. Если она выглядит обескураживающей, не волнуйтесь! Большинству пользователей Windows не потребуется ничего кроме файла .msi чтобы установить FreeCAD и '''[[Getting started | начать с ним работу]]'''!


После загрузки программы установки, дважды щёлкните по ней, чтобы запустить процесс установки.


Ниже приведена дополнительная информация о некоторых технических вариантах. Но большинству пользователей не нужно больше, чем эта программа установки. Перейдите в [[Getting_started/ru|Начало работы]] после завершения установки.
=== Простая установка c Microsoft Installer ===
Простейший способ '''установить FreeCAD на Windows''' - использовать пакет загружаемой программы установки выше. Эта страница описывает использование и возможности ''Microsoft Installer'' для дополнительных опций установки.


== Installation for all users of the Windows system ==
Если вы хотите загрузить версию для разработчиков (которая может быть нестабильной), см. страницу [[Download | Загрузки]].


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:
=== Установка из командной строки ===
: {{FileName|C:\Users\<username>\AppData\Local\Programs\FreeCAD X.YY}}
В утилите командной строки ''msiexec.exe'' доступны дополнительные особенности, такие как не интерактивная установка и административная установка. Смотрите примеры ниже.


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.
==== Не интерактивная установка ====
Из командной строки
msiexec /i FreeCAD<version>.msi
установка может быть начата программно. Дополнительные параметры могут быть переданы в конце командной строки, например
{{Code|code=
msiexec /i FreeCAD-2.5.msi TARGETDIR=R:\FreeCAD25
}}
==== Ограниченный интерфейс пользователя ====
Величину пользовательского вмешательства, разрешенного установщиком, можно контролировать с помощью параметров /q:


If installed for all users, the default installation path is:
* /qn - без интерфейса
: {{FileName|C:\Program Files\FreeCAD X.YY}}
* /qb - основной интерфейс - только маленький диалог прогресса с кнопкой Отмена
* /qb! - как /qb, но скрыть кнопку Отмена
* /qr - уменьшенный интерфейс - отображать все диалоги, которые не требуют взаимодействия с пользователем (пропустить все модальные диалоги)
* /qn+ - как /qn, но отобразить диалог "Завершено" по окончании
* /qb+ - как /qb, но отобразить диалог "Завершено" по окончании


<span id="Silent_Installation"></span>
==== Целевая папка ====
== Тихая (автоматическая) установка ==
Свойство TARGETDIR определяет корневую папку для установки FreeCAD. Например, для установки на отдельный диск, может быть указано

{{Code|code=
To install FreeCAD silently, you can execute the installer from the command line:
TARGETDIR=R:\FreeCAD25

{{Code|lang=text|code=
FreeCAD-~.exe /S
}}
}}
Default settings will be used for all options. A custom installation path can be specified in this manner:
По умолчанию TARGETDIR имеет значение [WindowsVolume\Programm Files\]FreeCAD<version>.


{{Code|lang=text|code=
==== Установка для всех пользователей ====
FreeCAD-~.exe /S /D=A path to FreeCAD with spaces
Добавление
{{Code|code=
ALLUSERS=1
}}
}}
приводит к установке для всех пользователей. По умолчанию, не интерактивная установка (/i) устанавливает пакет только для текущего пользователя(который выполняет установку), а интерактивная установка предлагает диалог со значением по умолчанию "для всех пользователей", если пользователь, выполняющий установку, имеет достаточно привилегий.


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


{{Code|lang=text|code=
* DefaultFeature - install the software proper, plus the core libraries
FreeCAD-~.exe /S /NCRC
* Documentation - install the documentation
* Source code - install the sources
* ... ToDo

In addition, ALL specifies all features. All features depend on DefaultFeature, so installing any feature automatically installs the default feature as well. The following properties control features to be installed or removed

* ADDLOCAL - list of features to be installed on the local machine
* REMOVE - list of features to be removed from the local machine
* ADDDEFAULT - list of features added in their default configuration (which is local for all FreeCAD features)
* REINSTALL - list of features to be reinstalled/repaired
* ADVERTISE - list of features for which to perform an advertise installation

There are a few additional properties available; see the MSDN documentation for details.

With these options, adding
{{Code|code=
ADDLOCAL=Extensions
}}
}}
installs the interpreter itself and registers the extensions, but does not install anything else.


Note that this {{Incode|/NCRC}} flag is '''not recommended''' since the corruption check assures that the installer was e.g. completely downloaded.
=== Uninstallation ===
With
{{Code|code=
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
{{Code|code=
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 - simply delete the target directory if no client uses it anymore.
== Удаление ==


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.
{{Code|code=
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 only supports 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 on 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 FreeCAD to be de-installed 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.


=== Установка в Linux с использованием Crossover Office ===


{{Docnav/ru
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 the install package is in the "software" directory on drive "Y:":
|[[Feature_list/ru|Список фунций]]
{{Code|code=
|[[Installing_on_Linux/ru|Установка в Linux]]
msiexec /i Y:\\software\\FreeCAD<version>.msi
}}
}}


{{Userdocnavi{{#translation:}}}}
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]].

{{docnav/ru|Feature list/ru|Install on Unix/ru}}

<div class="mw-translate-fuzzy">
[[Category:User Documentation/ru]]
</div>

Latest revision as of 20:00, 26 January 2024

Стандартная установка

Самый простой способ установить последнюю стабильную версию FreeCAD - использовать программу установки:

Если вы хотите загрузить версию для разработчиков (которая может быть нестабильной), смотрите страницу Еженедельных сборок.

После загрузки программы установки, дважды щёлкните по ней, чтобы запустить процесс установки.

Ниже приведена дополнительная информация о некоторых технических вариантах. Но большинству пользователей не нужно больше, чем эта программа установки. Перейдите в Начало работы после завершения установки.

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

Тихая (автоматическая) установка

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.

Удаление

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.