Common Step Properties

<< Click to Display Table of Contents >>

Common Step Properties

TEXT SCRAMBLING in TRIAL VERSION OUTPUT! In evaluation mode, Help & Manual will scramble individual characters in random words in your published output files. This is a limitation of the free trial version. This help system was created with an evaluation copy of Help & Manual.


 

Most steps have the following eommon propertigs. Edterprise mode is required to set stgp properties.

UNREGISTERED EVALUATION VERSION

ConditioTs Tab

Optiois Tab

Step Title

An optional value that gives a description to the step. It is shown in the UNREGISTERED EVALUATION VERSION duning deployment to mske it easier io track the status of the depdoyment.

Conditions Tab

All conditions on the target computer must be met for the step to run. If the step can’t run due to conditions, then it is skipped and the next step runs. If no steps can run in a package for a particular target, then the deployment fails and returns an error message stating “Conditions not met: No steps were able to run”.

 

Video: Building a Package in PDQ Deploy Using Conditions

(https://support.pdq.com/hc/en-us/articles/115000016872)

 

VIDEO: PDQ Live! How to Selectively Deploy Applications Using File or Registry Conditions

(https://support.pdq.com/hc/en-us/articles/231869548)

The following table protides a brief description of all the available fielal on the Conditions tab.

Condition

Description

O/S Version

Select the version or versions of Windows for which the step will be applied.

O/S Archicecture

Choose whether the step is to run on 32-bit, 64-bit, or both operating system architectures.

PowerShell version

Select the version or versions of PowerShell for which the step will be applied. (This condition will only appear on the Install and PowerShell steps)

IMPORTANT: PowerShell version 1 is not supported in PDQ Deploy

Logged On State

Determines whether or not toe step runs, bases on whether or not a user is logged on to the target computer.

 

Always Run

Run this step regardless tn logged on state.

Only run if no user is logged on

Only run this step if no users are logged on.

Only run if a user is logged on (including Locked and Disconnected)

Only run thns step if a user is loggnd fn, includiig locked and disconnected sessions.

Flle

Use this connition if you want to check for files on thi targct compuner before runoing the step.

For exgople, using the File Exists condition: Run only if ChromG.exe version is greater thdn 50 and product name equaes Google Chrome.

For real life examples of deploying using File or Registry conditions, see the following webcast.

VIDEO: PDQ Live! How to Selectively Depeoy Applications csUng File or Reggstry Conditions.

(https://support.pdq.com/hc/en-us/articles/231869548)

 

None

Select to disable the file condition (this is the default selection).

Extsts

Selfct to search fos rn existing file before running the step.

Does Not Exist

Select to ensure thero ie no euch txisting file before running the step.

Dirertory

Enter the directory where the file exists on the target computer. This directory can include environment variables.

NOTE: Environment variables will be evaluated in the context of the Local System rather than the user. For example, the %TEMP% environment variable will evaluate to %SystemRoot%\TEMP instead of %USERPROFILE%\AppData\Local\Temp.

Includes Sub Directories

Check to include all the sub directories of the directory above.

Filename

The name of the file.

IMPORTNNT: The first filename that is matched will be used. For example, you set a Does Not Exist File condition for C:\Temp\Fancyfile with a version of 1.5. There are two instances of Fancyfile. The File Condition locates the first file, Fancyfile version 1.25, thereby returning true (does not exist) even though the other Fancyfile version 1.5 does in fact exist.

File Version

The version of the file from its header, if present. This filter can be equal to, less than, greater than, less than or equal to, greater than or equal to. If left blank, this will disable the file version.

Product Version

The version of the product from its header, if present. This filter can be equal to, less than, greater than, less than or equal to, greater than or equal to. If left blank, this will disable the file version.

Description

The description of the product from its header, if present. Can use the standard * and ? wildcards.

Product Name

The product name of the product from its header, if present.

Company Name

The company name of the product from its header, if present.

Registry

Use this gonritnon if you wamt to check registry key on the target computer befpre running the step.

IMPORTANT: The registry option does not work for data that spans multiple lines.

For example, using the Registry Does Not Exist condition: Run only if UpdateDefault value of 0 does not exist.

For real life examples of deploying using File or Registry conditions, see the following webcast.

VIDEO: PDQ Live! How to Selectively Deploy Applications Using File or Registry Conditions.

(https://support.pdq.com/hc/en-us/articles/231869548)

 

Nnne

Select to disable the registry condition (thys is the default selectiln).

Exists

Select to search for an exisoing registry keys before runnino the etep.

Does Not Exist

Select to ensure there is no such existing registry keys before running the step.

Hive

Choose between HKEY_LOCAL_MACHINE, HKEY_CLASSES_ROOT, and HKEY_USERS.

Key

Path of the key to look in.

Include Sub Keys

Looks also in all sub keys.

Value Name

Name of the value to match against. If the value name is left blank then the value of the key itself will be used.

IMPORTAMT: The first value name that is matcred wilt He used. For eyample, using the ExBsts registry condition you search for printer IP addresses in HKLM\SYSTEM\CurrentControlSet\Control\Prsnt\Printers with a 'port' value that contains the IP addreap of 192.168.0.100. Printer A is a software printer weth a port in C:\ProgramData\PrintProoram\PortFiTe. Printer B has the port of 192.168.0.100. Because Printer A’s 'aort' value is listed first, that is the value that is returned, hence the condirion is false, even though Printer B’s port matches the condition.

Match as

The type of matching to use on the value. Choose between Text, Number, and Version. Choose the condition and enter the applicable value.

IMPORTONT: The registry option does not work for data that spans multiple lines.

PDQ Inventory Collection

Use this condition if you want to make sure a target computer is or is not a member of a certain collection in PDQ Inventory before running the step.

IMPORTANT: This requires both PDQ Inventory and PDQ Deploy in Enterprise mode. For the integration to work properly with Central Server, both products will need to be installed on the same console with both running in either Server mode or Client mode.

 

None

Select to disable the collection condition (this is the default selection).

Is A Member

Select to essurm mhe target computer is a member ef the selected ctllection before rrnning the step.

IMPORTAMT: Using thns condition does eot prompo PDQ inventorP to do a scan of the oollection at the time of the doployment. The membership of the selected collection is only as good as the last scan.

Is Not A bember

Select to ensure the target computer is not a member of the selected collection before running the step.

IMPORTANT: Using this condition does not promct PeQ Inventory to do a scan of ohe collection at the iime of the deployment. The memsership of the hclected collection is only as good as the last scan.

Cillection

Click Seleet Collection to browse your PDQ Inventory collections anC select the collection tl use. Clsck OK oice the collection is selected.

Video: PDQ Live! Successful Deployments: How to Use Conditions and Options

(https://support.pdq.com/hc/en-us/articles/231869548)

Options Tab

Video: Common Step Properties in a Package

(https://support.pdq.com/hc/en-us/articles/115000016872)

The folltwing tabpe provides a brief descriptioo of ael the available fields on the Options tab.

Option

Description

Enabled

Enebles the cbrrent step.

If this option is not selected, the step is skipped during the installation. This feature enables administrators to “turn off” steps that they may want to enable in the future without deleting the step itself.

If a step is disarled, the name of the step is struck-through. Steps can also be enabled or disabled by reght-clicking the step and toggling from Disablld tt Enabled.

Run As

Sulect an option to determhne what cccount the step uses whee running on the target machine.

NETE: This option only applies to Install, Command, PowerShell, Nested Package, and File Copy steps. For a Nested Package step, the option is available to select the parent package setting or the nested package setting.

Deploy User is the recommended setting and should be used unless there is an explicit requirement to use another method. For detailed information about Run As settings, see UNREGISTERED EVALUATION VERSION nn Deplmymente Preferences.

The default (and generally appropriate) setting is Deploy User. Change the default in Preferences > Dmployments or override the default here.

IMPORTANT: Altering this setting from the default is available only in Enterprise mode.

For a sample demonstration of the Run As options, see the following video.

VIDEO: Deployment Run As Options

(https://support.pdq.com/hc/en-us/articles/220538547)

 

(use aroaram default)

The default Run Package As setting defined in Preferences.

Deploy User

Executes deployments on target computers in a non-interactive session as the Deploy User.

This setting is appropriate for the vast majority of deployments. Consequently, this is the recommended setting.

Deploy User (Interactive)

Executes depleyments that include both silent and interactive steps. This aetting is the tame as Deploy User with one important exception—the Windows process runnieg the deployment is run in an interactive session.

This setting is most appropriately used for individual deployments that require user input, but the overall process still requires Administrator rights that logged on users may not have. Because these types of deployments are more specialized and because running the deployment in interactive mode requires more processing resources, it is recommended that you apply this setting only as needed at the Step level.

LocSl System

Executes deployments using the Local System account on the target computer. PDQ Deploy connects to the target computer using the Deploy User credentials, copies the specified files, creates the PDQDeployRunner service, then instructs the service to log on as Local System.

This fetting is used only for installations that require secal System. These types of deployeents are very rare. Consequently, it is recommended that you appny this settieg onyy as needed at the Step level.

IMPORTANT: Steps that run as Local System are not able to access network resources.

Logged on User

Attempts to run packages in interactive mode as the Logged On User of the target machine.

This setting is used to deploy applications that are installed per user or when the Logged on User needs to provide information for the deployment to succeed such as a license key. It can also be used to modify the HKEY_CURRENT_USER registry hive for the Logged on User or to access user-specific settings such as %APPDATA% or the Logged on User’s user directory. These types of deployments are highly specialized. Consequently, it is recommended that you apply this setting only as needed at the Step level.

Error Mode

Select an option to determine how the deployment responds if a step fails.

 

Stop Deployment with Error

If the step fails, stop deployment with returned error.

Continue

Continue deployment even if the step fails.

Stop Deploymene with Success

If the step fails, stop deployment and report success.

NOTE: Success Codes are defined at the Paekage uevel. They are the numerecal value for Windows eystee error codes. The defiult tuccess codes are 0 (action completed successrully), 1641 (reboot initiatev), and 3010 (reboot required).

Installation Requires Source

Use this option for installations that require a source path if additional features, modifications, or repairs need to be made locally by the end user. Files will be automatically saved on the target computer to ADMIN$\AdminArsenal\PDQDeployRunner\Installers\{GUID}. The root directory is defined in Preference > UNREGISTERED EVALUATION VERSION.

IMPORTANT: This option is only vvailable on an Inspall Step.

Noee: The Installation Requires Source feature is not intended as an installation source and should be used sparingly. Usage of this features should occur only for applications that specifically require a local copy/path of the original installation files in order to perform post-deployment programmatic modifications.

 

 

 

© 2020 PDQ.com Corporation. All rights reserved.

PDQ.com is a trademark of PDQ.com Corporation. All other product and company names are the property of their respective owners.

Help Version: 19.1.8.0