Scripting Question

Application dependency

08/18/2014 2771 views

Hi All,

I would like to create a Powershell\VBscript application dependency so that an application will not install if a executable file is running on the PC (e.g. an application package that effects Outlook will not run if the Outlook.exe is running) I would also like this script to keep checking for this condition and then install once meet

To define the executable I would like to pass this at the command line as below

wscript.exe VBSCRIPT.vbs /p:WINWORD.EXE;OUTLOOK.EXE (will not install app unless word and outlook are closed)

´╗┐powershell´╗┐ PSSCRIPT.ps1 /p:WINWORD.EXE;OUTLOOK.EXE (will not install app unless word and outlook are closed)

0 Comments   [ + ] Show comments


All Answers

Hmmm...I wonder hoiw many scripts I could find that detect a running process? And then which enumerate command line arguments?

Were you expecting someone to do this work for you?
Answered 08/19/2014 by: VBScab
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login