Software distribution help

Using the Distribution package dialog box

The Distribution package dialog box (Tools > Distribution > Distribution package) stores information in the database that describes the package that you want to distribute. The data contains the settings necessary to install a specific software package, such as the package name, any dependencies or prerequisites, installation options, and so on. Once created, this information is called a "distribution package."

Before using this dialog box, put the package on your distribution server. You'll need to browse for the package and provide information on any package prerequisites or additional files. Once you've created a distribution package for your package, you can associate it with a delivery method (Tools > Distribution > Delivery methods) to deploy it to devices.

About the Package information page

Use this page to enter the package name and your package's primary file. If your package consists of a single file, add it here. If your package has multiple files, add the main file in your package, for example, the file that starts the install. You can add supporting additional files on the Additional files page.

To use the file browser, type a Web share or file path in the box next to the Go button. Clicking Go displays the destination in the Primary file box. You can continue navigating there. When browsing for the file, double-click the file you want to be the primary file. This adds the filename to the package path next to the Go button.

Using environment variables

Support for putting the environment variable directly into the package path isn't supported in Management Suite, though expansion will still work with previously created custom scripts. To support environment variables for the new SWD architecture, the "PreferredPackageServer" registry value should be set to the environment variable to be used. This environment variable will then be expanded to define the server from which the package should be retrieved.

About the Install/Uninstall options page

Use this page to specify the package type. You have several options depending on the package you're deploying. Not all package types have these options.

MSI install/uninstall options

MSI distribution packages have additional install/uninstall options when you select Use Windows Installer to install and control installation (MSIexec).

About the Additional files page

If your package consists of multiple files, you can add them on this page. To use the file browser, type a Web share or file path in the box next to the Go button. Clicking the Go button displays the destination in the Available files box. You can continue navigating there. Select files in the Available files box and click >> to add them to the Additional files list. This adds them to the package.

Using the Dependent packages page

Dependent packages are packages that must already be on the device in order for the package you're configuring to install. If they're not on the device, dependent packages are installed automatically. MSI and SWD packages are detected automatically through the appropriate registry keys on the device. For other package types, the package detection method depends on what you select on the detection page.

If you add an existing package with a dependency as a dependant package to the package you're creating, that existing dependency will also be added to the new package.

Understanding Linux software dependencies

When you click Save in a Linux package's Distribution package-properties dialog box, software distribution parses the primary RPM and any dependent RPMs you selected for dependencies those RPMs require. These dependencies then appear in the Missing libraries dialog box. Checking a dependency in this dialog box tells software distribution to not prompt you about it again. You can check dependencies you know are installed on managed devices. This dialog box is for your information only. If a dependency is missing on a target device and you didn't specifically include that dependency as a dependent package, the RPM probably won't install successfully.

Using the Prerequisites page

The prerequisites page allows you to specify prerequisites for package installation. You can do this through a query or through an additional file/program that runs on devices and returns an errorlevel code. A non-zero code prevents the package from installing.

Prerequisites run on devices in the target list. If a device on the target list fails a prerequisite, the package won't be installed on it. The failure details are in the distribution task's log.

Prerequisites are especially useful in organizations where one person creates packages and another person distributes them. The distributor might not be aware of package system requirements that the creator does know about. In cases like these, the package creator can create a query that includes package requirements like operating system or amount of memory.

For the additional file option, you can select a file that's in the package's additional files list. You can then specify a command line you want the file to run with.

Using the Detection page

Use the Detection page to configure how software distribution detects if a package is already deployed. The Detection page is only available for executable packages, batch file packages, and Virtualized Application packages. A match on one or more criteria prevents dependent packages from installing.

The following detection methods can be used:

Multiple criteria can be added by specifying the criteria and clicking the Add button.

The MSI and SWD packages deploy GUIDs with their installations. These are used to detect if a package is already installed. The detection option isn't available on these package types.

Using the Accounts page  

Use the Accounts page to select the type of user account to use to distribute the package.

Using the Uninstall Association page

Use the Uninstall association page to associate an uninstall package to a software deployment policy package. This will automatically uninstall the software from the client when the machine or user is removed from the target list or query. NOTE: Uninstall packages are only used with policy-based deployment.

