diff --git a/docs/en/get-started/windows-setup.rst b/docs/en/get-started/windows-setup.rst index 5a908473a7..2819a50d05 100644 --- a/docs/en/get-started/windows-setup.rst +++ b/docs/en/get-started/windows-setup.rst @@ -24,7 +24,7 @@ ESP-IDF Tools Installer The easiest way to install ESP-IDF's prerequisites is to download the ESP-IDF Tools installer from this URL: -https://dl.espressif.com/dl/esp-idf-tools-setup-2.1.exe +https://dl.espressif.com/dl/esp-idf-tools-setup-2.2.exe The installer includes the cross-compilers, OpenOCD, cmake_ and Ninja_ build tool. The installer can also download and run installers for Python_ 3.7 and `Git For Windows`_ if they are not already installed on the computer. diff --git a/docs/zh_CN/get-started/windows-setup.rst b/docs/zh_CN/get-started/windows-setup.rst index a4297e4e41..523956d015 100644 --- a/docs/zh_CN/get-started/windows-setup.rst +++ b/docs/zh_CN/get-started/windows-setup.rst @@ -24,7 +24,7 @@ ESP-IDF 工具安装器 要安装 ESP-IDF 必备工具,最简易的方式是下载 ESP-IDF 工具安装器,地址如下: -https://dl.espressif.com/dl/esp-idf-tools-setup-2.0.exe +https://dl.espressif.com/dl/esp-idf-tools-setup-2.2.exe 本安装器可为您安装所需的交叉编译器、OpenOCD、cmake_ 和 Ninja_ 编译工具,以及一款 mconf-idf_ 配置工具。此外,本安装器还可在有需要时下载、运行 Python_ 3.7 和 `Git For Windows` 的安装器。 diff --git a/tools/windows/tool_setup/idf_tool_setup.iss b/tools/windows/tool_setup/idf_tool_setup.iss index 95f82c9355..8b01689c5b 100644 --- a/tools/windows/tool_setup/idf_tool_setup.iss +++ b/tools/windows/tool_setup/idf_tool_setup.iss @@ -5,7 +5,7 @@ #include #define MyAppName "ESP-IDF Tools" -#define MyAppVersion "2.1" +#define MyAppVersion "2.2" #define MyAppPublisher "Espressif Systems (Shanghai) Co. Ltd." #define MyAppURL "https://github.com/espressif/esp-idf" @@ -73,7 +73,7 @@ Type: filesandordirs; Name: "{app}\dist" Type: filesandordirs; Name: "{app}\releases" Type: filesandordirs; Name: "{app}\tools" Type: filesandordirs; Name: "{app}\python_env" -Type: files; Name: "{autostartmenu}\Programs\ESP-IDF\{#IDFCmdExeShortcutFile}" +Type: files; Name: "{group}\{#IDFCmdExeShortcutFile}" Type: files; Name: "{autodesktop}\{#IDFCmdExeShortcutFile}" [Tasks] @@ -84,7 +84,7 @@ Name: wdexcl; Description: "Register the ESP-IDF Tools executables as Windows De [Run] Filename: "{app}\dist\{#PythonInstallerName}"; Parameters: "/passive PrependPath=1 InstallLauncherAllUsers=0 Include_dev=0 Include_tcltk=0 Include_launcher=0 Include_test=0 Include_doc=0"; Description: "Installing Python"; Check: PythonInstallRequired Filename: "{app}\dist\{#GitInstallerName}"; Parameters: "/silent /tasks="""" /norestart"; Description: "Installing Git"; Check: GitInstallRequired -Filename: "{autostartmenu}\Programs\ESP-IDF\{#IDFCmdExeShortcutFile}"; Flags: postinstall shellexec; Description: "Run ESP-IDF Command Prompt (cmd.exe)"; Check: InstallationSuccessful +Filename: "{group}\{#IDFCmdExeShortcutFile}"; Flags: postinstall shellexec; Description: "Run ESP-IDF Command Prompt (cmd.exe)"; Check: InstallationSuccessful [UninstallRun] Filename: "powershell.exe"; \ diff --git a/tools/windows/tool_setup/tools_WD_clean.ps1 b/tools/windows/tool_setup/tools_WD_clean.ps1 index 74f60c49cd..620bff35cf 100644 --- a/tools/windows/tool_setup/tools_WD_clean.ps1 +++ b/tools/windows/tool_setup/tools_WD_clean.ps1 @@ -35,11 +35,6 @@ $retVal = 1 Try { - #check the Defender module availability - if (!(Get-Module "Defender")) { - Write-Output "Windows Defender module not available, aborting" - [Environment]::Exit(0) - } Import-Module Defender @@ -59,7 +54,6 @@ Try if( [string]::IsNullOrEmpty($logFile) ) { $tempFileName = Get-Date -UFormat "%Y%m%d%H%M%s" $lf = Join-Path -Path $env:TEMP -ChildPath "WDEspLog$tempFileName.log" - #Write-Output "Logfile: $lf" } $newProcess = new-object System.Diagnostics.ProcessStartInfo "PowerShell" @@ -77,7 +71,6 @@ Try Remove-Item $lf } - #Write-Output "Process finished with code " $proc.ExitCode exit $proc.ExitCode } diff --git a/tools/windows/tool_setup/tools_WD_excl.ps1 b/tools/windows/tool_setup/tools_WD_excl.ps1 index 09c8313272..b7d32c7098 100644 --- a/tools/windows/tool_setup/tools_WD_excl.ps1 +++ b/tools/windows/tool_setup/tools_WD_excl.ps1 @@ -88,13 +88,6 @@ Try } } - #check the Defender module availability - $wdModuleDir = Join-Path -Path $env:SystemRoot -ChildPath "System32\WindowsPowerShell\v1.0\Modules\Defender" - if( -not (Test-Path -Path $wdModuleDir) ) { - Write-Output "Windows Defender module not found, aborting" - [Environment]::Exit($retVal) - } - Import-Module Defender #self-elevation support @@ -119,7 +112,6 @@ Try if( $bOwnLogFile ) { $tempFileName = Get-Date -UFormat "%Y%m%d%H%M%s" $lf = Join-Path -Path $env:TEMP -ChildPath "WDEspLog$tempFileName.log" - Write-Output "Logfile: $lf" } else { $lf = $logFile } @@ -164,37 +156,24 @@ Try #ADD exclusion paths if( $bAddPath ) { - #foreach ($wdPath in $AddExclPath) { - # $pathsToExclude.Add( $wdPath ) - #} $pathsToExclude.Add( $AddExclPath ) } #ADD exclusion files if( $bAddFile ) { - #foreach ($wdFile in $AddExclFile) { - # $filesToExclude.Add( $wdFile ) - #} $filesToExclude.Add( $AddExclFile ) } #REMOVE exclusion paths if( $bRmPath ) { - #foreach ($wdPath in $RmExclPath) { - # $pathsToInclude.Add( $wdPath ) - #} $pathsToInclude.Add( $RmExclPath ) } #ADD exclusion file if( $bAddFile ) { - #foreach ($wdFile in $RmExclFile) { - # $filesToRemove.Add( $wdFile ) - #} $filesToRemove.Add( $RmExclFile ) } } - #default: throw exception else { throw (New-Object -TypeName System.ArgumentException -ArgumentList "Mandatory parameter(s) missing") }