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

Auto Install Agent

Wondering if there a way to auto install the PDQ agent within PDQ Inventory or do we have to use Deploy?

If we have to use deploy, where can I find the agent install file?

Thanks!

0

Comments

8 comments
Date Votes
  • Official comment

    We are announcing the End of Life (EOL) of the optional PDQ Agent beta from our existing products. See this blog post for more information https://www.pdq.com/blog/pdq-agent-status-update/

  • There is currently no way to automatically trigger Agent installations in Inventory. You have to use Deploy.

    The Agent installer is located here: C:\Program Files (x86)\Admin Arsenal\PDQ Inventory\AgentInstaller.exe

    Here's a package you can import:

    <?xml version="1.0" encoding="utf-8"?>
    <AdminArsenal.Export Code="PDQDeploy" Name="PDQ Deploy" Version="16.1.0.0" MinimumVersion="15.0">
      <Package>
        <CurrentLibraryPackageVersionId value="null" />
        <PackageDefinition name="Definition">
          <Conditions type="list">
            <PackageStepCondition>
              <Architecture>Both</Architecture>
              <Version>All</Version>
              <TypeName>OperatingSystem</TypeName>
            </PackageStepCondition>
            <PackageStepCondition>
              <IsUserLoggedOn>AlwaysRun</IsUserLoggedOn>
              <TypeName>LoggedOnUser</TypeName>
            </PackageStepCondition>
            <PackageStepCondition>
              <ConditionMode>None</ConditionMode>
              <InventoryCollectionId value="null" />
              <InventoryCollectionName></InventoryCollectionName>
              <TypeName>Collection</TypeName>
            </PackageStepCondition>
          </Conditions>
          <CopyMode>Push</CopyMode>
          <DelayedApprovalTimeSpan>7.00:00:00</DelayedApprovalTimeSpan>
          <DownloadApprovalMode>Manual</DownloadApprovalMode>
          <InventoryScanProfileId value="1" />
          <IsDownloadApprovalModeInherited value="true" />
          <ScanAfterDeployment value="false" />
          <Steps type="list">
            <InstallStep>
              <CustomCommandLine></CustomCommandLine>
              <FileName>C:\Program Files (x86)\Admin Arsenal\PDQ Inventory\AgentInstaller.exe</FileName>
              <Files>C:\Program Files (x86)\Admin Arsenal\PDQ Inventory\AgentInstaller.Config.xml</Files>
              <IncludeDirectory value="false" />
              <LeaveInstallFile value="false" />
              <MsiOperation>Install</MsiOperation>
              <MsiQuiet value="true" />
              <MsiRestart>Never</MsiRestart>
              <Parameters>/S /Config AgentInstaller.Config.xml</Parameters>
              <SuccessCodes>0,1641,3010,2359302</SuccessCodes>
              <RunAs value="null" />
              <Conditions type="list">
                <PackageStepCondition>
                  <Architecture>Both</Architecture>
                  <Version>All</Version>
                  <TypeName>OperatingSystem</TypeName>
                </PackageStepCondition>
                <PackageStepCondition>
                  <IsUserLoggedOn>AlwaysRun</IsUserLoggedOn>
                  <TypeName>LoggedOnUser</TypeName>
                </PackageStepCondition>
                <PackageStepCondition>
                  <ConditionMode>None</ConditionMode>
                  <InventoryCollectionId value="null" />
                  <InventoryCollectionName></InventoryCollectionName>
                  <TypeName>Collection</TypeName>
                </PackageStepCondition>
              </Conditions>
              <ErrorMode>StopDeploymentFail</ErrorMode>
              <Title>Install PDQ Inventory Agent</Title>
              <TypeName>Install</TypeName>
              <IsEnabled value="true" />
              <IsPostStep value="false" />
              <IsPreStep value="false" />
            </InstallStep>
          </Steps>
          <Timeout value="60" />
          <UseCustomTimeout value="false" />
          <RunAs value="null" />
        </PackageDefinition>
        <Description></Description>
        <NewLibraryPackageVersionId value="null" />
        <OriginalId value="null" />
        <Version>1</Version>
        <IsAutoDownload value="false" />
        <FolderId value="null" />
        <LibraryPackageVersionId value="null" />
        <Name>PDQ Inventory Agent with Config</Name>
        <Path>PDQ Inventory Agent with Config</Path>
        <PackageDisplaySettings name="DisplaySettings">
          <DisplayType>Normal</DisplayType>
          <IconKey>Icon-Package</IconKey>
          <SortOrder value="21" />
        </PackageDisplaySettings>
      </Package>
    </AdminArsenal.Export>
    
    0
  • Thank you!

    0
  • Hello,

    Is this package suitable for linking to the built-in Inventory collections under

    PDQ Agent > PDQ Agent (Not Installed)

    PDQ Agent > PDQ Agent (Old)

    ie. will it install (or upgrade itself) to computers in these collections?

    Thanks in advance.

    0
  • Yes, you can link it to Not Installed. You don't need to link it to Old because Inventory automatically updates the Agent once it's installed.

    0
  • Is this still the recommended solution for deploying the agent using Deploy to new machines? Thanks!

    0
  • Yes, but there are extra details in this blog post: https://www.pdq.com/blog/installing-the-agent-with-pdq-deploy/

    0
  • Awesome, thank you!

    0