SymphonyElectron/installer/win/WixSharpToolset/Samples/DTF_UI
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.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.msi 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
InputForm.cs 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 Managed Custom Actions that displays managed input form, collects user input and assigns it to the MSI property.

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

In this examples Managed CA just shows input form where you can enter the string value for the WEBPOOL_NAME property. The example uses QtCmdLineAction CA to start notepad.exe with the parameter entered by used in the input form.

When used in the actual deployment scenario you may want to handle silent mode in some special way. 

new Condition("(NOT Installed) AND (UILevel > 3)")) //condition for executing some action during the installation but only if it is not silent mode (UILevel > 3)