diff --git a/scripts/Common/Scripts/SoftwareManagement.ps1 b/scripts/Common/Scripts/SoftwareManagement.ps1 index 1250fefb..7c631394 100644 --- a/scripts/Common/Scripts/SoftwareManagement.ps1 +++ b/scripts/Common/Scripts/SoftwareManagement.ps1 @@ -1,6 +1,6 @@ -. "$PSScriptRoot/Context.ps1"; - -function Install-SoftwarePackage([Context] $context, [string] $location, [string[]] $argumentList = @("/S"), [switch]$local) { +function Install-SoftwarePackage($context, [string] $location, [string[]] $argumentList = @("/S"), [switch]$local) { + . "$PSScriptRoot/Context.ps1"; + [Context]$context = $context; [string]$filePath = ""; [string]$tempDir = $null;