Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2004
    Location
    Toronto, ON CANADA
    Posts
    696

    Setup did not complete successfully?

    Hi.

    I can't figure out why my setup log shows that the setup did not complete successfully. This is the last few lines of my setup log.

    [03/19/2005 11:17:45] Notice Start project event: On Post Install
    [03/19/2005 11:17:45] Success Run project event: On Post Install
    [03/19/2005 11:17:45] Success Display screen: Exit Option
    [03/19/2005 11:17:57] Success Delete image file: C:\DOCUME~1\Al\LOCALS~1\Temp\_ir_sf7_temp_0\IRIMG1 .JPG
    [03/19/2005 11:17:57] Success Delete image file: C:\DOCUME~1\Al\LOCALS~1\Temp\_ir_sf7_temp_0\IRIMG2 .JPG
    [03/19/2005 11:17:57] Success Delete image file: C:\DOCUME~1\Al\LOCALS~1\Temp\_ir_sf7_temp_0\IRIMG3 .JPG
    [03/19/2005 11:17:57] Success Delete image file: C:\DOCUME~1\Al\LOCALS~1\Temp\_ir_sf7_temp_0\IRIMG4 .JPG
    [03/19/2005 11:17:57] Success Delete image file: C:\DOCUME~1\Al\LOCALS~1\Temp\_ir_sf7_temp_0\IRIMG5 .JPG
    [03/19/2005 11:17:57] Success Delete image file: C:\DOCUME~1\Al\LOCALS~1\Temp\_ir_sf7_temp_0\IRIMG6 .JPG
    [03/19/2005 11:17:57] Success Delete image file: C:\DOCUME~1\Al\LOCALS~1\Temp\_ir_sf7_temp_0\IRIMG7 .JPG
    [03/19/2005 11:17:57] Success Delete image file: C:\DOCUME~1\Al\LOCALS~1\Temp\_ir_sf7_temp_0\IRIMG8 .JPG
    [03/19/2005 11:17:57] Success Delete image file: C:\DOCUME~1\Al\LOCALS~1\Temp\_ir_sf7_temp_0\IRIMG9 .JPG
    [03/19/2005 11:17:57] Success Delete image file: C:\DOCUME~1\Al\LOCALS~1\Temp\_ir_sf7_temp_0\IRIMG1 0.JPG
    [03/19/2005 11:17:57] Success Delete image file: C:\DOCUME~1\Al\LOCALS~1\Temp\_ir_sf7_temp_0\IRIMG1 1.JPG
    [03/19/2005 11:17:57] Success Delete image file: C:\DOCUME~1\Al\LOCALS~1\Temp\_ir_sf7_temp_0\IRIMG1 2.JPG
    [03/19/2005 11:17:57] Error Setup did not complete successfully (5)

    Can anyone tell me how I can find out what failed? Turning on debug didn't show me anyting that helped.

    The reason why I need to fix this even though the program is installed correctly is because my Internet update downloads the full installer and runs it silent, but when it gets to the end it reports back to the update application that it failed.

    Thanks.

  2. #2
    Join Date
    Oct 2003
    Posts
    908
    You can check the list of return codes in the help file. Here's a link to it:

    http://www.indigorose.com/webhelp/su...turn_Codes.htm

    Code 5 indicated that "The installation was aborted by the user."

  3. #3
    Join Date
    Mar 2004
    Location
    Toronto, ON CANADA
    Posts
    696
    Ahh thank you.

    I was using Application.Exit() instead of Screen.Next() and that fixed it.

  4. #4
    Join Date
    Oct 2003
    Posts
    908
    No problem. I'm glad you got it working!

  5. #5
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    939
    Error Setup did not complete successfully (5)
    A profound sigh of recognition!

    Tek, you are lucky. I spent a working day to understand this.

    As in your case the program was installed correctly, but the 'On Shutdown' actions were skipped. The new action Screen.End() (v.7.0.2.0) is really handy.

    The first time I had the 'Error (5)' message, I looked for the entry word 'Error', but the error codes start with 1000... Tip: The keyword 'error codes' should have a reference to "Setup Return Codes".

    Still some return codes are missing? I am told that (2) means "File not found"?

  6. #6
    Join Date
    Mar 2004
    Location
    Toronto, ON CANADA
    Posts
    696
    Hmm I wish I had found your post earlier csd214.

    I agree that there should be some warning about using Application.Exit(), but my question is that even if I used Application.Exit(0) I would still get the error code 5 in my setup log. Why is that?

  7. #7
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    Application.Exit(0) means that the setup will return 0 to its calling program (if it has one). The error report is completely separate from this.

    Adam Kapilik

  8. #8
    Join Date
    Mar 2004
    Location
    Toronto, ON CANADA
    Posts
    696
    Ahh thank you for clarifying that for me Adam.

    Common sense = common sense + 1

Similar Threads

  1. Learning Setup Factory 7.0
    By Ted Sullivan in forum Setup Factory 7.0
    Replies: 0
    Last Post: 09-22-2004, 01:01 PM
  2. New Features in Setup Factory 7.0
    By Ted Sullivan in forum Setup Factory 7.0
    Replies: 0
    Last Post: 08-12-2004, 12:13 PM
  3. INFO: JET and MDAC (Complete) Runtime Notes
    By Desmond in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 11-28-2003, 08:35 AM
  4. FAQ: Setup Factory 5.0 Frequently Asked Questions
    By Support in forum Setup Factory 5.0
    Replies: 0
    Last Post: 10-10-2002, 09:50 AM
  5. HOWTO: Build a Setup from the Command Line
    By Support in forum Setup Factory 5.0
    Replies: 0
    Last Post: 10-08-2002, 01:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts