SymphonyElectron/installer/win/WixSharpToolset/Samples/Conditional Installation
2020-08-21 08:25:55 +02:00
..
AppFiles SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
%this%.CA.dll SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
Build_setup.cmd 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
ConditionalInstallation.pdb 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
readme.txt SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
setup - Copy.wxs 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-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
setup.wixobj SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
setup.wixpdb SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
setup.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

This sample demonstrates how to define conditional components (e.g. shortcuts).

Execute corresponding build.cmd file to build msi. Then execute the .msi to start the installation.
During the installation setup will prompt user to indicate if shortcut to the application should be created on desktop.


Note that if the install condition for the component can be set without iteracting with user (e.g. analysing registry)
as part InstallExecuteSequence. However if interaction is required (e.g. message box, checkbox) install condition should be set 
form InstallUISequence.