Results 1 to 4 of 4

Thread: setup should ask for any previous version installed

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2005
    Posts
    27

    setup should ask for any previous version installed

    hi friends

    i have a big visual basic application, and now i am dividing the big

    application into groups. (module1, module2,module3), which are

    standalone.

    the thing is, suppose module1 is installed, and now if i try to install

    module2...it should ask whether any previous version is installed or not.

    and if any present, it should remove the previous version before

    installing the new version. (when i package module2).

    1) how to achieve the functionality of asking whether a previous version

    is existing or not?

    2) and if previous version is present, how to delete it ?


    any help is appreciated

  2. #2
    Frenzied Member wiz126's Avatar
    Join Date
    Jul 2005
    Location
    Mars,Milky Way... Chit Chat Posts: 5,733
    Posts
    1,080

    Re: setup should ask for any previous version installed

    for:

    1) I would recomend on make a regestry key that say the app verstion when loaded for first time. and when the setup loads let it check for the version from the regestry.

    2) just use the "kill" function to delete the whole directory
    1) If your post has been adequately answered please click in your post on "Mark Thread Resolved".
    2) If someone has been useful to you please show your respect by rating their posts.
    3) Please use [highlight="VB"] 'your code goes in here [/highlight] tags when posting code.
    4) Before posting your question, make sure you checked this links:
    MICROSOFT MSDN -- VB FORUMS SEARCH

    5)Support Classic VB - A PETITION TO MICROSOFT

    ___________________________________________________________________________________
    THINGS TO KNOW ABOUT VB: || VB Examples/Demos
    What are Classes?
    || -
    Where to place a sub/function?(global) || Webbrowser control

  3. #3
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: setup should ask for any previous version installed

    If you use the same exe name, and install into the same folder, only the latest version will exist. It sound like you have separate apps, anyways.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: setup should ask for any previous version installed

    Moved to Application Deployment.

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