mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
16 lines
515 B
PowerShell
16 lines
515 B
PowerShell
param (
|
|
[string]$Installer="C:\Output\esp-idf-tools-setup-unsigned.exe",
|
|
[string]$IdfPath = "C:\Users\ContainerAdministrator\Desktop\esp-idf",
|
|
[string]$IdfVersion = "v4.1"
|
|
)
|
|
|
|
$Installer
|
|
$IdfPath
|
|
$IdfVersion
|
|
|
|
mkdir C:\Temp
|
|
C:\Output\esp-idf-tools-setup-unsigned.exe /VERYSILENT /LOG=C:\Temp\install.txt /SUPPRESSMSGBOXES /SP- /NOCANCEL /NORESTART /IDFVERSION=${IdfVersion}
|
|
$InstallerProcess = Get-Process esp-idf-tools-setup-unsigned
|
|
Wait-Process -Id $InstallerProcess.id
|
|
Get-Content C:\Temp\install.txt
|