Installing on Windows/pt: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(6 intermediate revisions by the same user not shown)
Line 6: Line 6:
}}
}}


{{TOCright}}
A maneira mais fácil de instalar o FreeCAD no Windows é correndo o programa de instalação seguinte:


== Standard Installation ==
{{DownloadWindowsStable}}


The easiest way to install the latest stable version of FreeCAD is to use the installer, see the [[Download|Download]] page.
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 '''[[Getting started/pt | Começar]]'''.

=== Instalação simples ===

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.

The easiest way to '''install FreeCAD on Windows''' is by using the downloadable installer bundle above. This page describes the usage and features of the ''NSIS Installer'' for more installation options.


<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]].
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 class="mw-translate-fuzzy">
== Chocolatey ==
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">
However, it is highly recommended that you use a package manager such as Chocolatey to keep your software updated. You can installed Chocolatey following [https://chocolatey.org/install these instructions] and then open a PowerShell terminal as admin and run:
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 ==
{{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:
every once in a while you can update your software with
: {{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:
to get the latest version available on Chocolatey repository. If there are any issues with the chocolatey package, you may contact maintainers on [https://chocolatey.org/packages/freecad this page].
: {{FileName|C:\Program Files\FreeCAD X.YY}}


== Silent Installation ==
=== Instalação a partir da linha de comandos ===
Com a ferramenta da linha de comandos ''msiexec.exe'' há mais funcionalidades disponíveis, como instalção não-interativa e instalação administrativa.


To install FreeCAD silently, you can execute the installer from the command line:
With the ''msiexec.exe'' command line utility, additional features such as non-interactive installation and administrative installation are available. See examples below.


{{Code|lang=text|code=
==== Instalação Não-Interativa ====
FreeCAD-~.exe /S
Com a linha de comandos

With the command line

{{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. Podem ser passados parâmetros adicionais no fim da linha de comandos, como
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:
==== Interfaces limitados ====
A quantidade de diálogos que o instalador mostra pode ser controlado com opções /q, em particular:


{{Code|lang=text|code=
The amount of user control permitted by the installer can be controlled with /q options:
FreeCAD-~.exe /S /NCRC

* /qn - Sem interface
* /qb - Interface básico - mostra apenas um pequeno 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

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

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

{{Code|code=
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.
O TARGETDIR por defeito é [WindowsVolume\Programm Files\]FreeCAD<version>.


== Chocolatey ==
==== Instalação para Todos os Utilizadores ====
Adicionando


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

{{Code|code=
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.

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

A number of properties allow selection of features to be installed, reinstalled, or removed. The set of features for the FreeCAD installer is

*DefaultFeature - instala o software propriamente dito, mais as bibliotecas base
*Documentation - instala a documentação
*SourceCode - instala o código fonte
* ... a fazer

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

*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 se vai fazer uma instalação anunciada

Há algumas propriedades adicionais disponíveis; ver a documentação MSDN para mais detalhes.

Com estas opções, adicionar

{{Code|code=
ADDLOCAL=Extensions
}}

instala o intérprete e regista as extensões, mas não instala mais nada.


<span id="Uninstallation"></span>
=== Desinstalação ===
=== Desinstalação ===
Com
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:
With
: {{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=
o FreeCAD pode ser desinstalado. Não é necessário ter o ficheiro MSI disponível para a desinstalação; alternativamente, o código do pacote ou produto pode ser especificado. Pode encontrar o código do produto procurando nas propriedades do atalho de desinstalação que o FreeCAD instala no menu Iniciar.
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

With

{{Code|code=
msiexec /a FreeCAD<version>.msi
}}

pode ser iniciada uma rede de instalação "administrativa" (em rede). Os ficheiros são descomprimidos para a pasta de destino (que deve ser uma pasta na rede); não são feitas mais modificações ao sistema local. Adicionalmente, é gerado um outro ficheiro msi (mais pequeno) na pasta de destino, que os clientes podem usar para fazer uma instalação local (versões futuras poderão oferecer a possibilidade de manter algumas funcionalidades na rede).

Neste momento não há interface gráfico para instalações administrativas, por isso a pasta de destino tem de ser indicada na linha de comandos.

Não há um procedimento de desinstalação especifico para uma instalação administrativa - basta apagar a pasta de destino se não houver mais nenhum cliente a usá-la.

=== Advertise ===
Com

With

{{Code|code=
msiexec /jm FreeCAD<version>.msi
}}

seria possível, em principio, "anunciar" (advertise) o FreeCAD a uma máquina (com /ju para um utilizador). Isto faria com que os ícones aparecessem no menu Iniciar, e com que as extensões fossem registadas, sem que o programa fosse efetivamente instalado. A primeira utilização de uma funcionalidade faria com que a funcionalidade fosse instalada.

Neste momento o instalador do FreeCAD o anúncio das entradas no menu Iniciar, mas não o de atalhes.

=== Instalação Automática num Grupo de Máquinas ===
Com o Windows Group Policy, é possível instalar automaticamente o FreeCAD num grupo de máquinas. Para o fazer, siga os seguintes passos:
#Fazer login no domain controller
#Copie o ficheiro MSI para uma pasta partilhada a que todas as máquinas do grupo tenham destino.
#Abrir o snpin MMC "Active Directory users and computers"
#Navegar até ao grupo de computadores que precisam do FreeCAD
#Abrir as Propriedades
#Abrir Políticas do Grupo
#Adicionar uma nova política, e modifique-a
#Em Configuração do Computador/Instalação de Programas, escolher Novo/Pacote
#Selecionar o ficheiro MSI a partir da pasta de rede
#Opcionalmente, selecionar que quer que o FreeCAD seja desinstalado se o computador deixar o âmbito do grupo.

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.

Normalmente a propagação das politicas de grupo demora algum tempo - para se certificar que o programa é instalado adequadamente, todas as máquinas devem ser reiniciadas.

=== Instalação em Linux usando o ''Crossover Office'' ===

Pode instalar a versão de Windows do FreeCAD num sistema Linux usando o ''CXOffice 5.0.1''. Corra ''msiexec'' a partir da linha de comandos do CXOffice, assumindo que o pacote de instalação é colocado na pasta "programas" que é mapeada na drive "Y:":
msiexec /i Y:\\software\\FreeCAD<version>.msi
O FreeCAD está a correr, mas ha informação de que a imagem do OpenGL não funciona, tal como os outros programas a correr no [[wikipedia:Wine (software)|Wine]] i.e. Google [[wikipedia:SketchUp|SketchUp]].

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


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">

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.