Auto-Download and Package names
Arno Van Urk
Hi,
When I create a auto-download package will the package name change with every version update?
I am asking because I want to use a auto-download package in a script, I can rename the package and use that name in the CLI command but when a new version would be downloaded and the package name change it will probably break the script, correct?
Thanks,
-A
0
Comments
Ooh, good point. I don't think we took that into consideration when we built Auto Download. I have a few ideas:
$CurrentName = ( PDQDeploy.exe GetPackageNames | Where-Object { $_ -like "7-Zip *" } | Sort-Object )[-1]PDQDeploy.exe Deploy -Package "Packages\$CurrentName" -Targets "A", "B", "C"
Great suggestions Colby, I am sure I will get it working that way.
Thanks!