Software update with MSI installer
-
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 -
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, MoakA 'major upgrade' is the standard software update mechanism for MSI files, it works now.... was a bit tricky to find information. :)