Installing on Windows/ja: Difference between revisions

From FreeCAD Documentation
(Created page with "=== 管理者用インストール === msiexec /a FreeCAD<version>.msi")
(Updating to match new version of source page)
 
(48 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
Windows上でのFreeCADのインストールのもっとも簡単なやり方は下記のインストーラーをダウンロードすることです。<br>


{{Docnav
{{DownloadWindowsStable}}
|[[Feature_list|Feature list]]
|[[Installing_on_Linux|Installing on Linux]]
}}


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


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


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">
=== シンプルなMicrosoftインストーラーでのインストール ===
'''Windows上でのFreeCADのインストール'''のもっとも簡単なやり方は上記のインストーラーを使う方法です。このページでは追加のインストールオプションを使った''Microsoftインストーラー''の機能とその使い方を説明します。

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


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


<div class="mw-translate-fuzzy">
=== コマンドラインでのインストール ===
以下には技術的なオプションのより詳しい情報が記載されています。よくわからなくても心配は無用です!ほとんどのWindowsユーザーはインストール用.msiで行うこと以上のことは必要ありません。'''[[Getting started/jp | さあ始めましょう]]'''!
''msiexec.exe''コマンドラインユーティリティーを使用すると非対話的なインストールや管理者用インストールといった追加機能を使用することができます。
</div>


==== Non-interactive Installation ====
== Installation for all users of the Windows system ==
With the command line
msiexec /i FreeCAD<version>.msi
installation can be initiated programmatically. Additional parameters can be passed at the end of this command line, like
{{Code|code=
msiexec /i FreeCAD-2.5.msi TARGETDIR=r:\FreeCAD25
}}
==== 制限付きユーザーインターフェイス ====
/qオプションを使うことでインストーラーが表示するインターフェイスの量をコントロールできます。具体的には以下の通りです:


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:
* /qn - インターフェイス無し
: {{FileName|C:\Users\<username>\AppData\Local\Programs\FreeCAD X.YY}}
* /qb - 簡易インターフェイス - 小さなプログレスダイアログだけです
* /qb! - /qbと同じですがキャンセルボタンを非表示にします
* /qr - 省略インターフェイス - 全てのダイアログを表示しますがユーザー操作は必要とされません(モーダルダイアログは全てスキップされます)
* /qn+ - /qnと同じですが、最後に"Completed"ダイアログが表示されます
* /qb+ - /qbと同じですが、最後に"Completed"ダイアログが表示されます


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


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


== Silent Installation ==
デフォルトのTARGETDIRは[WindowsVolume\Programm Files\]FreeCAD<version>です。
{{Code|code=
TARGETDIR=R:\FreeCAD25
}}
The default TARGETDIR is [WindowsVolume\Programm Files\]FreeCAD<version>.

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

ALLUSERS=1

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

==== 機能の選択 ====
複数のプロパティを使用してインストールされる機能、再インストールされる機能、削除される機能を選択することができます。FreeCADでの機能のセットは以下の通りです。

* DefaultFeature - ソフトウェア一式とコアライブラリーをインストールします
* Documentation - ドキュメントをインストールします
* Source code - ソースコードをインストールします
* ... ToDo

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

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

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

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


To install FreeCAD silently, you can execute the installer from the command line:
ADDLOCAL=Extensions


{{Code|lang=text|code=
を追加した場合、インタープリター自体のインストールと拡張子の登録が行われ、他には何もインストールされません。
FreeCAD-~.exe /S
{{Code|code=
ALLUSERS=1
}}
}}
Default settings will be used for all options. A custom installation path can be specified in this manner:
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.


{{Code|lang=text|code=
==== Feature Selection ====
FreeCAD-~.exe /S /D=A path to FreeCAD with spaces
A number of properties allow selection of features to be installed, reinstalled, or removed. The set of features for the FreeCAD installer is

* DefaultFeature - install the software proper, plus the core libraries
* Documentation - install documentation
* Source code - install the sources
* ... ToDo

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

* ADDLOCAL - list of feature to be installed on the local machine
* REMOVE - list of features to be removed
* ADDDEFAULT - list of features added in their default configuration (which is local for all FreeCAD features)
* REINSTALL - list of features to be reinstalled/repaired
* ADVERTISE - list of feature for which to perform an advertise installation

There are a few additional properties available; see the MSDN documentation for details.

With these options, adding
{{Code|code=
ADDLOCAL=Extensions
}}
}}
installs the interpreter itself and registers the extensions, but does not install anything else.


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|code=
msiexec /x FreeCAD<version>.msi
}}
msiexec /x FreeCAD<version>.msi

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

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


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


Note that this {{Incode|/NCRC}} flag is '''not recommended''' since the corruption check assures that the installer was e.g. completely downloaded.
Currently, there is no user interface for administrative installations, so the target directory must be passed on the command line.


== Chocolatey ==
There is no specific uninstall procedure for an administrative install - just delete the target directory if no client uses it anymore.


Using the [https://chocolatey.org/install Chocolatey] package manager is currently not recommended as that repository is no longer kept up-to-date.
=== Advertisement ===
With
{{Code|code=
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.


<span id="Uninstallation"></span>
The FreeCAD installer currently supports just advertisement of start menu entries, but no advertisement of shortcuts.
=== アンインストール ===

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


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:
グループポリシーが伝達されるまでには普通、多少の時間がかかります - 確実にパッケージを配置するには全てのマシンを再起動する必要があります。
: {{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:
=== CrossoverOfficeを使用したLinuxへのインストール ===


{{Code|lang=text|code=
''CXOffice 5.0.1''を使うとWindows版のFreeCADをLinuxシステム上にインストールできます。CXOfficeのコマンドラインから''msiexec''を実行してください。インストールパッケージはドライブレター"Y:"にマップされた"software"ディレクトリに配置されます:
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.
msiexec /i Y:\\software\\FreeCAD<version>.msi


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


<div class="mw-translate-fuzzy">
{{docnav/jp|Feature list/jp|Install on Unix/jp}}
{{docnav/ja|Feature list/ja|Install on Unix/ja}}
</div>


{{Userdocnavi{{#translation:}}}}
[[Category:User Documentation/jp]]

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