| 1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
| 2 | |
| 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> |
| 4 | <Fragment> |
| 5 | <ComponentGroup Id="ProductComponents" /> |
| 6 | |
| 7 | <Property Id="FORCERESTARTCA" Secure="yes" /> |
| 8 | <Property Id="ForceRestartCA" Value=""shutdown.exe" -r -f -t 0" /> |
| 9 | <CustomAction Id="ForceRestartCA" DllEntry="WixQuietExec" BinaryRef="Wix4UtilCA_X86" Execute="deferred" Return="ignore" /> |
| 10 | |
| 11 | <InstallExecuteSequence> |
| 12 | <Custom Action="ForceRestartCA" After="InstallFiles" Condition="FORCERESTARTCA = 1" /> |
| 13 | </InstallExecuteSequence> |
| 14 | </Fragment> |
| 15 | </Wix> |