Run Executable based on Installed Applicaiton and IP address

(imported topic written by ajnleson72891)

Hello,

I have a VPN client “Nortel Networks Contivity VPN Client” that is beign replaced. But before I can install the new client the old client has to be uninstalled. I’ve created an unattended uninstall for the Nortel Client, but I need to make sure that before it uninstalls that the users arent connected to the network using the client. All clients that connect to the network via Nortel get an IP address off 10.0.x.x. So I want to be able to check to see if the Nortel client is installed, then to make sure they’re current IP address isnt 10.0.x.x, and if not uninstall the Nortel client.

Help… Scripting is a foreign langauage. lol

(imported comment written by jessewk)

Do you already have relevance to detect when the Nortel client is installed? If you do, just add this relevance to restrict your action so it is only relevant on machines that don’t have a 10.10.x.x ip address:

not exists subnet addresses whose ((it >= “10.10.0.0” AND it < ") of (it as string as version)) of adapters of network

Jesse

(imported comment written by ajnleson72891)

Thanks Jesse, worked like a charm… appreciate the assistance and quick reply.

Anthony