Installing on Windows/ja: Difference between revisions

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


{{TOCright}}
Windows上でのFreeCADのインストールのもっとも簡単なやり方は下記のインストーラーをダウンロードすることです。<br>


== Standard Installation ==
{{DownloadWindowsStable}}

The easiest way to install the latest stable version of FreeCAD is to use the installer, see the [[Download|Download]] page.

<div class="mw-translate-fuzzy">
もし64ビット版や不安定開発版をダウンロードしたければ[[Download|ダウンロードページ]]を見てください。
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
.msi (Microsoftインストーラー)ファイルをダウンロードし、それをダブルクリックするだけでインストール処理が開始します。
.msi (Microsoftインストーラー)ファイルをダウンロードし、それをダブルクリックするだけでインストール処理が開始します。
</div>
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 18: Line 24:
</div>
</div>


== Installation for all users of the Windows system ==
=== シンプルなMicrosoftインストーラーでのインストール ===
'''Windows上でのFreeCADのインストール'''のもっとも簡単なやり方は上記のインストーラーを使う方法です。このページでは追加のインストールオプションを使った''Microsoftインストーラー''の機能とその使い方を説明します。


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:
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.
: {{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.
もし64ビット版や不安定開発版をダウンロードしたければ[[Download|ダウンロードページ]]を見てください。


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


== Silent Installation ==
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:


To install FreeCAD silently, you can execute the installer from the command line:
{{Code|code=
choco install freecad
}}


{{Code|lang=text|code=
every once in a while you can update your software with
FreeCAD-~.exe /S

{{Code|code=
choco upgrade freecad
}}
}}
Default settings will be used for all options. A custom installation path can be specified in this manner:


{{Code|lang=text|code=
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].
FreeCAD-~.exe /S /D=A path to FreeCAD with spaces

=== コマンドラインでのインストール ===
''msiexec.exe''コマンドラインユーティリティーを使用すると非対話的なインストールや管理者用インストールといった追加機能を使用することができます。

With the ''msiexec.exe'' command line utility, additional features such as non-interactive installation and administrative installation are available. See examples below.

==== 非対話的なインストール ====

With the command line

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


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:
以下のコマンドを使用するとインストールをプログラム的に開始させることが可能です。


{{Code|lang=text|code=
FreeCAD-~.exe /S /NCRC

追加パラメーターは以下のようにコマンドラインの末尾で設定できます。

{{Code|code=
msiexec /i FreeCAD-2.5.msi 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.
==== 制限付きユーザーインターフェイス ====
/qオプションを使うことでインストーラーが表示するインターフェイスの量をコントロールできます。具体的には以下の通りです:


== Chocolatey ==
The amount of user control permitted by the installer can be controlled with /q options:

<div class="mw-translate-fuzzy">
* /qn - インターフェイス無し
* /qb - 簡易インターフェイス - 小さなプログレスダイアログだけです
* /qb! - /qbと同じですがキャンセルボタンを非表示にします
* /qr - 省略インターフェイス - 全てのダイアログを表示しますがユーザー操作は必要とされません(モーダルダイアログは全てスキップされます)
* /qn+ - /qnと同じですが、最後に"Completed"ダイアログが表示されます
* /qb+ - /qbと同じですが、最後に"Completed"ダイアログが表示されます
</div>

==== ターゲットディレクトリ ====
TARGETDIRプロパティによってFreeCADインストール先のルートディレクトリを設定できます。例えば以下のようにすると異なるインストールドライブを指定できます。

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

デフォルトのTARGETDIRは[WindowsVolume\Programm Files\]FreeCAD<version>です。

==== 全てのユーザーにインストール ====

Adding

{{Code|code=
ALLUSERS=1
}}



を追加すると全てのユーザーにインストールを行います。非対話的なインストールはデフォルトではカレントユーザーにのみパッケージをインストールします。また対話的なインストールはユーザーが必要な権限を持っている場合にデフォルトが"all users"のダイアログを表示します。

==== 機能の選択 ====
複数のプロパティを使用してインストールされる機能、再インストールされる機能、削除される機能を選択することができます。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 - ソフトウェア一式とコアライブラリーをインストールします
* Documentation - ドキュメントをインストールします
* Source code - ソースコードをインストールします
* ... ToDo

さらにALLで全ての機能を指定できます。全ての機能はDefaultFeatureに依存するのでどれか一つでも機能を自動でインストールするとはDefaultFeatureでインストールされる機能もインストールされます。以下のプロパティを使うとインストールされる機能、削除される機能をコントロールできます。

* ADDLOCAL - ローカルマシン上にインストールされる機能のリスト
* REMOVE - 削除する機能のリスト
* ADDDEFAULT - デフォルト設定に追加される機能のリスト(FreeCADの全機能の一部)
* REINSTALL - 再インストール/修復される機能のリスト
* ADVERTISE - アド表示インストールが行われる機能のリスト

さらにいくつかのプロパティが利用可能です。詳細についてはMSDNのドキュメントを見てください。

これらのオプションに加えて

{{Code|code=
ADDLOCAL=Extensions
}}


Using the [https://chocolatey.org/install Chocolatey] package manager is currently not recommended as that repository is no longer kept up-to-date.
を追加した場合、インタープリター自体のインストールと拡張子の登録が行われ、他には何もインストールされません。


<span id="Uninstallation"></span>
=== アンインストール ===
=== アンインストール ===


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=
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.
とするとFreeCADをアンインストールできます。パッケージまたはプロダクトコードを代わりに指定すればアンインストール用のMSIファイルは必要ありません。プロダクトコードはFreeCADがスタートメニューにインストールするアンインストール用ショートカットのプロパティで確認できます。

=== 管理者用インストール ===

With

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

とすると"管理者用"(ネットワーク)インストールを開始できます。ファイルがターゲットディレクトリ(ネットワークディレクトリである必要があります)に展開されますがローカルマシンに対してはそれ以外の変更は行われません。また別の(小さな)msiファイルがターゲットディレクトリに生成され、クライアントはそれを使ってローカルへのインストールを行うことができます(将来的なバージョンではいくつかの機能を完全にネットワークドライブ上に置くことができるようになる予定です)。

今のところ、管理者用インストールにはユーザーインターフェイスが無いのでターゲットディレクトリはコマンドラインで渡す必要があります。

管理者用インストールには特にアンインストール手順はありません - クライアントが使用しなくなった場合はターゲットディレクトリを削除するだけで問題ありません。

=== アドバタイズのインストール ===

With

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



とするとFreeCADをマシンに"アドバタイズ"することができます(/juでユーザーにアドバタイズできます)。これを行うと実際にソフトウェアをインストールすることなくスタートメニューにアイコンを表示し、拡張子を登録することができます。機能の実際のインストールはその機能を初めて使用する時になって行われます。

FreeCADインストーラーでは今のところスタートメニューでのアドバタイズのみサポートし、ショートカットでのアドバタイズはサポートしていません。

=== マシングループへの自動インストール ===
Windowsグループポリシーを使うとマシングループに自動でFreeCADをインストールすることが可能です。実行には以下のステップを行なってください。
#ドメインのコントローラーにログオンします
#全てのターゲットマシンからアクセスできる共有フォルダにMSIファイルをコピーします
#MMCスナップインの"Active Directory ユーザーとコンピュータ"をを開きます
#FreeCADをインストールするコンピューターグループに移動します
#プロパティを開きます
#グループポリシーを開きます
#新しいポリシーを追加し、編集します
#コンピュータの構成/ソフトウェアインストールで新規作成/パッケージを選択します
#ネットワークパスからMSIファイルを選択します
#オプションでコンピューターがポリシーの範囲を外れた場合にFreeCADがアンインストールされるようにすることができます

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.

グループポリシーが伝達されるまでには普通、多少の時間がかかります - 確実にパッケージを配置するには全てのマシンを再起動する必要があります。

=== CrossoverOfficeを使用したLinuxへのインストール ===

''CXOffice 5.0.1''を使うとWindows版のFreeCADをLinuxシステム上にインストールできます。CXOfficeのコマンドラインから''msiexec''を実行してください。インストールパッケージはドライブレター"Y:"にマップされた"software"ディレクトリに配置されます:

msiexec /i Y:\\software\\FreeCAD<version>.msi

FreeCADは実行されますがOpenGL表示が動作しないことが報告されています。これはGoogle [[wikipedia:SketchUp|SketchUp]]など[[wikipedia:Wine (software)|Wine]]上で動作するプログラム全般に言えることです。

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

もし64ビット版や不安定開発版をダウンロードしたければダウンロードページを見てください。

.msi (Microsoftインストーラー)ファイルをダウンロードし、それをダブルクリックするだけでインストール処理が開始します。

以下には技術的なオプションのより詳しい情報が記載されています。よくわからなくても心配は無用です!ほとんどのWindowsユーザーはインストール用.msiで行うこと以上のことは必要ありません。 さあ始めましょう

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.

アンインストール

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/ja
Install on Unix/ja