none
Auto exe file update RRS feed

  • Question

  • Is there a way to automatically update running exe file from a network path ?

    application is written i visual basic.

    application contains a single exe file and it should check for the latest version from remote path and do the self update in case version changes.


    Coderv9

    Sunday, August 12, 2018 7:56 AM

Answers

  • Hello,

    I would suggest looking at the following in VB.NET although the next one (in C#) is a better one that will work with VB.NET via a Nuget package.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    • Marked as answer by Coderv9 Sunday, August 12, 2018 5:50 PM
    Sunday, August 12, 2018 11:21 AM
    Moderator

All replies

  • Yes, I did that with a freeware (in C++ , but same thing in VB)

    I renamed the .exe into .bak, downloaded the new .exe, and, if ok, started the new exe just before quitting the current one.

    Sunday, August 12, 2018 10:58 AM
  • Hello,

    I would suggest looking at the following in VB.NET although the next one (in C#) is a better one that will work with VB.NET via a Nuget package.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    • Marked as answer by Coderv9 Sunday, August 12, 2018 5:50 PM
    Sunday, August 12, 2018 11:21 AM
    Moderator
  • Hello,

    I would suggest looking at the following in VB.NET although the next one (in C#) is a better one that will work with VB.NET via a Nuget package.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Thank you karen, This was exactly what i was looking for. 

    Coderv9

    Sunday, August 12, 2018 5:50 PM