Skip to main content
Participant
December 5, 2016
Answered

how to retrieve exitcode for adobepatchinstaller.exe in a vbs script ?

  • December 5, 2016
  • 1 reply
  • 451 views

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?

    This topic has been closed for replies.
    Correct answer frédéricb21939408

    Another information (perhaps trivial): this is a silent installation (parameters --mode=silent)

    [Moved from non-technical Forum Lounge to Install forum... Mod]

    [Here is the list of all Adobe forums... https://forums.adobe.com/welcome]

    1 reply

    frédéricb21939408AuthorCorrect answer
    Participant
    December 5, 2016

    Another information (perhaps trivial): this is a silent installation (parameters --mode=silent)

    [Moved from non-technical Forum Lounge to Install forum... Mod]

    [Here is the list of all Adobe forums... https://forums.adobe.com/welcome]