Seite 1 von 1

Conflict and dependancy

Verfasst: 10 Feb 2016, 12:11
von aellert
Hello,

I'd like to replace the antivirus program on all of my computers. This program was deployed with an OPSI package.

Now, I'm looking for something to tell OPSI to first uninstall the old antivirus package, then install the new one.
I don't know if it matters, but the PC need to reboot after uninstall to properly remove the old antivirus.

Is there anything in product dependancy to to tell OPSI that it can't install 2 package because there are conflictual ?
It would be great if could set the new antivirus to be "Installed" and automaticaly, OPSI would set the action -> uninstall on the old antivirus.

Thank you for your help.

Alexandre

Re: Conflict and dependancy

Verfasst: 10 Feb 2016, 17:53
von n.wenselowski
Hi Alexandre,
aellert hat geschrieben:Now, I'm looking for something to tell OPSI to first uninstall the old antivirus package, then install the new one.
I don't know if it matters, but the PC need to reboot after uninstall to properly remove the old antivirus.
an uninstall-script should do the trick ;)
Reboot can be triggered from within that script - search for exitwindows in the winst docs.
Setting the old product to uninstall and the new one to setup can be done via CLI, configed or even through opsiscript (see below).
aellert hat geschrieben:Is there anything in product dependancy to to tell OPSI that it can't install 2 package because there are conflictual ?
It would be great if could set the new antivirus to be "Installed" and automaticaly, OPSI would set the action -> uninstall on the old antivirus.
Things like that are possible via the usage of opsiServiceCall-sections inside a opsiscript. Again you should check the docs for that.
iirc I've seen things like that somewhere here on the forums.


Kind regards

Niko