Installing on Windows/ja: Difference between revisions

From FreeCAD Documentation
(Created page with "を追加した場合、インタープリター自体のインストールと拡張子の登録が行われ、他には何もインストールされません。")
(Updating to match new version of source page)
 
(33 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>.

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


To install FreeCAD silently, you can execute the installer from the command line:
ALLUSERS=1


{{Code|lang=text|code=
を追加すると全てのユーザーにインストールを行います。非対話的なインストールはデフォルトではカレントユーザーにのみパッケージをインストールします。また対話的なインストールはユーザーが必要な権限を持っている場合にデフォルトが"all users"のダイアログを表示します。
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 - ソフトウェア一式とコアライブラリーをインストールします
* Documentation - ドキュメントをインストールします
* Source code - ソースコードをインストールします
* ... ToDo

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

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

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

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

ADDLOCAL=Extensions
{{Code|code=
ADDLOCAL=Extensions
}}
}}
を追加した場合、インタープリター自体のインストールと拡張子の登録が行われ、他には何もインストールされません。


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


Note that this {{Incode|/NCRC}} flag is '''not recommended''' since the corruption check assures that the installer was e.g. completely downloaded.
今のところ、管理者用インストールにはユーザーインターフェイスが無いのでターゲットディレクトリはコマンドラインで渡す必要があります。


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


Using the [https://chocolatey.org/install Chocolatey] package manager is currently not recommended as that repository is no longer kept up-to-date.
=== アドバタイズのインストール ===
{{Code|code=
msiexec /jm FreeCAD<version>.msi
}}


<span id="Uninstallation"></span>
msiexec /jm FreeCAD<version>.msi
=== アンインストール ===

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

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

=== マシングループへの自動インストール ===
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