/build/static/layout/Breadcrumb_cap_w.png

Application dependency

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

Answers (1)

Posted by: anonymous_9363 10 years ago
Red Belt
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?
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