Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Remote software install question in VBScript

  • Please log in to reply
No replies to this topic

#1 jcl43


  • Members
  • 9 posts
  • Local time:08:02 AM

Posted 21 April 2009 - 10:57 AM

Hi all I have a script I am using to install an msi on a remote machine. I need it to run the installer, then wait until it finishes before moving on the rest of the script which simply edits permissions that the installer changes.

does objSoftware.Install do this or would I have to sleep for x seconds until it is done?

Here is the line in question
errReturn = objSoftware.Install("C" & strFile & "\MFEagent.msi",,True)

The code works but I cannot tell if it is waiting until the .msi finishes running before continuing on with the script.

Any help is appreciated!

BC AdBot (Login to Remove)


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users