Uninstall and installation software in one task

(imported topic written by pacifiermax)

Hi all,

I would like to do an uninstallation and installation of an software in one task.

Task 1) Basically i using a vbs script to uninstall a software, this script will check the current version of the software, if it is lower than version 10, it it will uninstall the software.

  1. once the uninstallation job is done, it will install the latest software using Bigfix software distribution.

so far i manage to do this with two seperate job, one is to uninstall and another to install and it works. but how can I put both of this job in one task?

another concern is when there is no old software installed in a PC, it will jump to task 2).

thanks!

(imported comment written by SystemAdmin)

If you write the relevance clause to detect the “old” version of the software, it will only run if the old software is installed.

You could then safely create an action script to uninstall the current version, then include code in the action script to download and install the new version.

(imported comment written by pacifiermax)

Hi thanks for the reply

may i know how can i acheive this?

do you have some sample fixlet?

thanks!

(imported comment written by SystemAdmin)

There is quite a bit of documentation on creating custom content for TEM. Google “Tivoli Endpoint Manager Relevance” and review other Fixlets and Actions for samples of various relevance clauses. The actual clauses will depend on what you are trying to detect.

While looking at documentation to prepare for an upgrade of the TEM environment we use at work, I found this

http://www-01.ibm.com/support/docview.wss?uid=swg21505713

related to uninstalling/reinstalling in a single action. They recommend using a Baseline.