Exit Code: 2 – Deploying .msi file of 3mb

BatchPatch Forums Home Forums BatchPatch Support Forum Exit Code: 2 – Deploying .msi file of 3mb

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8838
    adityavijay
    Participant

    I am trying to deploy a small .msi file but it fails with Exit Code: 2

    What could be possibilities of this failure.

    #10128
    dorianborovina
    Participant

    Hi,

    Please, take a look on this link.

    https://batchpatch.com/software-deployment

    #10129
    doug
    Moderator

    Normally a deployment exit code is returned by the installer package. However, in the case of exit code 2 it could be that there is an issue with the actual command line syntax or an issue with psexec executing on that computer. I would suggest as…

    Step 1, make sure the .msi package itself is not corrupt. Make sure it can install successfully when run manually without using BatchPatch.

    Step 2, make sure that BatchPatch is able to successfully execute ‘Check for available updates’ on that computer. If this works, then we know that psexec is working properly.

    Step 3, assuming psexec is working properly, then probably your deployment configuration is problematic. I would need to see the deployment configuration in order to tell you if there is something obviously wrong with it. You can use the link that dorianborovina posted above to see examples of how to deploy .msi files with BatchPatch. If you continue to have problems then maybe you can post a screenshot of your deployment configuration. This forum does not allow images, but you could post it to something like imgur.com and then provide a link here.

    -Doug

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.