Results 1 to 6 of 6

Thread: Unexpected Error

  1. #1

    Thread Starter
    Hyperactive Member onerrorgoto's Avatar
    Join Date
    Aug 1999
    Location
    Sweden
    Posts
    330

    Post

    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)
    [email protected]


  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    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
    [email protected]
    [email protected]
    ICQ#: 51055819



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

  3. #3

    Thread Starter
    Hyperactive Member onerrorgoto's Avatar
    Join Date
    Aug 1999
    Location
    Sweden
    Posts
    330

    Post

    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

    ------------------
    On Error Goto Bed :0)
    [email protected]


  4. #4
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Post

    The installer will only replace those files that are older (by version number or date) than the ones you distribute.

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

  5. #5

    Thread Starter
    Hyperactive Member onerrorgoto's Avatar
    Join Date
    Aug 1999
    Location
    Sweden
    Posts
    330

    Post

    Ok
    Thank you

    ------------------
    On Error Goto Bed :0)
    [email protected]


  6. #6
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    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
    [email protected]
    [email protected]
    ICQ#: 51055819



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

Posting Permissions

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



Click Here to Expand Forum to Full Width