PDA

Click to See Complete Forum and Search --> : Unexpected Error


onerrorgoto
Nov 17th, 1999, 05:52 PM
I have made a small program for some friend and sent them a setupprogram made by application setupwizard in VB.

Then I made an update and this time I sent them only the exe-file and told them to replace the old exe-file.

But some of them reported that they got a promp saying "Unexpected Error" when they tried to run the program.

Why?
The update worked for some of them but not all. Do I have to make a new setupfile and just include the exe-file?

------------------
On Error Goto Bed :0)
anders@zsystemdesign.se

Serge
Nov 17th, 1999, 06:37 PM
No, you would have to recreated the whole Setup. I would assume that the user had the Unexpected Error 50001 through 50005. This happens when the control or DLL on their system is older then then the one you compiled your application with. It always happens. From the time you gave them your program 'till now, you might have installed some program(s) that changed that file to the new version.

Regards,

------------------

Serge

Software Developer
Serge_Dymkov@vertexinc.com
Access8484@aol.com
ICQ#: 51055819 (http://www.icq.com/51055819)



[This message has been edited by Serge (edited 11-18-1999).]

onerrorgoto
Nov 17th, 1999, 08:52 PM
Thank you Serge
One more small question :)

Do they have to uninstall the previous version first or will my new setup overwrite all the previous installed files?

And if it overwrites the files, isn't that a bit dangerous if a file is shared with some other program that has been installed after my program.(hope you understand what I mean)

Ooops, I ended up with 2 questions :o

------------------
On Error Goto Bed :0)
anders@zsystemdesign.se

MartinLiss
Nov 17th, 1999, 09:24 PM
The installer will only replace those files that are older (by version number or date) than the ones you distribute.

------------------
Marty

onerrorgoto
Nov 17th, 1999, 09:26 PM
Ok
Thank you :)

------------------
On Error Goto Bed :0)
anders@zsystemdesign.se

Serge
Nov 17th, 1999, 09:42 PM
For your second question (about being scared replacing file). All files should be backwards compatible (atleast they all should be). It mean that the newer version should work fine with the EXE that had been compiled with an old version.

------------------

Serge

Software Developer
Serge_Dymkov@vertexinc.com
Access8484@aol.com
ICQ#: 51055819 (http://www.icq.com/51055819)



[This message has been edited by Serge (edited 11-18-1999).]