PDA

View Full Version : Setup did not complete successfully?


Tek
03-19-2005, 11:23 AM
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.

Ted Sullivan
03-19-2005, 01:22 PM
You can check the list of return codes in the help file. Here's a link to it:

http://www.indigorose.com/webhelp/suf70/Program_Reference/Setup_Return_Codes.htm

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

Tek
03-19-2005, 02:16 PM
Ahh thank you.

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

Ted Sullivan
03-19-2005, 04:59 PM
No problem. I'm glad you got it working!

csd214
03-20-2005, 01:26 AM
Error Setup did not complete successfully (5)
A profound sigh of recognition!

Tek, you are lucky. I spent a working day to understand this (http://www.indigorose.com/forums/showthread.php?t=10478).

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"?

Tek
03-20-2005, 01:12 PM
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?

Adam
03-21-2005, 09:26 AM
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

Tek
03-21-2005, 09:31 AM
Ahh thank you for clarifying that for me Adam.

Common sense = common sense + 1 :D