blackrabbit
IS-IT--Management
Here is the situation... We have a small app that needs to be updated on several hundred servers. The upgrade itself is easy, just copy two files to the servers to replace the older ones.
We want to create a script to determine the current version of the files on the server and if that version is below a certain value then it copies over the new updated files.
Here is our problem. If you go to the properties of the exe files we need to replace and check the file there is no version listed for the exe files. It's a third party app so we can't get around it. If you run the exe with a certain switch from the command prompt it will output to the screen the current version of the exe so I thought we could use that. I just don't know how to do it.
I want the script to run the exe with the switch and capture that output to a variable, from there I can easily take that info and determine if new files are needed. I just can't figure out how to have the vb script run the exe with the switch and capture the output to a variable. Any help would be appreciated. Thanks.
We want to create a script to determine the current version of the files on the server and if that version is below a certain value then it copies over the new updated files.
Here is our problem. If you go to the properties of the exe files we need to replace and check the file there is no version listed for the exe files. It's a third party app so we can't get around it. If you run the exe with a certain switch from the command prompt it will output to the screen the current version of the exe so I thought we could use that. I just don't know how to do it.
I want the script to run the exe with the switch and capture that output to a variable, from there I can easily take that info and determine if new files are needed. I just can't figure out how to have the vb script run the exe with the switch and capture the output to a variable. Any help would be appreciated. Thanks.