Installing on Windows/sv: Difference between revisions

From FreeCAD Documentation
(Created page with "=== Annonsering === Med")
(Updating to match new version of source page)
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
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.


{{Docnav
=== Enkel Installation ===
|[[Feature_list|Feature list]]
FreeCAD installeraren levereras i .msi (Windows Installer) format.
|[[Installing_on_Linux|Installing on Linux]]
}}


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


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


The easiest way to install the latest stable version of FreeCAD is to use the installer, see the [[Download|Download]] page.
After downloading the .msi (Microsoft Installer) file, just double-click on it to start the installation process.


<div class="mw-translate-fuzzy">
Below is more information about technical options. If it looks daunting, don't worry! Most Windows users will not need anything more than the .msi to install FreeCAD and '''[[Getting started | Get started]]'''!
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.


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.
=== Simple Microsoft Installer Installation ===
The easiest way to '''install FreeCAD on Windows''' is by using the installer above. This page describes the usage and the features of the ''Microsoft Installer'' for more installation options.


== Installation for all users of the Windows system ==
If you would like to download either a 64 bit or unstable development version, see the [[Download]] page.


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:
: {{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.
=== Kommandolinje Installation ===
Med ''msiexec.exe'' kommandolinje programmet, så finns ytterligare funktioner tillgängliga, som o-interaktiv installation och administrativ installation.


If installed for all users, the default installation path is:
==== O-interaktiv Installation ====
: {{FileName|C:\Program Files\FreeCAD X.YY}}
Med kommandoraden
msiexec /i FreeCAD<version>.msi
installation kan startas via ett program. Extra parametrar kan läggas till i slutet på denna kommandorad, som
msiexec /i FreeCAD-2.5.msi TARGETDIR=r:\FreeCAD25
==== Begränsat användargränssnitt====
Det användargränssnitt som installeraren visar kan kontrolleras med /q alternativ, som:


== Silent Installation ==
* /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


To install FreeCAD silently, you can execute the installer from the command line:
==== Målkatalog ====
Egenskapen TARGETDIR avgör FreeCAD installationens rotkatalog. Till exempel, en annan installationsenhet kan specificeras med
TARGETDIR=R:\FreeCAD25
Standard TARGETDIR är [WindowsVolume\Program\]FreeCAD<version>.


{{Code|lang=text|code=
==== Installation för Alla användare====
FreeCAD-~.exe /S
Genom att lägga till
}}
ALLUSERS=1
Default settings will be used for all options. A custom installation path can be specified in this manner:
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.


{{Code|lang=text|code=
==== Val av funktioner ====
FreeCAD-~.exe /S /D=A path to FreeCAD with spaces
Ett antal egenskaper tillåter val av vilka funktioner som ska installeras, ominstalleras, eller tas bort. Funktionerna för FreeCAD installeraren är
}}


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:
* DefaultFeature - installera mjukvaran korrekt, plus kärnbiblioteken
* Documentation - installera dokumentationen
* Source code - installera källkoden
* ... ToDo


{{Code|lang=text|code=
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
FreeCAD-~.exe /S /NCRC
}}


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


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


Using the [https://chocolatey.org/install Chocolatey] package manager is currently not recommended as that repository is no longer kept up-to-date.
Med dessa alternativ, genom att lägga till
ADDLOCAL=Extensions
installerar själva tolken och registrerar extensionerna, men installerar inget annat.


<span id="Uninstallation"></span>
=== Avinstallering ===
=== Avinstallering ===
Med
Med
msiexec /x FreeCAD<version>.msi
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.


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:
=== Administrativ installation ===
: {{FileName|Uninstall-FreeCAD.exe}}
Med
You can find it in the folder where FreeCAD is installed.
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).


The uninstaller can also be executed silently using the command line:
För närvarande finns det inget användargränssnitt för administrativa installationer, så målkatalogen måste specificeras på kommandolinjen.


{{Code|lang=text|code=
Det finns ingen specifik avinstallationsprocedur för en administrativ installation - radera bara målkatalogen om inga klienter använder den längre.
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.
=== Annonsering ===
Med
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.


<div class="mw-translate-fuzzy">
=== Automatic Installation on a Group of Machines ===
{{docnav/sv|Feature list/sv|Install on Unix/sv}}
With Windows Group Policy, it is possible to automatically install FreeCAD an a group of machines. To do so, perform the following steps:
</div>
#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.


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