Installing on Windows/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "=== Instalacja administracyjna === Przez")
(Created page with "zostaje zainicjowana instalacja "administracyjna" (sieciowa). Pliki zostają rozpakowane do katalogu docelowego (który powinien być katalogiem sieciowym), ale nie dokonuje s...")
Line 80: Line 80:
Przez
Przez
msiexec /a FreeCAD<version>.msi
msiexec /a FreeCAD<version>.msi
zostaje zainicjowana instalacja "administracyjna" (sieciowa). Pliki zostają rozpakowane do katalogu docelowego (który powinien być katalogiem sieciowym), ale nie dokonuje się innych modyfikacji na lokalnym systemie plików. W dodatku, w katalogu docelowym, generowany jest drugi (mniejszy) plik msi, który może być użyty przez klientów do dokonania lokalnej instalacji.
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.
Currently, there is no user interface for administrative installations, so the target directory must be passed on the command line.

Revision as of 19:55, 11 December 2013

The easiest way to install FreeCAD on Windows is to download the installer below.

Template:DownloadWindowsStable

Najprostszą metodą na zainstalowanie FreeCADa pod Windows jest użycie instalatora. Ta strona opisuje wykorzystanie i cechy Instalatora Microsoft z dodatkowymi opcjami instalacji.

After downloading the .msi (Microsoft Installer) file, just double-click on it to start the installation process.

Below is more information about technical options. If it looks daunting, don't worry! Most Windows users will not need anything more than the .msi to install FreeCAD and Get started!


=== Simple Microsoft Installer Installation === The easiest way to install FreeCAD on Windows is by using the installer above. This page describes the usage and the features of the Microsoft Installer for more installation options.

Prosta instalacja

Instalator FreeCADa Dostarczany jest w formacie .msi (Instalator Windows).

Najnowszy plik .msi możesz pobrać z oficjalnej strony FreeCADa. Po pobraniu pliku po prostu kliknij go dwukrotnie w celu uruchomienia procesu instalacji.

If you would like to download either a 64 bit or unstable development version, see the Download page.


Instalacja z użyciem linii komend

Z narzędziem linii komend msiexec.exe dostępne są większe możliwości, jak nieinteraktywna instalacja czy instalacja administracyjna.

Nieinteraktywna instalacja

Z użyciem linii poleceń

 msiexec /i FreeCAD<version>.msi

instalacja zostanie zainicjowana w sposób zaprogramowany. Dodatkowe parametry mogą być dodane na końcu linii, jak

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

Ograniczony interfejs użytkownika

Zakres interfejsu użytkownika może być kontrolowany przy pomocy opcji /q, w szczególności:

  • /qn - Bez interfejsu
  • /qb - Podstawowy interfejs - po prostu małe okno postępu
  • /qb! - Jak /qb, ale ukrywa przycisk Anuluj
  • /qr - Ograniczony interfejs - wyświetla wszystkie okna, które nie wymagają interakcji z użytkownikiem (pomija okna modalne)
  • /qn+ - Jak /qn, ale wyświetla na końcu komunikat "Ukończony"
  • /qb+ - Jak /qb, ale wyświetla na końcu komunikat "Ukończony"

Katalog docelowy

Ustawienie TARGETDIR określa główny katalog instalacji. Np. inny dysk instalacji może być określony przez

TARGETDIR=R:\FreeCAD25

Domyślny TARGETDIR to [WindowsVolume\Programm Files\]FreeCAD<version>.

Instalacja dla Wszyskich Użytkowników (All Users)

Dodanie

 ALLUSERS=1

powoduje instalację dla wszystkich użytkowników. Domyślnie nieinteraktywna instalacja instaluje pakiet dla aktualnego użytkownika, a interaktywna instalacje oferuje okno dialogowe z opcją "wszyscy użytkownicy" - jeśli użytkownik posiada wystarczające uprawnienia.

Wybór funkcji

Możliwy jest wybór elementów, które mają być zainstalowane, odinstalowane lub ponownie zainstalowane. Możliwy jest następujący wybór

  • DefaultFeature - właściwa aplikacja i biblioteki rdzenia
  • Documentation - dokumentacja
  • Source code - pliki źródłowe
  • ... ToDo

Dodatkowo, ALL zaznacza wszystkie elementy. Zależą one od DefaultFeature, więc instalacja dowolnego elementu oznacza także instalację elementów bazowych. Następujące ustawienia regulują instalowanie lub usuwanie elementów

  • ADDLOCAL - lista elementów do zainstalowanie na lokanej maszynie
  • REMOVE - lista elementów do usunięcia
  • ADDDEFAULT - lista elementów dodanych w ich domyślnej konfiguracji
  • REINSTALL - lista elementów do reinstalacji/naprawy
  • ADVERTISE - lista elementów z ogłaszaniem instalacji

Jest jeszcze kilka innych ustawień; zobacz szczegółowo dokumentację MSDN.

Dodanie do tych opcji

instaluje interpreter i rejestruje rozszerzenia, ale nie instaluje niczego innego.

 ADDLOCAL=Extensions

instaluje interpreter i rejestruje rozszerzenia, ale nie instaluje niczego innego.

Deinstalacja

FreeCAD może być odinstalowany poprzez

 msiexec /x FreeCAD<version>.msi

Do deinstalacji nie jest konieczne określenie pliku MSI; alternatywnie można określić pakiet lub kod produktu. Kod produktu możesz znaleźć oglądając skrót deinstalacji, który FreeCAD umieszcza w Menu Start.

Instalacja administracyjna

Przez

 msiexec /a FreeCAD<version>.msi

zostaje zainicjowana instalacja "administracyjna" (sieciowa). Pliki zostają rozpakowane do katalogu docelowego (który powinien być katalogiem sieciowym), ale nie dokonuje się innych modyfikacji na lokalnym systemie plików. W dodatku, w katalogu docelowym, generowany jest drugi (mniejszy) plik msi, który może być użyty przez klientów do dokonania lokalnej instalacji.

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