Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

App. install condition based on running application ?

Status
Not open for further replies.

lgnihlman

MIS
Dec 5, 2002
89
SE
Is there any way to install an application via ZEN Works for desktops so that the application that is to be installed only will install if a specified application is already running on the workstation ?

I want create an application package that will be installed
only if notify.exe is running on the workstation.
If notify.exe is not running the package must not be installed.

Hope someone can give me some tips on how to fix this

Regards
lgnihlman
 
you will have to do it by script with the if and then command .
 
You might try pslist.exe in your script and pipe it to a text file. Then use the find command to look for notify.exe. Check for errorlevel 0 to indicate it is running.

Darren
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top