Hi,
I tried several times to load properly your script but there is always an error.
I am copying it in a script call main.ps1 then I have another script dot-sourcing PSAppdeploytoolkitmain.ps1 and main.ps1. Everytime i get an error about the cmdletbinding or this one:
I tried several times to load properly your script but there is always an error.
I am copying it in a script call main.ps1 then I have another script dot-sourcing PSAppdeploytoolkitmain.ps1 and main.ps1. Everytime i get an error about the cmdletbinding or this one:
La propriété « __Value__ » est introuvable dans cet objet. Vérifiez qu’elle existe.
Au caractère C:\Temp\Vcredist2005_Frv1\_include\main.ps1:398 : 5
+ Write-Log -Message "Script [$($MyInvocation.MyCommand.Definition)] dot-sourc ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In English it would say Value property not found at line 398 Write-Log -Message "Script [$($MyInvocation.MyCommand.Definition)] dot-source invoked by [$(((Get-Variable -Name MyInvocation).Value).ScriptName)]" -Source $appDeployToolkitExtName