how to retrieve exitcode for adobepatchinstaller.exe in a vbs script ?
Hi Guys, I made an automatic installation vbs script to update adobeCC.
For this, i follow the stop below:
1- I retrieve updates from adobe website via remoteupdatemanager --action=download
2- I unzip archives in a target folder
3- In this folder, I am searching all .exe (usually adobepatchinstaller.exe) and execute it.
4- I retrieve the exitcode to know errors.
So, the commandline i use is either
rc=objshell.run(mycommand,,true)
rc=objshell.exec(mycommand)
On the last command, i retrieve the exitcode with rc.exitcode.
In any cases, rc = 0 (even when the is an error).
What I mean is adobepatchinstaller execute a setup.exe or set-up.exe to install updates.
To finish, my question is how to retrieve the correct RC from this exe?