SymphonyElectron/installer/win/WixSharpToolset/Samples/AdminInstall
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
AdminInstall.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
CustomAction.config SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
CustomActionTest.wixobj SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
CustomActionTest.wixpdb SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
CustomActionTest.wxs SDA-2388 Added the WixSharp Toolset to the repo 2020-08-21 08:25:55 +02:00
Install.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.cs.dll 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 various Managed Custom Actions and place them in the appropriate execution sequences.

Execute corresponding .cmd file to build desired msi. Then execute the *Install.cmd to start the installation.

In this example Managed CAs just show MessageBox and print into setup log file. 

Note that MyAdminAction is placed in the AdminExecuteSequence allowing it to be invoked when MSI is launched as AdminInstall (msiexec /a *.msi). 
This sample demonstrates only how to ensure a proper setting up of the AdminExecuteSequence but not to to prepare a complete AdminInstall MSI.