When using the script on a citrix server, we recieve the error below.
The line 155 points to the logfile(location) but using the parameter -DisableLogging doesn’t fix it.
Anyone got an idea?
PS C:\package\Visual Studio Code\Package> .\Deploy-Application.ps1 -DeploymentType "Install" -DeployMode "Interactive"
C:\package\Visual Studio Code\Package\Deploy-Application.ps1 : Module [C:\package\Visual Studio Code\Package\AppDeployToolkit\AppDeployToolkitMain.ps1] failed to load:
Cannot convert value "" to type "System.Boolean". Boolean parameters accept only Boolean values and numbers, such as $True, $False, 1 or 0.
At C:\package\Visual Studio Code\Package\Deploy-Application.ps1:155 char:13
+ . $moduleAppDeployToolkitMain
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At line:1 char:1
+ .\Deploy-Application.ps1 -DeploymentType "Install" -Deploymode "Inter ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Deploy-Application.ps1