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. Other Discussions
  3. IT & Infrastructure
  4. Software update with MSI installer

Software update with MSI installer

Scheduled Pinned Locked Moved IT & Infrastructure
announcementhelpcsharpjavaphp
2 Posts 1 Posters 9 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.
  • M Offline
    M Offline
    Moak
    wrote on last edited by
    #1

    Hi, in my attempts to create an MSI installer (with WiX) I did run into a dead end and could need some help with the following scenario: - user downloads latest MSI from website and double clicks to install application - if not installed on PC, then do fresh install - if already installed and newer version, then do software update and replace files Nothing special I guess. Such an software update requires no registry changes, not changing/removing installed components, just updating already installed exe/dlls in the installation folder. I followed the instructions at (http://www.tramontana.co.hu/wix/lesson4.php) and as far as I understand a 'minor upgrade' is not possible. Quote from the WiX tutorial: For some strange reason, small updates and minor upgrades cannot be run simply by clicking on the .msi file—they give the error: "Another version of this product is already installed." We know, stupid... Anyway, you have to start it with the command: msiexec /i SampleUpgrade.msi REINSTALL=ALL REINSTALLMODE=vomus
    Asking average user to use command line arguments is not really an option here or adding another file that launches the MSI (it's downloaded from a website)... I wonder what are my options? 1) Do you have to do a 'major upgrade' for every application release or are there any other tricks? 2) What have they been thinking? Thanks in advance, Moak

    Chat in Europe :java: Now with 24% more Twitter

    M 1 Reply Last reply
    0
    • M Moak

      Hi, in my attempts to create an MSI installer (with WiX) I did run into a dead end and could need some help with the following scenario: - user downloads latest MSI from website and double clicks to install application - if not installed on PC, then do fresh install - if already installed and newer version, then do software update and replace files Nothing special I guess. Such an software update requires no registry changes, not changing/removing installed components, just updating already installed exe/dlls in the installation folder. I followed the instructions at (http://www.tramontana.co.hu/wix/lesson4.php) and as far as I understand a 'minor upgrade' is not possible. Quote from the WiX tutorial: For some strange reason, small updates and minor upgrades cannot be run simply by clicking on the .msi file—they give the error: "Another version of this product is already installed." We know, stupid... Anyway, you have to start it with the command: msiexec /i SampleUpgrade.msi REINSTALL=ALL REINSTALLMODE=vomus
      Asking average user to use command line arguments is not really an option here or adding another file that launches the MSI (it's downloaded from a website)... I wonder what are my options? 1) Do you have to do a 'major upgrade' for every application release or are there any other tricks? 2) What have they been thinking? Thanks in advance, Moak

      Chat in Europe :java: Now with 24% more Twitter

      M Offline
      M Offline
      Moak
      wrote on last edited by
      #2

      A 'major upgrade' is the standard software update mechanism for MSI files, it works now.... was a bit tricky to find information. :)

      Chat in Europe :java: Now with 24% more Twitter

      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