Installing on Windows/pt: Difference between revisions

From FreeCAD Documentation
(Created page with "instala o intérprete e regista as extensões, mas não instala mais nada.")
(Updating to match new version of source page)
 
(52 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
The easiest way to install FreeCAD on Windows is to download the installer below.


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


{{TOCright}}


== Standard Installation ==
<div id="itsfree" style="text-align:center; background:#FDE0A8;margin:1em 7em;padding:0.5em 2em;border:2px solid #FF5706;">


The easiest way to install the latest stable version of FreeCAD is to use the installer, see the [[Download|Download]] page.
'''NOTA:''' os processos descritos aqui não foram testados pelo tradutor na versão portuguesa do Windows, como tal os momes das opções indicados aqui podem não corresponder aos vistos no ecran...


<div class="mw-translate-fuzzy">
Se quiser fazer a transferência da versão 64 bits ou a versão de desenvolvimento instável, veja a página dos [[Download/pt|Transferências]].
</div>
</div>


<div class="mw-translate-fuzzy">
A maneira mais fácil de instalar o FreeCAD no Windows é correndo o programa de instalação seguinte:
Depois de transferir o ficheiro .msi (instalador da Microsoft), faça duplo-clique para iniciar o processo de instalação.
</div>


<div class="mw-translate-fuzzy">
{{DownloadWindowsStable}}
Em baixo encontra mais informação sobre opções técnicas. Se lhe parecer complicado, não se preocupe! A maioria dos utilizadores Windows não precisam de mais do que o ficheiro de instalação .msi para instalar o FreeCAD e '''[[Getting started/pt | Começar]]'''.
</div>


== Installation for all users of the Windows system ==
Depois de fazer o download do ficheiro .msi (instalador da Microsoft), faça duplo-clique nele para iniciar o processo de instalação.


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:
Em baixo encontra mais informação sobre opções técnicas. Se lhe parece complicado, não se preocupe, para a maioria dos utilizadores de Windows basta o ficheiro de instalação .msi e a secção '''[[Getting started | Get started]]'''.
: {{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.


If installed for all users, the default installation path is:
=== Instalação simples ===
: {{FileName|C:\Program Files\FreeCAD X.YY}}


== Silent Installation ==
A maneira mais fácil de instalar o '''FreeCAD no Windows''' é usando o instalador acima. Esta página descreve as funcionalidades do '''Instalador Windows''' para mais opções de instalação.


To install FreeCAD silently, you can execute the installer from the command line:
Se quiser fazer o download da versão 64 bits ou a versão de desenvolvimento instável, veja a página dos [[Download|Downloads]].


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


{{Code|lang=text|code=
=== Instalação a partir da linha de comandos ===
FreeCAD-~.exe /S /D=A path to FreeCAD with spaces
Com a ferramenta da linha de comandos ''msiexec.exe'' há mais funcionalidades disponíveis, como instalção não-interativa e instalação administrativa.
}}


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:
==== Instalação Não-Interativa ====
Com o comando
msiexec /i FreeCAD<version>.msi
a instalação pode ser iniciada programáticamente. Podem ser passados parâmetros adicionais ao comando, como
msiexec /i FreeCAD-2.5.msi TARGETDIR=r:\FreeCAD25
==== Interfaces limitados ====
A quantidade de diálogos que o instalador mostra pode ser controlado com opções /q, em particular:


{{Code|lang=text|code=
* /qn - Sem interface
FreeCAD-~.exe /S /NCRC
* /qb - Interface básico - mostra apenas um diálogo indicando o progresso
}}
* /qb! - Como /qb, mas esconde o botão Cancel
* /qr - Interface reduzido - mostra todos os diálogos que não requerem interação com o utilizador
* /qn+ - Como /qn, mas mostra o diálogo "Completed" no fim
* /qb+ - Como /qn, mas mostra o diálogo "Completed" no fim


Note that this {{Incode|/NCRC}} flag is '''not recommended''' since the corruption check assures that the installer was e.g. completely downloaded.
==== Pasta de destino ====
A propriedade TARGETDIR determina a pasta raiz da instalação FreeCAD. Por exemplo, pode ser especificado um disco de instalação diferente com
TARGETDIR=R:\FreeCAD25
O TARGETDIR por defeito é [WindowsVolume\Programm Files\]FreeCAD<version>.


== Chocolatey ==
==== Instalação para Todos os Utilizadores ====
Adiconando
ALLUSERS=1
leva à instalação para todos os utilizadores. Por defeito, a instalação não interativa instala o programa para o utilizador atual, e a instalação interativa oferece um diálogo que seleciona "todos os utilizadores" por defeito, se o utilizador atual tiver privilégios suficientes.


Using the [https://chocolatey.org/install Chocolatey] package manager is currently not recommended as that repository is no longer kept up-to-date.
==== Seleção de Funcionalidades ====
Há um número de propriedades que permitem a seleção das funcionalidades a serem instaladas, reinstaladas, ou removidas. O conjunto de funcionalidades do instalador do FreeCAD é


<span id="Uninstallation"></span>
*DefaultFeature - instala o software propriamente dito, mais as bibliotecas base
=== Desinstalação ===
*Documentation - instala a documentação
Com
*SourceCode - instala o código fonte
* ... Todo


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:
Adicionalmente, ALL especifica todas as funcionalidades. Todas as funcionalidades dependem da DefaultFeature, instalar qualquer uma das outras implica a instalação desta. As seguintes propriedades controlam as funcionalidades a serem instaladas ou removidas
: {{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:
*ADDLOCAL - lista de funcionalidades a serem instaladas na máquina local
*REMOVE - lista de funcionalidades a remover
*ADDDEFAULT - lista de funcionalidades adicionadas na sua configuração por defeito (que é local para todas as funcionalidades do FreeCAD)
*REINSTALAR - lista de funcionalidades a reinstalar/reparar
*ADVERTISE - lista de funcionalidades para as quais fazer uma instalação anunciada


{{Code|lang=text|code=
Há algumas propriedades adicionais disponíveis; ver a documentação MSDN para mais detalhes.
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.
Com estas opções, adicionar
ADDLOCAL=Extensions
instala o intérprete e regista as extensões, mas não instala mais nada.


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


<div class="mw-translate-fuzzy">
=== Administrative installation ===
{{docnav/pt|[[Feature list/pt|Lista de funcionalidades]]|[[Install on Unix/pt|Install on Unix]]}}
With
</div>
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).


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

=== Advertisement ===
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:
#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.

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

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

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

Latest revision as of 20:00, 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.

Se quiser fazer a transferência da versão 64 bits ou a versão de desenvolvimento instável, veja a página dos Transferências.

Depois de transferir o ficheiro .msi (instalador da Microsoft), faça duplo-clique para iniciar o processo de instalação.

Em baixo encontra mais informação sobre opções técnicas. Se lhe parecer complicado, não se preocupe! A maioria dos utilizadores Windows não precisam de mais do que o ficheiro de instalação .msi para instalar o FreeCAD e Começar.

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

Com

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.