Jump to content


  • 0
SRed

An application installs correctly with abnormal exit code, what to do?

Question

Hi all,

 

I'm deploying PDF Creator in my environment and have noticed that the install completes successfully, but the program reports a strange exit code, namely -1073740940. I'm trying to specify this code in my advertisement/package, but I'm not sure where to do this. Because of the strange exit code, this package, though succesful, shows up as an error in my Advertisement logs.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello,

 

You may want to consider wrapping the command in a batch file, or other script file, which you can directly instruct to exit with a return value of 0. In batch, you simply do:

 

exit 0

 

In VBscript, you do:

 

wscript.quit(0)

 

In PowerShell, you simply do:

 

exit 0

 

Hope this helps.

 

Cheers,

Trevor Sullivan

http://trevorsullivan.net

http://twitter.com/pcgeek86

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.