×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

SMS Exit Code 1?

SMS Exit Code 1?

SMS Exit Code 1?

(OP)
I have written a batch file that installs OpenOffice and then does some modifications to the install.  Now it works fine, installs the package onto the users PC and the install works a treat, however SMS is reporting a failure because of error code 1.

Any way around this? How do I get the install to return a successful install?

RE: SMS Exit Code 1?

eliminate SMS from your issue.

either way your batch file should be doing the following:

logging what it is doing
logging the return code from the setup.exe or msi call to the vendor supplied install binaries
your batch file should exit with a return code of 0 for success and choose something else for failure,,,,1 for instance.

so, what return code is your batch file returning?

 

I Hear, I Forget
I See, I Remember
I Do, I Understand

Ronald McDonald

RE: SMS Exit Code 1?

(OP)
I haven't wrote any error reporting or exit code into the batch file.  Am not sure how I'd even do that.  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close