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

Comments

Please log in to comment

Answers

3
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

Please log in to comment
Answer this question or Comment on this question for clarity