Getting this error on a simple script. Downloaded toolkit 3.8.6
Downloaded http://www.7-zip.org/a/7z1514-x64.msi put it in “Files”
Added this line to script under ## <Perform Installation tasks here>
Execute-MSI -Action ‘Install’ -Path “$dirfiles\7z1514-x64.msi”
running the script i get this error.
Error Record
Message: Cannot bind argument to parameter ‘LiteralPath’ because it is an empty string.
InnerException:'FullyQualifiedErrorId:
ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.TestPathCommand
ScriptStackTrace: at Execute-MSI<Process>, X:\PackageDev\test\DistributionFiles\AppDeployToolkit\AppDeployToolkitMain.ps1: Line 2191
at <ScriptBlock>,X:\PackageDev\test\DistributionFiles\Deploy.-Application.ps1: lone 131
line 131 is this:
Execute-MSI -Action ‘Install’ -Path “$dirfiles\7z1514-x64.msi”