BleepingComputer.com: Remote software install question in VBScript

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Remote software install question in VBScript Unsure about using objSoftware.Install

#1 User is offline   jcl43 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 9
  • Joined: 11-October 08

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!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users