Important Notice: On February 29th, this community will be put into read-only mode. All existing posts will remain but customers will be unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

PDQDeploy.exe and Auto Deployments

I seem to not be able to deploy Auto Deploy packages with the command line utility. Doesn't matter what I do.....it hates me.

 

Take Gimp as an example.

 

It shows up in the Auto Deployment List as GIMP, it has a name of GIMP 2.8.18 in the Packages table from the database. 

 

pdqdeploy.exe Deploy -Package GIMP -Targets <target>

Package not found: GIMP

 

pdqdeploy.exe Deploy -Package "GIMP 2.8.18" -Targets <target>

Package not found: GIMP 2.8.18
0

Comments

5 comments
Date Votes
  • Were you able to find an answer to this? I am able to replicate your results. 

    0
  • you have to specify the path of the package as you can have a package with the same name in multiple locations. So, if you use a command like:

    PDQDeploy.exe Deploy -Package "Packages\Adobe Flash" -Targets "PC001"

    Then it will work.

    0
  • Yes, that works for normal packages, but not Auto Deployment packages. They are missing FolderId and their Path is abnormal.

    sqlite> .schema Packages
    CREATE TABLE "Packages" ("PackageId" integer not null primary key autoincrement, FolderId, Name, Path, Description, Version, PackageDefinitionId, Created, Modified, SharedDatabaseId, CanShare, LibraryPackageVersionId, IsAutoDeploy);

    2|1|7-Zip 16.04|Packages\7-Zip 16.04
    9||GIMP 2.8.18|GIMP 2.8.18
    0
  • I opened an internal ticket for this.

    0
  • In our environment I have have created a deployment called like this:

    Self-Service_GIMP

    This deployment has one step linking to the auto-downloaded GIMP package. Whenever the GIMP (nice Pulp Fiction reference btw) gets updated, the Self-Service_GIMP deployment gets updated also, therefor it is always the latest version!

    The command: "C:\Admin Arsenal\PDQ Deploy\PDQDeploy.exe" Deploy -Package "Self-Service_GIMP" -Targets

    Make sure you have enough licenses; If you only have one license and an PDQ Deploy Console windows open, this might cause a violation.

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post