While creating a Windows software package, you can configure certain activities to take place before and after the installation of the software; these are known as Pre Deployment and Post Deployment Activities. You can use these activities to ensure that the software installation is smooth and that the computers in which the software is being installed have all the prerequisites.
Pre-deployment activities are configured to perform specific actions before the software is installed on the target computers or user accounts. These pre-deployment activities are configured while creating a Windows software package. For example, checking disk space on the target computer or verifying whether the software being deployed is already installed. Using the Pre-deployment activity feature you can configure the below Conditions and Configurations.
While deploying a software, you can set-up a conditional check before installing or uninstalling the software. Based on the result of the check, you can set the software to either proceed with installation/uninstallation or skip the installation/uninstallation. Follow the below conditions to be checked before installing or uninstalling a software.
Follow the below steps to check for the Registry Value before proceeding or skipping your software installation or uninstallation:
Follow the below steps to check for the Registry Key Value before proceeding or skipping your software installation or uninstallation:
Follow the below steps to check for the presence of the File or Folder required for the software installation or uninstallation in the target computers before proceeding or skipping your software installation or uninstallation:
Follow the below steps to check for the free disk space required before the software is installed on the target computers. Based on the free disk space check, you can either proceed or skip the software installation. Free Disk Space check is applicable only while creating an installation package.
Follow the below steps to check if the software that you are deploying to the target computer is already there. Based on the software check, you can either proceed or skip the software installation or uninstallation.
While deploying a software, you can apply certain Configurations before installing or uninstalling the software. Follow the below Configurations that can be applied before installing or uninstalling a software.
Follow the below steps to create or append the Path variable before installing or uninstalling the software.
To learn more about the Create/Append Path configuration, refer to this link.
Follow the below steps to configure the Custom Script configuration to run a script before the software installation or uninstallation based on your requirement.
To learn more about the Custom Script configuration, refer to this link.
Follow the below steps to create shortcuts before you are installing or uninstalling a software or set of software.
For Shortcut Creation
For Internet Shortcut Creation
For Shortcut/Internet Deletion
To learn more about creating Shortcut configuration, refer to this link.
Follow the steps below to configure files and folders that need to be added or removed before the software gets installed or uninstalled on the target computers:
Kindly note that the compressed zipped folder will be automatically uncompressed in the client machine.
To learn more about the File Folder Operations configuration, refer to this link.
In case you are trying to deploy the latest version of the software and trying to uninstall the older version, you can either kill the processes of that software or wait until the process stops to deploy the latest version of the software. Follow the below steps to configure Manage on-going Process configuration:
Kindly note that the Manage on-going Process configuration is applicable only for Pre-Deployment Activity.
Follow the below steps to make changes in the Registry before installing or uninstalling a software:
To learn more about the Registry Settings configuration, refer to this link.
Before installing or uninstalling a software, you can configure to start, restart, or stop certain Services based on your requirement. Follow the below steps to configure the Services configuration:
To learn more about the Registry Settings configuration, refer to link.
Before installing or uninstalling a software, you can use the Uninstall Software configuration to uninstall the software's older version or uninstall any software that requires to be uninstalled. Follow the steps below to configure the Uninstall Software configuration:
Kindly note that the Uninstall Software Configuration is applicable only as a Pre-Deployment activity.
Before installing or uninstalling a software, you can set the Environment Variables based on your requirement. Follow the below steps to set the environment variables:
To learn more about the Registry Settings configuration, refer to link.
Post-deployment activities are configured to perform specific actions after the software installation is completed. Examples include setting environment variables, creating or deleting shortcuts, or creating or appending a path related to the deployed software.
Using the Post-deployment activity feature, you can configure the below Configurations.
While deploying a software, you can apply certain Configurations after the software gets installed or uninstalled in the target computers. Follow the below Configurations that can be applied after the software is installed or uninstalled.
Follow the below steps to create or append the Path variable.
To learn more about the Create/Append Path configuration, refer to this link.
Follow the below steps to create or delete shortcuts after deploying a software to the targets:
For Shortcut Creation
For Internet Shortcut Creation
For Shortcut/Internet Deletion
To learn more about creating Shortcut configuration, refer to this link.
Follow the below steps to configure the Custom Script configuration to run a script after the software is deployed based on your requirement.
To learn more about the Custom Script configuration, refer to this link.
Follow the steps below to configure files and folders that need to be added or removed after the software gets installed or uninstalled on the target computers:
Kindly note that the compressed zipped folder will be automatically uncompressed in the client machine.
To learn more about the File Folder Operations configuration, refer to this link.
Follow the below steps to make changes in the Registry after installing or uninstalling a software:
To learn more about the Registry Settings configuration, refer to this link.
After installing or uninstalling a software, you can configure to start, restart, or stop certain Services based on your requirement. Follow the below steps to configure the Services configuration:
To learn more about the Registry Settings configuration, refer to this link.
After installing or uninstalling a software, you can set the Environment Variables based on your requirement. Follow the below steps to set the environment variables:
Note: How can I execute the Condition/Configuration in order?To execute the Condition/Configuration in order, you can reorder the configuration or the condition in the Summary view of the Pre and Post Deployment Activity.
To learn more about the Registry Settings configuration, refer to link.
The configured Pre and Post Deployment Activities can be modified based on your requirement.
The configured Pre and Post Deployment Activities can be removed based on your requirement.