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)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>


{{docnav
{{Docnav
|[[Feature list|Feature list]]
|[[Feature_list|Feature list]]
|[[Install on Unix|Install on Unix]]
|[[Installing_on_Linux|Installing on Linux]]
}}
}}


{{TOCright}}
<div class="mw-translate-fuzzy">
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 ===
FreeCAD installeraren levereras i .msi (Windows Installer) format.

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.
</div>

{{DownloadWindowsStable}}

After downloading the .exe (NSIS Installer) file, 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 above .exe to install FreeCAD and '''[[Getting started | Get started]]'''!


== Standard Installation ==


The easiest way to install the latest stable version of FreeCAD is to use the installer, see the [[Download|Download]] page.
=== 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">
<div class="mw-translate-fuzzy">
Line 35: Line 16:
</div>
</div>


After downloading the installer, double-click it to start the installation process.
=== Chocolatey ===
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:


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.
{{Code|code=
choco install freecad
}}


== Installation for all users of the Windows system ==
every once in a while you can update your software with


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:
{{Code|code=
: {{FileName|C:\Users\<username>\AppData\Local\Programs\FreeCAD X.YY}}
choco upgrade freecad
}}


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


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


== Silent Installation ==
<div class="mw-translate-fuzzy">
=== Kommandolinje Installation ===
Med ''msiexec.exe'' kommandolinje programmet, så finns ytterligare funktioner tillgängliga, som o-interaktiv installation och administrativ installation.
</div>


To install FreeCAD silently, you can execute the installer from the command line:
==== O-interaktiv Installation ====
Med kommandoraden


{{Code|lang=text|code=
msiexec /i FreeCAD<version>.msi
FreeCAD-~.exe /S

<div class="mw-translate-fuzzy">
installation kan startas via ett program. Extra parametrar kan läggas till i slutet på denna kommandorad, som
</div>

{{Code|code=
msiexec /i FreeCAD-2.5.msi TARGETDIR=R:\FreeCAD25
}}
}}
Default settings will be used for all options. A custom installation path can be specified in this manner:


{{Code|lang=text|code=
<div class="mw-translate-fuzzy">
FreeCAD-~.exe /S /D=A path to FreeCAD with spaces
==== Begränsat användargränssnitt====
Det användargränssnitt som installeraren visar kan kontrolleras med /q alternativ, som:
</div>

<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

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


{{Code|lang=text|code=
==== Installation för Alla användare====
FreeCAD-~.exe /S /NCRC
Genom att lägga till

{{Code|code=
ALLUSERS=1
}}
}}


Note that this {{Incode|/NCRC}} flag is '''not recommended''' since the corruption check assures that the installer was e.g. completely downloaded.
<div class="mw-translate-fuzzy">
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.
</div>


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


Using the [https://chocolatey.org/install Chocolatey] package manager is currently not recommended as that repository is no longer kept up-to-date.
<div class="mw-translate-fuzzy">
* DefaultFeature - installera mjukvaran korrekt, plus kärnbiblioteken
* Documentation - installera dokumentationen
* Source code - installera källkoden
* ... ToDo
</div>

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

<div class="mw-translate-fuzzy">
* 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
</div>

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:
{{Code|code=
: {{FileName|Uninstall-FreeCAD.exe}}
msiexec /x FreeCAD<version>.msi
You can find it in the folder where FreeCAD is installed.
}}


The uninstaller can also be executed silently using the command line:
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.


{{Code|lang=text|code=
=== Administrativ installation ===
Uninstall-FreeCAD.exe /S}}
Med


Note that (silent) uninstallation will fail if there is a running instance of FreeCAD, even if that instance is not the version being uninstalled.
{{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.

<div class="mw-translate-fuzzy">
Det finns ingen specifik avinstallationsprocedur för en administrativ installation - radera bara målkatalogen om inga klienter använder den längre.
</div>

=== Annonsering ===
Med

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

<div class="mw-translate-fuzzy">
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.
</div>

<div class="mw-translate-fuzzy">
FreeCAD installeraren stödjer för närvarande endast annonsering till startmenyn, men inga annonseringar av genvägar.
</div>

<div class="mw-translate-fuzzy">
=== 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.
</div>

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

<div class="mw-translate-fuzzy">
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:":
</div>

{{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">
Line 205: Line 75:
</div>
</div>


{{Userdocnavi{{#translation:}}}}
<div class="mw-translate-fuzzy">
[[Category:User Documentation/sv]]
</div>

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