diff --git a/setupApps.ps1 b/setupApps.ps1 index e7409e3..27324a9 100644 --- a/setupApps.ps1 +++ b/setupApps.ps1 @@ -68,9 +68,9 @@ function InstallZip { [string] $exe, [string] $app, [bool] $createSubfolder = $false - [string] $skipIf + [string] $skipIf = $false ) - if (-not (Test-Path -Path $skipIf -PathType Container)) { + if (-not (Test-Path -Path $skipIf -PathType Container) -and $skipIf -ne $false) { $zipName = [System.IO.Path]::GetFileNameWithoutExtension($zip) Write-Host "Installing $zipName..." $targetPath = $env:ProgramFiles