Update ExeFile

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JR

    Update ExeFile

    Hi,

    How can I almost complete automatic update the exe files when there is a new
    version on the net. offcorse when the user accepts.
    I work with 2005. I know I need to work with deploy but I don't find many
    information and the help is not very clear for me.



    Jan

  • Alcibiade

    #2
    Re: Update ExeFile

    On 6 Lug, 08:36, "JR" <xx....@xx.xxwr ote:
    Hi,
    >
    How can I almost complete automatic update the exe files when there is a new
    version on the net. offcorse when the user accepts.
    I work with 2005. I know I need to work with deploy but I don't find many
    information and the help is not very clear for me.
    >
    Jan
    Hi, I've solved this problem by this way:
    when the user open my program, it sends version to my website by
    webservice.
    If a new version is availble a new thread starts to download new zip
    file in my program directory.
    When the user will open again my program at second time, program will
    find a file update.zip exits in the same directory so it starts
    update.exe and closes itself.
    Update.exe is an existing program that replaces my program with newer
    version and after, executes the updated program closing itself.

    I hope this explanation is useful for you ;)

    Comment

    • JR

      #3
      Re: Update ExeFile



      "Alcibiade" <panda17x@liber o.itschreef in bericht
      news:1bef4522-d57a-4dff-b9e0-cbf6ff41b5ec@z7 2g2000hsb.googl egroups.com...
      On 6 Lug, 08:36, "JR" <xx....@xx.xxwr ote:
      >Hi,
      >>
      >How can I almost complete automatic update the exe files when there is a
      >new
      >version on the net. offcorse when the user accepts.
      >I work with 2005. I know I need to work with deploy but I don't find many
      >information and the help is not very clear for me.
      >>
      >Jan
      >
      Hi, I've solved this problem by this way:
      when the user open my program, it sends version to my website by
      webservice.
      If a new version is availble a new thread starts to download new zip
      file in my program directory.
      When the user will open again my program at second time, program will
      find a file update.zip exits in the same directory so it starts
      update.exe and closes itself.
      Update.exe is an existing program that replaces my program with newer
      version and after, executes the updated program closing itself.
      >
      I hope this explanation is useful for you ;)
      >
      Thats the way I did this in VB6(i used a vbs file) but now on vb2005 there
      must be a faster way; however if not i will return to that way

      Thanks jan

      Comment

      Working...