Installing on Windows/sv: Difference between revisions

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


{{TOCright}}
The easiest way to install FreeCAD on Windows is to download the installer below.
{{DownloadWindowsStable}}
Det lättaste sättet att '''installera FreeCAD på Windows''' är genom att använda installeraren. Denna sida beskriver hur man använder den och egenskaperna av ''Microsoft Installeraren'' för mer installationsalternativ.


=== Enkel Installation ===
== Standard Installation ==
FreeCAD installeraren levereras i .msi (Windows Installer) format.


The easiest way to install the latest stable version of FreeCAD is to use the installer, see the [[Download|Download]] page.
Du kan ladda ned den senaste .msi filen från [http://sourceforge.net/project/showfiles.php?group_id=49159&package_id=206659 den officiella FreeCAD nedladdningssidan].

Efter att du har laddat ned filen, dubbelklicka på den för att starta installationsprocessen.

{{DownloadWindowsStable}}

After downloading the installer file, double-click it to start the installation process.

Below is more information about some technical options. Nevertheless, most users don't need more than the above .exe file. Head to [[Getting started|Get started]] after installation is complete.

== Simple NSIS Installer Installation ==

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">
If you would like to download either a 64 bit or unstable development version, see the [[Download]] page. [[Download/sv|Download/sv]]
If you would like to download either a 64 bit or unstable development version, see the [[Download]] page. [[Download/sv|Download/sv]]
</div>


After downloading the installer, double-click it to start the installation process.
== Chocolatey ==


Below is more information about some technical options. But most users don't need more than the installer. Head to [[Getting_started|Getting started]] once installation is complete.
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:


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


=== Kommandolinje Installation ===
== Silent Installation ==
Med ''msiexec.exe'' kommandolinje programmet, så finns ytterligare funktioner tillgängliga, som o-interaktiv installation och administrativ installation.


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=
==== O-interaktiv Installation ====
FreeCAD-~.exe /S
Med kommandoraden

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=
installation kan startas via ett program. Extra parametrar kan läggas till i slutet på denna kommandorad, som
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:
==== Begränsat användargränssnitt====
Det användargränssnitt som installeraren visar kan kontrolleras med /q alternativ, som:


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

<div class="mw-translate-fuzzy">
* /qn - Inget gränssnitt
* /qb - Grundläggande gränssnitt - endast en liten förloppsdialog
* /qb! - Som /qb, men göm Avbryt knappen
* /qr - Reducerat gränssnitt - visar alla dialoger som inte kräver svar från användaren (skippa alla modala dialoger)
* /qn+ - Like /qn, men visa "Färdig" dialogen vid slutet
* /qb+ - Like /qb, men visa "Färdig" dialogen vid slutet
</div>

==== Målkatalog ====
Egenskapen TARGETDIR avgör FreeCAD installationens rotkatalog. Till exempel, en annan installationsenhet kan specificeras med

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.
Standard TARGETDIR är [WindowsVolume\Program\]FreeCAD<version>.


== Chocolatey ==
==== Installation för Alla användare====
Genom att lägga till


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

så installeras programmet för alla användare. Som standard, så installerar den o-interaktiva installeraren paketet endast för den nuvarande användaren, och den interaktiva installeraren visar en dialog som har "alla användare" som standard, om användaren har tillräckliga rättigheter.

==== Val av funktioner ====
Ett antal egenskaper tillåter val av vilka funktioner som ska installeras, ominstalleras, eller tas bort. Funktionerna för FreeCAD installeraren är

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

* DefaultFeature - installera mjukvaran korrekt, plus kärnbiblioteken
* Documentation - installera dokumentationen
* Source code - installera källkoden
* ... ToDo

I tillägg, så specificerar ALL alla funktioner. Alla funktioner beror på DefaultFeature, så när en funktion installeras, så installeras även standardfunktionen automatiskt. Följande egenskaper kontrollerar vilka funktioner som ska installeras eller tas bort

* ADDLOCAL - lista på funktioner som ska installeras på den lokala maskinen
* REMOVE - lista på funktioner som ska tas bort
* ADDDEFAULT - lista på funktioner som ska läggas till i dess standardkonfiguration (vilket är lokal för alla FreeCAD funktioner)
* REINSTALL - lista på funktioner som ska ominstalleras/repareras
* ADVERTISE - lista på funktioner som ska annonsera en installation

Det finns en del ytterligare alternativ tillgängliga; se MSDN dokumentationen för detaljer.

Med dessa alternativ, genom att lägga till

{{Code|code=
ADDLOCAL=Extensions
}}

installerar själva tolken och registrerar extensionerna, men installerar inget annat.


<span id="Uninstallation"></span>
=== Avinstallering ===
=== Avinstallering ===
Med
Med


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=
så kan FreeCAD avinstalleras. Det är inte nödvändigt att ha MSI filen tillgänglig för avinstalleringar; alternativt så kan även paketet eller produktkoden specificeras. Du kan hitta produktkoden genom att titta på avinstalleringsgenvägens egenskaper som FreeCAD installerar i startmenyn.
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.
=== Administrativ installation ===
Med

With

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

så kan en "administrativ" (nätverks) installation startas. Filerna packas upp till målkatalogen (vilken ska vara en nätverkskatalog), men inga andra ändringar görs på det lokala systemet. Dessutom genereras en annan (mindre) msi fil i målkatalogen, vilken klienter sedan kan använda för att utföra en lokal installation (framtida versioner kan också erbjuda att behålla vissa funktioner på nätverksenheten).

För närvarande finns det inget användargränssnitt för administrativa installationer, så målkatalogen måste specificeras på kommandolinjen.

Det finns ingen specifik avinstallationsprocedur för en administrativ installation - radera bara målkatalogen om inga klienter använder den längre.

=== Annonsering ===
Med

With

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

så är det i princip möjligt att "annonsera" FreeCAD till en maskin (med /ju till en användare). Detta gör att ikonerna syns i startmenyn, och extensionerna registreras, utan att någon mjukvara installeras. Det första användandet av en funktion orsakar en installation av densamma.

FreeCAD installeraren stödjer för närvarande endast annonsering till startmenyn, men inga annonseringar av genvägar.

=== Automatisk Installation på en maskingrupp ===
Med Windows Group Policy, så är det möjlig att automatiskt installera FreeCAD på en grupp av maskiner. För att göra det, utför följande steg:
#Logga in på domän controllern
#Kopiera MSI filen till en delad mapp som alla målmaskiner har åtkomst till.
#Öppna MMC snapin "Active Directory users and computers"
#Navigera till den datorgrupp som behöver FreeCAD
#Öppna egenskaper
#Öppna Group Policy
#Lägg till en ny policy, och redigera den
#I datorkonfiguration/Mjukvaruinstallation, välj Ny/Paket
#Välj MSI filen i nätverkssökvägen
#Välj alternativt att du vill att FreeCAD ska avinstalleras om datorn lämnar policyns område.

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.

Grupp policy propagering brukar ta lite tid - för att distribuera paketet pålitligt, starta om samtliga maskiner.

=== Installation på Linux om du använder Crossover Office ===

Du kan installera windows versionen av FreeCAD på ett Linux system genom att använda ''CXOffice 5.0.1''. Kör ''msiexec'' frånCXOffice's kommandolinje, det antas att installationspaketet finns i "software" katalogen som är mappad till enhetsbokstaven "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]].


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

Latest revision as of 19:59, 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.

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

After downloading the installer, double-click it to start the installation process.

Below is more information about some technical options. But most users don't need more than the installer. Head to Getting started once installation is complete.

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.

Avinstallering

Med

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.


Feature list/sv
Install on Unix/sv