Jump to content


  • 0
Gadric

VBscript Noob

Question

Hello:
I am trying to reaquaint myself with VBScripting and I need to write a script that will CALL several applications one after the other and install them as I run the script.

Can anyone put me on the right track here?

Thank you

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

In case you're still looknig for feedback on this...

 

When you say "CALL" do you mean "execute" or "install"? If so have you looked at the Run command?

 

intReturn = objWshShell.Run (strPathToFile & "\MyExe.exe /quiet /norestart", 1, True)

 

You can set it to wait until the process being executed is finished, and then just do several statements one after the other. Of course, you'll want to add code to check and see if it really did install. And there are all sort of other potential hiccups that can happen. But that's where I'd suggest starting...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.