Using the Assign return codes page

Use the Assign return codes page to configure distribution package status messages that appear in the console based on whether or not a distribution task was successful.

The Assign return codes page contains the following options:

Using the Return code template manager

Use the Return code template manager to add, modify, delete, import, and export return code templates. You can display this dialog box from the Distribution packages tool by clicking the Return code template manager toolbar button. The Return code template manager dialog box contains the following options:

Using the Package return code mappings dialog box

The Package return code mapping window contains the following options:

Using the SWD package options page

Use this page to set what happens when an SWD package is already installed on a device. If you have applications that aren't responding to a normal package heal, the full reinstall option might work better. Healing tends to take less time than a full reinstall.

When you create an SWD package, you can create it with or without a package installation interface that users see. If the package has an interface, you can choose whether the package installation status dialog box appears on top of the existing applications or whether there should be a solid blue installation background that masks the desktop while the package is installing.

Using the Delivery methods dialog box

The Delivery methods dialog box (Tools > Distribution > Delivery methods) defines how a package will be sent to devices. These options aren't associated with a specific distribution package. Options include Targeted Multicast and push or policy-based distributions. Don't create a delivery method every time you want to distribute a package. Ideally, create a template delivery method to reuse for distributions that use the same delivery method.

Before using this dialog box, create the distribution package (Tools > Distribution > Distribution packages) that you want to deliver.

About the Description page

Use this page to describe the delivery method you're creating and to set the number of devices you want to distribute to simultaneously.

About the Network usage page

Use this page to control how the package and package files are sent to managed devices. You have these options:

About the Bandwidth page (under the Network usage page)

Use this page to control the network bandwidth that the package requires for deployment. You don't have to select any of these options if you want all selected devices to receive the package regardless of their bandwidth.

Bandwidth control is important for devices that have a slow WAN or a dialup connection. You usually won't want to deploy a multi-megabyte package to devices on slow links. Choose from the following options:

If you're using PDS to detect network connection speed, high-speed and low-speed connections return the same information. For accurate detection of high-speed network connections, you need to use ICMP.

ICMP sends ICMP echo requests of varying sizes to the remote computer and uses the round trip time of these echo requests/responses to determine the approximate bandwidth. However, not all routers or computers support forwarding or responding to ICMP echo requests. ICMP also distinguishes between LAN (high speed) and WAN (slow, but not dialup) connections.

If your network isn't configured to allow ICMP echo requests, you can select PDS. If you're using PDS, the Only allow a high-speed network connection option won't give you accurate control.

About the Bandwidth usage page (under the Network usage page)

Use this page to configure bandwidth throttling and packet delays.

About the Multicast domains page (under the Network usage page)

This page appears only when you've selected Multicast as the distribution type. Use this page to configure multicast options.

About domain discovery

Domain discovery is only necessary on networks with subnets that can see each other's multicast traffic. If your subnets don't see each other's traffic, you can save time by first saving the results of a domain discovery and then selecting Use results of last multicast domain discovery so Targeted Multicast doesn't do a domain discovery before each job.

If your network subnets do see each other's multicast traffic, you can help Targeted Multicast work faster by pre-discovering your domains with the multicast_domain_discovery.ini script included in the ManagementSuite\Scripts folder. This script doesn't do anything on target devices. Run this script from the Scheduled tasks window against a target list that spans your network. This will save the domain discovery results for future use. You may want to run this script periodically before large sets of multicast distributions.

If you selected Use cached file in Configure > Services > Multicast, Targeted Multicast will go through a discovery process even if you selected Use results of last multicast domain discovery. Targeted Multicast needs to do this to find out which potential multicast domain representatives have the file in their cache.

About the Multicast limits page (under the Network usage page)

Use this page to configure job-specific Targeted Multicast parameters. The defaults in this dialog box should be fine for most multicasts.

About the Reboot page

Use this page to configure whether the computer is rebooted after the software has been installed or removed. You have three options:

About the Feedback and timing page

Use this page to help determine how much the user sees during the installation or removal of the software. You have these options:

About the More deferral options page (under the feedback and timing page)

