Installing on Windows/pt-br: Difference between revisions

From FreeCAD Documentation
(Created page with "Diversas propriedades permitem a seleção de características a serem instaladas, reinstaladas ou removidas. O conjunto de parâmetros de instalação para o FreeCAD é")
(Updating to match new version of source page)
 
(28 intermediate revisions by 2 users not shown)
Line 6: Line 6:
}}
}}


{{TOCright}}
Você pode instalar o FreeCAD no Windows baixando um dos instaladores abaixo:


== Standard Installation ==
{{DownloadWindowsStable}}

Após baixar o arquivo .exe (NSIS Installer), clique duas vezes nele para iniciar o processo de instalação.

Abaixo estão mais informações sobre algumas opções técnicas. No entanto, a maioria dos usuários não precisa mais do que os arquivos .exe acima. Vá para [[Getting started/pt-br|Introdução]] após completar a instalação.

== Instalação simples do instalador NSIS ==


<div class="mw-translate-fuzzy">
A maneira mais fácil de '''instalar o FreeCAD no Windows''' é usando o arquivo de instalação para download acima. Esta página descreve o uso e as características do ''Instalador NSIS'' para mais opções de instalação.
A maneira mais fácil de '''instalar o FreeCAD no Windows''' é usando o arquivo de instalação para download acima. Esta página descreve o uso e as características do ''Instalador NSIS'' para mais opções de instalação.
</div>


<div class="mw-translate-fuzzy">
Se você quiser baixar a versão de desenvolvimento (que pode ser instável), veja a página [[Download/pt-br|Download]].
Se você quiser baixar a versão de desenvolvimento (que pode ser instável), veja a página [[Download/pt-br|Download]].
</div>


<div class="mw-translate-fuzzy">
== Chocolatey ==
Após baixar o arquivo .exe (NSIS Installer), clique duas vezes nele para iniciar o processo de instalação.
</div>


<div class="mw-translate-fuzzy">
Entretanto, é altamente recomendado que você use um gerenciador de pacotes como o Chocolatey para manter seu software atualizado. Você pode instalar Chocolatey seguindo [https://chocolatey.org/install estas instruções] e depois abrir um terminal PowerShell como administrador e executar:
Abaixo estão mais informações sobre algumas opções técnicas. No entanto, a maioria dos usuários não precisa mais do que os arquivos .exe acima. Vá para [[Getting started/pt-br|Introdução]] após completar a instalação.
</div>


== Installation for all users of the Windows system ==
{{Code|code=
choco install freecad
}}


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:
de vez em quando, você pode atualizar seu software com
: {{FileName|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.
{{Code|code=
choco upgrade freecad
}}


If installed for all users, the default installation path is:
para obter a última versão disponível no repositório Chocolatey. Se houver algum problema com o pacote Chocolatey, você pode entrar em contato com os mantenedores em [https://chocolatey.org/packages/freecad esta página].
: {{FileName|C:\Program Files\FreeCAD X.YY}}


== Silent Installation ==
== Instalação usando a linha de comando ==


To install FreeCAD silently, you can execute the installer from the command line:
Com o utilitário de linha de comando ''msiexec.exe'', recursos adicionais como a instalação não interativa e a instalação administrativa estão disponíveis. Veja os exemplos abaixo.


{{Code|lang=text|code=
=== Instalação não interativa ===
FreeCAD-~.exe /S

Com a linha de comando

{{Code|code=
msiexec /i FreeCAD<version>.msi
}}
}}
Default settings will be used for all options. A custom installation path can be specified in this manner:


{{Code|lang=text|code=
a instalação pode ser iniciada programaticamente. Parâmetros adicionais podem ser passados no final da linha de comando, por exemplo
FreeCAD-~.exe /S /D=A path to FreeCAD with spaces

{{Code|code=
msiexec /i FreeCAD-2.5.msi TARGETDIR=R:\FreeCAD25
}}
}}


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:
=== Interface de usuário limitada ===

The amount of user control permitted by the installer can be controlled with /q options:

* /qn - No interface
* /qb - Basic interface - display only a progress dialog with Cancel button
* /qb! - Like /qb, but hide the Cancel button
* /qr - Reduced interface - display all dialogs that do not require user interaction (skip all modal dialogs)
* /qn+ - Like /qn, but display "Completed" dialog at the end
* /qb+ - Like /qb, but display "Completed" dialog at the end

=== Diretório de destino ===

The property TARGETDIR determines the root directory of the FreeCAD installation. For example, a different installation drive can be specified with


{{Code|code=
{{Code|lang=text|code=
FreeCAD-~.exe /S /NCRC
TARGETDIR=R:\FreeCAD25
}}
}}


Note that this {{Incode|/NCRC}} flag is '''not recommended''' since the corruption check assures that the installer was e.g. completely downloaded.
The default TARGETDIR is [WindowsVolume\Programm Files\]FreeCAD<version>.


== Chocolatey ==
=== Instalação para todos os usuários ===


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

{{Code|code=
ALLUSERS=1
}}

causa uma instalação utilizável por todos os usuários. Por padrão, uma instalação não interativa (/i) torna o pacote utilizável apenas pelo usuário atual (aquele que realiza a instalação); uma instalação interativa apresenta um diálogo que, por padrão, é "todos os usuários", se o usuário que realiza a instalação possuir privilegio de administrador.

=== Seleção de recursos ===

Diversas propriedades permitem a seleção de características a serem instaladas, reinstaladas ou removidas. O conjunto de parâmetros de instalação para o FreeCAD é

* DefaultFeature - install the software proper, plus the core libraries
* 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.


<span id="Uninstallation"></span>
== Desinstalação ==
== Desinstalação ==


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:
Com
: {{FileName|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:
{{Code|code=
msiexec /x FreeCAD<version>.msi
}}


{{Code|lang=text|code=
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.
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.
== Instalação administrativa ==

Com

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

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 - simply delete the target directory if no client uses it anymore.

== Advertisement ==

Com

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

== Instalação automática em um grupo de máquinas ==

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.

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

== Instalação no Linux usando o 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 the install package is in the "software" directory on drive "Y:":

{{Code|code=
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 [[wikipedia:Wine (software)|Wine]] i.e. Google [[wikipedia:SketchUp|SketchUp]].


{{Docnav
{{Docnav

Latest revision as of 20:00, 26 January 2024

Standard Installation

A maneira mais fácil de instalar o FreeCAD no Windows é usando o arquivo de instalação para download acima. Esta página descreve o uso e as características do Instalador NSIS para mais opções de instalação.

Se você quiser baixar a versão de desenvolvimento (que pode ser instável), veja a página Download.

Após baixar o arquivo .exe (NSIS Installer), clique duas vezes nele para iniciar o processo de instalação.

Abaixo estão mais informações sobre algumas opções técnicas. No entanto, a maioria dos usuários não precisa mais do que os arquivos .exe acima. Vá para Introdução após completar a instalação.

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.

Desinstalação

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.