for the Uninstall: getting this error message through SCCM 2007 - A failure exit code of 1 was returned.

Possible cause: Systems Management Server (SMS) determines status for each program it executes. If SMS cannot find or correlate any installation status Management Information Format (MIF) files for the program, it uses the program's exit code to determine status. An exit code of 1 is considered a failure.
Solution: For more information on the exit code, refer to the documentation for the program you are distributing.

I believe that the command line is correct     unins000.exe /verysilent /norestart /suppressmsgboxes

Does anyone have any suggestions on a exit MIF file




Answer Summary:
Embed the uninstall in a script that catches this exit code and returns 0 instead of 1.
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



Are you able to un-install the application if you run this command manually?

Answered 05/22/2012 by: adilrathore
Fourth Degree Black Belt

Please log in to comment

If the exit code 1 is normal for this uninstall when it finishes successfully, you might have to embed the uninstall in a script that catches this exit code and returns the expected 0 instead..

Answered 05/23/2012 by: pjgeutjens
Red Belt

  • I believe you can customise the exit codes in SCUP, never tried it in Config Manager though :0)
Please log in to comment

turn on extended MSI logging, even for the uninstall.  if the code returns 1 as success, SCCM will still see as error.  Rewrap your uninstall inside a VB script and force the exit code to be 0 if it really does return 1.  (reprogram your exit code for success).

Answered 06/11/2012 by: LordCruz
White Belt

Please log in to comment