FreeCAD-Doc/localwiki/Install_on_Windows-uk.html
2018-07-19 18:47:02 -05:00

145 lines
12 KiB
HTML

<html><head><title>Install on Windows/uk</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Install on Windows/uk</h1></div>
<div id="mw-content-text" lang="uk" dir="ltr" class="mw-content-ltr"><hr/><div class="mw-parser-output"><p>The easiest way to install FreeCAD on Windows is to download the installer below.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Windows.png" class="image"><img alt="Windows.png" src="Windows.png" width="32" height="32" /></a> <a rel="nofollow" class="external text" href="https://github.com/FreeCAD/FreeCAD/releases/download/0.16/FreeCAD.0.16.6706.f86a4e4-WIN-x86-installer.exe">Windows</a> <small>32 bits </small>
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Windows.png" class="image"><img alt="Windows.png" src="Windows.png" width="32" height="32" /></a> <a rel="nofollow" class="external text" href="https://github.com/FreeCAD/FreeCAD/releases/download/0.16.6712/FreeCAD-0.16.6712_x64_setup.exe">Windows</a> <small>64 bits</small>
</p><p><br />
After downloading the .msi (Microsoft Installer) file, just double-click on it to start the installation process.
</p><p>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 <b><a href="Getting_started.html" title="Getting started"> Get started</a></b>!
</p><p><br />
</p>
<div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
<ul>
<li class="toclevel-1 tocsection-1"><a href="#Simple_Microsoft_Installer_Installation"><span class="tocnumber">1</span> <span class="toctext">Simple Microsoft Installer Installation</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#Command_Line_Installation"><span class="tocnumber">2</span> <span class="toctext">Command Line Installation</span></a>
<ul>
<li class="toclevel-2 tocsection-3"><a href="#Non-interactive_Installation"><span class="tocnumber">2.1</span> <span class="toctext">Non-interactive Installation</span></a></li>
<li class="toclevel-2 tocsection-4"><a href="#Limited_user_interface"><span class="tocnumber">2.2</span> <span class="toctext">Limited user interface</span></a></li>
<li class="toclevel-2 tocsection-5"><a href="#Target_directory"><span class="tocnumber">2.3</span> <span class="toctext">Target directory</span></a></li>
<li class="toclevel-2 tocsection-6"><a href="#Installation_for_All_Users"><span class="tocnumber">2.4</span> <span class="toctext">Installation for All Users</span></a></li>
<li class="toclevel-2 tocsection-7"><a href="#Feature_Selection"><span class="tocnumber">2.5</span> <span class="toctext">Feature Selection</span></a></li>
</ul>
</li>
<li class="toclevel-1 tocsection-8"><a href="#Uninstallation"><span class="tocnumber">3</span> <span class="toctext">Uninstallation</span></a></li>
<li class="toclevel-1 tocsection-9"><a href="#Administrative_installation"><span class="tocnumber">4</span> <span class="toctext">Administrative installation</span></a></li>
<li class="toclevel-1 tocsection-10"><a href="#Advertisement"><span class="tocnumber">5</span> <span class="toctext">Advertisement</span></a></li>
<li class="toclevel-1 tocsection-11"><a href="#Automatic_Installation_on_a_Group_of_Machines"><span class="tocnumber">6</span> <span class="toctext">Automatic Installation on a Group of Machines</span></a></li>
<li class="toclevel-1 tocsection-12"><a href="#Installation_on_Linux_using_Crossover_Office"><span class="tocnumber">7</span> <span class="toctext">Installation on Linux using Crossover Office</span></a></li>
</ul>
</div>
<h3><span class="mw-headline" id="Simple_Microsoft_Installer_Installation">Simple Microsoft Installer Installation</span></h3>
<p>The easiest way to <b>install FreeCAD on Windows</b> is by using the installer above. This page describes the usage and the features of the <i>Microsoft Installer</i> for more installation options.
</p><p>If you would like to download either a 64 bit or unstable development version, see the <a href="Download.html" title="Download">Download</a> page.
</p><p><br />
</p>
<h3><span class="mw-headline" id="Command_Line_Installation">Command Line Installation</span></h3>
<p>With the <i>msiexec.exe</i> command line utility, additional features are available, like non-interactive installation and administrative installation.
</p>
<h4><span class="mw-headline" id="Non-interactive_Installation">Non-interactive Installation</span></h4>
<p>With the command line
</p>
<pre> msiexec /i FreeCAD&lt;version&gt;.msi
</pre>
<p>installation can be initiated programmatically. Additional parameters can be passed at the end of this command line, like
</p>
<pre>msiexec /i FreeCAD-2.5.msi TARGETDIR=r:\FreeCAD25 </pre>
<h4><span class="mw-headline" id="Limited_user_interface">Limited user interface</span></h4>
<p>The amount of user interface that installer displays can be controlled with /q options, in particular:
</p>
<ul><li> /qn - No interface</li>
<li> /qb - Basic interface - just a small progress dialog</li>
<li> /qb! - Like /qb, but hide the Cancel button</li>
<li> /qr - Reduced interface - display all dialogs that don't require user interaction (skip all modal dialogs)</li>
<li> /qn+ - Like /qn, but display "Completed" dialog at the end</li>
<li> /qb+ - Like /qb, but display "Completed" dialog at the end </li></ul>
<h4><span class="mw-headline" id="Target_directory">Target directory</span></h4>
<p>The property TARGETDIR determines the root directory of the FreeCAD installation. For example, a different installation drive can be specified with
</p>
<pre>TARGETDIR=R:\FreeCAD25 </pre>
<p>The default TARGETDIR is [WindowsVolume\Programm Files\]FreeCAD&lt;version&gt;.
</p>
<h4><span class="mw-headline" id="Installation_for_All_Users">Installation for All Users</span></h4>
<p>Adding
</p>
<pre>ALLUSERS=1 </pre>
<p>causes an installation for all users. By default, the non-interactive installation install the package just for the current user, and the interactive installation offers a dialog which defaults to "all users" if the user is sufficiently privileged.
</p>
<h4><span class="mw-headline" id="Feature_Selection">Feature Selection</span></h4>
<p>A number of properties allow selection of features to be installed, reinstalled, or removed. The set of features for the FreeCAD installer is
</p>
<ul><li> DefaultFeature - install the software proper, plus the core libraries</li>
<li> Documentation - install documentation</li>
<li> Source code - install the sources </li>
<li> ... ToDo</li></ul>
<p>In addition, ALL specifies all features. All features depend on DefaultFeature, so installing any feature automatically installs the default feature as well. The following properties control features to be installed or removed
</p>
<ul><li> ADDLOCAL - list of feature to be installed on the local machine</li>
<li> REMOVE - list of features to be removed</li>
<li> ADDDEFAULT - list of features added in their default configuration (which is local for all FreeCAD features)</li>
<li> REINSTALL - list of features to be reinstalled/repaired</li>
<li> ADVERTISE - list of feature for which to perform an advertise installation </li></ul>
<p>There are a few additional properties available; see the MSDN documentation for details.
</p><p>With these options, adding
</p>
<pre>ADDLOCAL=Extensions </pre>
<p>installs the interpreter itself and registers the extensions, but does not install anything else.
</p>
<h3><span class="mw-headline" id="Uninstallation">Uninstallation</span></h3>
<p>With
</p>
<pre>msiexec /x FreeCAD&lt;version&gt;.msi </pre>
<p>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.
</p>
<h3><span class="mw-headline" id="Administrative_installation">Administrative installation</span></h3>
<p>With
</p>
<pre>msiexec /a FreeCAD&lt;version&gt;.msi </pre>
<p>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).
</p><p>Currently, there is no user interface for administrative installations, so the target directory must be passed on the command line.
</p><p>There is no specific uninstall procedure for an administrative install - just delete the target directory if no client uses it anymore.
</p>
<h3><span class="mw-headline" id="Advertisement">Advertisement</span></h3>
<p>With
</p>
<pre>msiexec /jm FreeCAD&lt;version&gt;.msi </pre>
<p>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.
</p><p>The FreeCAD installer currently supports just advertisement of start menu entries, but no advertisement of shortcuts.
</p>
<h3><span class="mw-headline" id="Automatic_Installation_on_a_Group_of_Machines">Automatic Installation on a Group of Machines</span></h3>
<p>With Windows Group Policy, it is possible to automatically install FreeCAD an a group of machines. To do so, perform the following steps:
</p>
<ol><li>Log on to the domain controller</li>
<li>Copy the MSI file into a folder that is shared with access granted to all target machines.</li>
<li>Open the MMC snapin "Active Directory users and computers"</li>
<li>Navigate to the group of computers that need FreeCAD</li>
<li>Open Properties</li>
<li>Open Group Policies</li>
<li>Add a new policy, and edit it</li>
<li>In Computer Configuration/Software Installation, choose New/Package</li>
<li>Select the MSI file through the network path</li>
<li>Optionally, select that you want the FreeCAD to be deinstalled if the computer leaves the scope of the policy. </li></ol>
<p>Group policy propagation typically takes some time - to reliably deploy the package, all machines should be rebooted.
</p>
<h3><span class="mw-headline" id="Installation_on_Linux_using_Crossover_Office">Installation on Linux using Crossover Office</span></h3>
<p>You can install the windows version of FreeCAD on a Linux system using <i>CXOffice 5.0.1</i>. Run <i>msiexec</i> from the CXOffice command line, assuming that the install package is placed in the "software" directory which is mapped to the drive letter "Y:":
</p>
<pre>msiexec /i Y:\\software\\FreeCAD&lt;version&gt;.msi </pre>
<p>FreeCAD is running, but it has been reported that the OpenGL display does not work, like with other programs running under <a href="http://en.wikipedia.org/wiki/Wine_(software)" class="extiw" title="wikipedia:Wine (software)">Wine</a> i.e. Google <a href="http://en.wikipedia.org/wiki/SketchUp" class="extiw" title="wikipedia:SketchUp">SketchUp</a>.
</p>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Install_on_Windows/uk&amp;oldid=175222">http://www.freecadweb.org/wiki/index.php?title=Install_on_Windows/uk&amp;oldid=175222</a>"</div>
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
</div>
</div>
<div id="mw-navigation">
<h2>Navigation menu</h2>
</body></html>