Deploy an application with WPP
Contents
Now that WPP is configured, we will see how to deploy an application. To illustrate the tutorial, we will see how to deploy the Fusion Inventory agent if it is already present on the computer.
Add an update
From the WPP console, go to Update 1 and click Create Update 2 .
In the first window of the wizard, you must indicate the necessary files, indicate the location of the file 1 and click on Next 2 .
Enter the update information, Publisher 1 , Product Name 2 , Title 3 (this will be visible in the WSUS console and on the clients, enter the parameters of the installation if necessary 4 and click Next 5 .
Now you have to configure two rules:
- Find out if the update is already present
- Whether the update needs to be installed
For that we will do two tests:
- Is the Uninstall.exe file for the agent present?
- We will compare the version of this file to know which version is installed.
To recover the version of the Uninstall.exe file, on a computer where it is already installed, look in the properties of the file to get version 1 .
Rule to find out if the update is already installed
Choose the type of rule File exists 1 then click on the button Add 2 .
Indicate the location of the file Uninstall.exe 1 and click OK 2 to add the condition.
The condition is added 1 . We will now add a second condition that will check the version of the Uninstall.exe file. In rule type, choose File Version 2 and click the Add 3 button.
Indicate the location of the file to be tested 1 , the comparison operator 2 , enter the version 3 and validate by clicking on Ok 4 .
In order to know if the update is already installed, one chooses the operator Superior or equal to, in this way if a newer version of the agent is installed in another way, the version deployed by WSUS will be considered as already installed on the post.
The two conditions for determining if the update is installed are configured 1 , click Next 2 to move to the rule to see if the update should be installed.
Rule to know if the update is installable
This part works in the same way as for creating rules to check if the update is installed. We will add the same controls as the rule previously seen by changing the comparison operator for the version of the file, we must use the operator less than. Once conditions are added, click on Next 1 .
Wait while generating the file and publishing …
The update is published, click Ok 1 to close the wizard.
Update 1 available in the console.
Manage an update
Since the details of an update, it is possible to:
- Approve: This allows the computer in WSUS to install it.
- Decline: stop installing it.
- Expire: the update is no longer relevant
- Revise: allows to modify the conditions of application of the update.
Approve the update
Click the Approve button on the update details to open a new window.
The approval window is similar to WSUS, use the lists to set approval 1 and click Ok 2 to validate.
On the view of the update, we see that this one is now is now Approved 1 .
Report
On the details of the update, by going to the Report tab, it is possible to have an overview of the status of the update.