SymphonyElectron/installer/win/WixSharpToolset/Samples/Silent Mode
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
InstallNormal.cmd SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
InstallSilent.cmd 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.cs 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 example demonstrates how to distinguish between normale and "silent" installation mode.
The example uses the CustomAction which is to be executed only in "silent" installation mode.

Build msi by executing build.cmd. Then you can test conditional CA execution by launching installing the
sample application in normal (InstallNormal.cmd) and "silent" (InstallSilent.cmd) mode.
	
Note: The third parameter in the WAction constructor is a working directory. It has to be a directory ID.
That is why @"%ProgramFiles%\My Company\My Product" is translated into ID with ToDirID() call.