Installing on Windows/bg: Difference between revisions

From FreeCAD Documentation
(Created page with "* DefaultFeature - инстлиране на програмата заедно с основните библиотеки * Documentation - инсталиране на док...")
(Created page with "Опцията ALL определя всички компоненти. Всеки компонент изисква поне DefaultFeature (тоест самата прогр...")
Line 56: Line 56:
* ... ToDo
* ... ToDo


Опцията ALL определя всички компоненти. Всеки компонент изисква поне DefaultFeature (тоест самата програма). Следните опции дават и по-голям контрол върху инсталацията на компоненти:
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 feature to be installed on the local machine
* ADDLOCAL - list of feature to be installed on the local machine

Revision as of 20:34, 13 January 2017

Най-лесния начин за инсталиране на FreeCAD на Windows е да свалите инсталаторът по-долу.

Template:DownloadWindowsStable

След като свалите .msi (Microsoft Installer) файлът кликнете 2 пъти върху него за да стартирате инсталацията.

По-доли има други опции за инсталация. Ако ви се струват трудни не се притеснявайте! За повечето потреби на Windows е достатъчно да инсталират със гореописаният инсталатор и да следват инструкциите в Get started!


Проста Инсталация с Microsoft Installer

Най-лесния начин за инсталация на FreeCad е с гореописаният инсталатор. Тази страница описва различните опции на "Microsoft Installer".

Ако искате да свалите или 64-битова версия, или нестабилна "най-нова" версия (development version) вижте страницата Downloads.


Инсталация през командния ред

Използвайки командата "msiexec.exe" имате достъп то допълнителни опции като инсталация без човешка намеса и административна инсталация.

Инсалация без човешка намеса

Използвайки командния ред

 msiexec /i FreeCAD<version>.msi

инсталацията може да се стартира от програма или скрипт. Допълнителни параметри могат да се добавят на края на командния ред. Например:

msiexec /i FreeCAD-2.5.msi TARGETDIR=r:\FreeCAD25

Ограничен потребителски интерфейс

С /q опциите на инсталаторът може да контролирате колко се показва на потребителя по време на инсталация. По точно:

  • /qn - без интерефейс (не се показва нищо)
  • /qb - основен интерфейс - само малък прогрес бар
  • /qb! - Подобно на /qb, но без бутона Cancel
  • /qr - Улекотен интерфейс - показва всички прозорци които не изискват действия от потребителя (пропускаме всички прозорци с бутони)
  • /qn+ - Подобно на /qn, но показва диалогът "Completed" накрая
  • /qb+ - Подобно на /qb, но показва диалогът "Completed" накрая

Директория за Инсталация

Опцията TARGETDIR определя директория където ще се инсталира FreeCAD. Например различен диск за инсталация може да бъде определен чрез TARGETDIR ето така:

TARGETDIR=R:\FreeCAD25

Директорията за инсталация по подразбиране (TARGETDIR) е [WindowsVolume\Programm Files\]FreeCAD<version>.

Инсталация за всички потребители

Ако добавите

ALLUSERS=1

към командия ред, програмата ще се инсталира за всички потребители. По подразбиране инсталацията без човешка намеса (non-interactive) инсталира програмата само за настоящия потребител, а инсталацията с човешка намеса (interactive) предлага прозорец с избора който по подразбиране е за всички потребители (стига настоящия потребител да е администратор).

Избор на компоненти

Някой опции позволяват определни части от FreeCAD да се инсталират, пре-инсталират или махат. Възможните избори за компоненти са:

  • DefaultFeature - инстлиране на програмата заедно с основните библиотеки
  • Documentation - инсталиране на документацията
  • Source code - инсталриане на сорс-кода на програмата
  • ... ToDo

Опцията ALL определя всички компоненти. Всеки компонент изисква поне DefaultFeature (тоест самата програма). Следните опции дават и по-голям контрол върху инсталацията на компоненти:

  • ADDLOCAL - list of feature to be installed on the local machine
  • REMOVE - list of features to be removed
  • 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 feature for which to perform an advertise installation

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

With these options, adding

ADDLOCAL=Extensions

installs the interpreter itself and registers the extensions, but does not install anything else.

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.

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).

Currently, there is no user interface for administrative installations, so the target directory must be passed on the command line.

There is no specific uninstall procedure for an administrative install - just delete the target directory if no client uses it anymore.

With

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 FreeCAD installer currently supports just advertisement of start menu entries, but no advertisement of shortcuts.

Automatic Installation on a Group of Machines

With Windows Group Policy, it is possible to automatically install FreeCAD an a group of machines. To do so, perform the following steps:

  1. Log on to the domain controller
  2. Copy the MSI file into a folder that is shared with access granted to all target machines.
  3. Open the MMC snapin "Active Directory users and computers"
  4. Navigate to the group of computers that need FreeCAD
  5. Open Properties
  6. Open Group Policies
  7. Add a new policy, and edit it
  8. In Computer Configuration/Software Installation, choose New/Package
  9. Select the MSI file through the network path
  10. Optionally, select that you want the FreeCAD to be deinstalled if the computer leaves the scope of the policy.

Group policy propagation typically takes some time - to reliably deploy the package, all machines should be rebooted.

Installation on Linux using Crossover Office

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:":

msiexec /i Y:\\software\\FreeCAD<version>.msi

FreeCAD is running, but it has been reported that the OpenGL display does not work, like with other programs running under Wine i.e. Google SketchUp.

Feature list
Install on Unix