Use this page to configure package deferral limits and timeout options. The options on this page are enabled by clicking User selects how long to delay on the Feedback and timing page.

About the custom message page (under the feedback and timing page)

Use this page if you want to configure a custom message for the deferral dialog box. This dialog box only appears if you allow deferrals. The HTML page source for the deferral pages is on the core server in the LDLogon\html\ folder.

About the Type and frequency of policy page

This page appears for policy-based delivery types and affects how target devices act when they receive the policy.

You can also configure how frequently a policy can run:

About the downgrade page

Use this page to configure the distribution behavior when either the target operating system or the target device agents don't support the delivery methods you've chosen. For example, if you have older Management Suite agents on devices, they may not support multicast or peer download.

OS downgrade options:

Device downgrade options:

About the discovery page

This page lets you choose options for device discovery. Before the scheduled task handler can process a job, it needs to discover each device's current IP address. This tab allows you to configure how the service contacts devices.

Discovery options:

About the Multicast software distribution status window

This window appears on the core when there's an active Targeted Multicast distribution happening. This window shows the following information:

This window closes automatically after 10 seconds. If you'd like the window to remain open during the entire distribution, click Keep dialog open and the window will stay open until you close it manually. Keeping the dialog box open will stop script execution, so make sure you close the dialog box when you're done.

Creating custom scripts

If you want to create a custom script from a generic template, you can use the Create custom script option.

To create a custom script
  1. Click Tools > Distribution > Manage scripts.
  2. In the All other scripts shortcut menu, click Create custom script.
  3. Enter a Custom script name. Click OK.
  4. Your default text editor opens with a document named after the Custom script name you entered. Enter the script you want and save the document in the default path (ldmain\scripts).

Creating file deployment scripts

If you just want to copy files to devices, you can use a file deployment script. You can transfer any type of file, including text files, to a directory you specify on the device. File deployment scripts support Targeted Multicast.

To distribute files
  1. Click Tools > Distribution > Manage scripts.
  2. Click the New file transfer script toolbar button.
  3. Enter a Script name and Destination directory. Click Next.
  4. On the next three pages, select the bandwidth, job, and multicast options you want.
  5. On the Select files to deploy page, select files by selecting a Web path or a File share path, entering the path, and adding the files you want to the list box. Click Next.
  6. Read the Finished page summary and click Finish.

The following sections describe the pages and options in the Create file deployment script wizard.

About the Download options page

Use this page to configure bandwidth throttling and packet delays.

About the Job options page

Use this page to configure how this distribution will be deployed. If you're distributing an MSI file or generic executable, you have the option to enter any command-line options that need to be passed to the file after the multicast.

About the Multicast domain options page

This page appears only when you've selected multicast as the distribution type. Use this page to configure multicast options.

About domain discovery

Domain discovery is only necessary on networks with subnets that can see each other's multicast traffic. If your subnets don't see each other's traffic, you can save time by first saving the results of a domain discovery and then selecting Use results of last multicast domain discovery so Targeted Multicast doesn't do a domain discovery before each job.

If your network subnets do see each other's multicast traffic, you can help Targeted Multicast work faster by pre-discovering your domains with the multicast_domain_discovery.ini script included in the ..\ManagementSuite\scripts folder. This script doesn't do anything on target computers. Run this script from the Scheduled tasks window against a target list that spans your network. This will save the domain discovery results for future use. You may want to run this script periodically before large sets of multicast distributions.

If you selected Use cached file in Configure > Management Suite Services > Multicast, Targeted Multicast will go through a discovery process even if you selected Use results of last multicast domain discovery. Targeted Multicast needs to do this to find out which potential multicast domain representatives have the file in their cache.

About the Multicast options dialog box

The file deployment script wizard has a Multicast options dialog box where you can configure job-specific Targeted Multicast parameters. The defaults in this dialog box should be fine for most multicasts.

About the Select files to deploy page

The Select files to deploy page appears in the file transfer script wizard.

About the Finished page

This page summarizes the actions you've selected for deploying the package. Before continuing, make sure your managed devices meet all the requirements listed in the warning section.

If you click Set as Default, the configuration options you've selected will be set as the default values for this wizard.

Click Finish and you can schedule the script for distribution.