Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Assembly Version vs Publish version and doing a auto check for new version

Assembly Version vs Publish version and doing a auto check for new version

Scheduled Pinned Locked Moved Visual Basic
helpquestionannouncementvisual-studiosysadmin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 4417354
    wrote on last edited by
    #1

    Hi Im totally confused with Assembly Version vs Publish version. I have a windows application.I use a SetupProject --> rebuild it --> ,I get the MSI file and Install. I am trying to do a Auto Update on the application and would probably have to play with the version numbers in order to do this. My 1st problem is, when I change the applications assembly version and install the new msi - I get an error that there is already a application installed with the same version, but when I change the publish version it uninstalls the installed app and install the new one. My 2nd problem is I dont really know the best way to check if a new version is available. My idea is to take the running apps version and compare it with the version of the msi file on the server.If they are not the same, it will popup a message on the application saying "A new version is available, please click yes to install the new version" What I want to know: 1.How do I get the application to work on the assembly version and not the publish. 2.I would really appreciate tips what is the best way to write an auto update check. Thank you everyone

    J 1 Reply Last reply
    0
    • U User 4417354

      Hi Im totally confused with Assembly Version vs Publish version. I have a windows application.I use a SetupProject --> rebuild it --> ,I get the MSI file and Install. I am trying to do a Auto Update on the application and would probably have to play with the version numbers in order to do this. My 1st problem is, when I change the applications assembly version and install the new msi - I get an error that there is already a application installed with the same version, but when I change the publish version it uninstalls the installed app and install the new one. My 2nd problem is I dont really know the best way to check if a new version is available. My idea is to take the running apps version and compare it with the version of the msi file on the server.If they are not the same, it will popup a message on the application saying "A new version is available, please click yes to install the new version" What I want to know: 1.How do I get the application to work on the assembly version and not the publish. 2.I would really appreciate tips what is the best way to write an auto update check. Thank you everyone

      J Offline
      J Offline
      jbbarnes
      wrote on last edited by
      #2

      We had the same problem, and finally decided to write a small AppVersion.exe that checks a local AppVersion.txt and compares it to the server's AppVersion.txt - if different, it shows a message informing the user that an update is being installed, installs the update from the server, and replaces the local AppVersion.txt from the one on the server. Whether an update was done or not, AppVersion.exe starts a process of the main application and then closes. The only implementation problem we had was changing all the desktop icons to point to AppVersion.exe instead of the main program.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups