From 7ef059b550bf65825e5486abdd18c0380d825152 Mon Sep 17 00:00:00 2001 From: Lightemerald Date: Mon, 13 Nov 2023 13:12:38 +0100 Subject: [PATCH] Fix --- setupApps.ps1 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setupApps.ps1 b/setupApps.ps1 index 255f96e..b78e487 100644 --- a/setupApps.ps1 +++ b/setupApps.ps1 @@ -55,10 +55,9 @@ function InstallZipMsi { ) $zipName = [System.IO.Path]::GetFileNameWithoutExtension($zip) Write-Host "Installing $zipName..." - $expPath = Join-Path $tmpPath - $msiFilePath = Join-Path $expPath $(Join-Path $zipName $msi) + $msiFilePath = Join-Path $tmpPath $(Join-Path $zipName $msi) Write-Host "SetupPath: $msiFilePath" - Expand-Archive -Path (Join-Path $tmpPath $zip) -DestinationPath $expPath -Force + Expand-Archive -Path (Join-Path $tmpPath $zip) -DestinationPath $tmpPath -Force InstallMsi -app $msiFilePath }