前提
以下の手順は下記を前提に記載されている
- OS:Windows 11
- インストール対象:ESP-IDF v4.4.2
この前提に合っていなくても、OSもESP-IDFも、バージョンが近ければ近い作業になると思う
ダウンロード
https://dl.espressif.com/dl/esp-idf/
ボタン[ESP-IDF v4.4.2 – Offline Installer]を押してダウンロード
インストール
windowsアイコンで右クリックし、ファイルを指定して実行を選択、regedit を実行
“\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem”へ移動する
![](https://soul.blue/ele/wp-content/uploads/2022/08/ins_003.jpg)
LongPathsEnabledをダブルクリック
![](https://soul.blue/ele/wp-content/uploads/2022/08/ins_004.jpg)
1 に変更し、ボタン[OK]を押下
ダウンロードした esp-idf-tools-setup-offline-4.4.2.exe を実行
![](https://soul.blue/ele/wp-content/uploads/2022/08/ins_001.jpg)
ボタン[OK]を押下する
![](https://soul.blue/ele/wp-content/uploads/2022/08/ins_002.jpg)
“I accept the agreement”を選択
ボタン[Next]を押下する
![](https://soul.blue/ele/wp-content/uploads/2022/08/ins_005.jpg)
もし、「* Checking “Long Paths Enabled” in Windows registry [WARN]」が出力されたら、最初のregeditの作業が失敗している。再度実行し、ボタン[Apply Fixes]を押下する。
ボタン[Next]を押下する。
![](https://soul.blue/ele/wp-content/uploads/2022/08/ins_006.jpg)
ボタン[Next]を押下する
![](https://soul.blue/ele/wp-content/uploads/2022/08/ins_007.jpg)
ボタン[Next]を押下する
![](https://soul.blue/ele/wp-content/uploads/2022/08/ins_008.jpg)
ボタン[Install]を押下する
![](https://soul.blue/ele/wp-content/uploads/2022/08/ins_009.jpg)
しばらく、待つ
システムの変更確認ダイアログについては「はい」を押下
![](https://soul.blue/ele/wp-content/uploads/2022/08/ins_010.jpg)
ボタン[インストール]を押下する
![](https://soul.blue/ele/wp-content/uploads/2022/08/ins_011.jpg)
ボタン[Finish]を押下する
チェックボックスを変更していないため、2つ画面が表示される
![](https://soul.blue/ele/wp-content/uploads/2022/08/ins_012-1024x535.jpg)
![](https://soul.blue/ele/wp-content/uploads/2022/08/ins_013-1024x535.jpg)
以上