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
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!
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!

Help
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.

Back to top








