Windows script changes.

master
Dominik Deak 2 years ago
parent a1c7ee759d
commit 6f63520ccc
  1. 3
      Scripts/Install/InstallWindows.ps1
  2. 2
      Scripts/Install/PackageListChoco.config

@ -9,7 +9,7 @@ $installBlock =
iex ( ( New-Object System.Net.WebClient ).DownloadString( 'https://chocolatey.org/install.ps1' ) ) iex ( ( New-Object System.Net.WebClient ).DownloadString( 'https://chocolatey.org/install.ps1' ) )
$packageListChocoPath = Join-Path -Path $installToolsPath -ChildPath "PackageListChoco.config" $packageListChocoPath = Join-Path -Path $installToolsPath -ChildPath "PackageListChoco.config"
choco install "$packageListChocoPath" choco install --force "$packageListChocoPath"
refreshenv refreshenv
$packageListPythonPath = Join-Path -Path $installToolsPath -ChildPath "PackageListPython.txt" $packageListPythonPath = Join-Path -Path $installToolsPath -ChildPath "PackageListPython.txt"
@ -32,6 +32,7 @@ $upgradeBlock =
refreshenv refreshenv
$packageListPythonPath = Join-Path -Path $installToolsPath -ChildPath "PackageListPython.txt" $packageListPythonPath = Join-Path -Path $installToolsPath -ChildPath "PackageListPython.txt"
python.exe -m pip install --upgrade pip
pip3 install -r "$packageListPythonPath" --upgrade pip3 install -r "$packageListPythonPath" --upgrade
refreshenv refreshenv

@ -3,6 +3,6 @@
<package id="git" /> <package id="git" />
<package id="python3" /> <package id="python3" />
<package id="openssl" /> <package id="openssl" />
<package id="cmake" installArguments="ADD_CMAKE_TO_PATH=System" /> <package id="cmake.install" installArguments="ADD_CMAKE_TO_PATH=User" />
</packages> </packages>

Loading…
Cancel
Save