SymphonyElectron/installer/win/WixSharpToolset/Samples/MajorUpgrade
2020-12-09 15:31:26 +01:00
..
Files SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
Build.cmd SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
CustomAction.config SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
EmbeddedUI.config SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
MajorUpgrade1.pdb SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
MyProduct - Copy.wxs SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
MyProduct.wixobj SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
MyProduct.wxs SDA-2746 Upgraded to Wix# Toolset 1.15.0.0 2020-12-09 15:31:26 +01:00
readme.txt SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
setup.1.cs SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
setup.1.cs.dll SDA-2746 Upgraded to Wix# Toolset 1.15.0.0 2020-12-09 15:31:26 +01:00
setup.1.msi SDA-2746 Upgraded to Wix# Toolset 1.15.0.0 2020-12-09 15:31:26 +01:00
setup.1.wixpdb SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
setup.2.cs SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
setup.2.cs.dll SDA-2746 Upgraded to Wix# Toolset 1.15.0.0 2020-12-09 15:31:26 +01:00
setup.2.msi SDA-2746 Upgraded to Wix# Toolset 1.15.0.0 2020-12-09 15:31:26 +01:00
setup.2.wixpdb SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
setup.cs SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
setup.cs.dll SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
setup.msi SDA-2746 Upgraded to Wix# Toolset 1.15.0.0 2020-12-09 15:31:26 +01:00
setup.wixpdb SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
TestProduct.dialog_banner.png SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
TestProduct.dialog_bmp.png SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
TestProduct.licence.rtf SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
TestProduct.wixobj SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
TestProduct.wxl SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
TestProduct.wxs SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
uninstall.cmd SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
WixSharp.CA.dll SDA-2746 Upgraded to Wix# Toolset 1.15.0.0 2020-12-09 15:31:26 +01:00

This sample demonstrates how to implement MajorUpgrade deployment scenario.

* Implementing with MajorUpgrade element (recommended)
It is the current WiX technique, which has been introduced in WiX v3.5 to replace more complicated Upgrade element.
 - Execute build.cmd file to build setup.msi file. 
 - Install setup.msi
 - Observe "1.0.209.10040" version being installed in "Programs and Features"
 - Increase version (e.g. "1.0.209.10040" -> "1.1.209.10040") in the setup.cs
  - Execute build.cmd file to build setup.msi file. 
 - Install setup.msi
 - Observe "1.1.209.10040" version being installed in "Programs and Features"
 

* Implementing with Upgrade element
It is an older technique, which has been superseded by simplified MajorUpgrade element in WiX v3.5.
Execute build.cmd file to build msi files (setup.1.msi and setup.2.msi) for two versions of the same product. 

Then execute the setup.1.msi to start the installation of the version 1.0.0. After that execute the setup.2.msi. 
Note installation of version 2.0.0 will automatically uninstall version 1.0.0