在为Windows创建软件包时,您可以配置安装前和安装后要执行的各种活动,以确保软件安装顺利,并确保安装软件的计算机满足所有先决条件。
让我们考虑几个场景,以了解如何有效地使用部署前/部署后活动。
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.
ResolutionHere 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.
ResolutionHere 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.
更多详细信息, 点击这个页面。