While creating a software package for Windows, you can configure various activities to be carried out before and after installation, to ensure that the software installation is smooth and that the computers in which the software is being installed meet all the prerequisites.
Let's consider a few scenarios to understand how to use pre/post deployment activities effectively.
Here is a scenario that shows you how all these issues can be resolved using pre/post deployment activities-
John is an IT administrator in a reputed company. His network consists of a wide range of computers, including some legacy Operating Systems. He needs to to upgrade Java 8 on all the computers in his network and follows the following steps to achieve that:
After setting up these activities, John saves the package and deploys it immediately using the "Deploy now" option. The update gets installed on all the computers.
The biggest issue administrators face while uninstalling an application is when the uninstallation fails because a process initiated by the application to be uninstalled is running.Resolution
Here is a scenario that shows you how all this issue can be resolved using pre/post deployment activities
John's boss has asked him to uninstall Notepad++ from all the computers that have it installed. He creates the package for uninstalling Notepad++ using Desktop Central's template. Here is how he modifies the created package to ensure that the uninstallation is carried out efficiently:
After configuring these activities, he saves the package and deploys it to the desired target. Notepad++ gets uninstalled on all the computers.
While installing a plugin, you need to make sure that the plugin is installed only on the computers that have the application.Resolution
Here is a scenario that shows you how you can accomplish this using pre/post deployment activities-
There is a requirement for installing Zoom plugin for all the computers that have Microsoft Outlook. After creating the package, John uses the condition "Check Software" to find out which computers have Outlook installed on them. Now, the plugin will only be installed on the computers that have Microsoft Outlook on them:
After saving the package, John deploys it and Zoom plugin gets installed on the right computers.
For more details, visit this webpage.