mirror of
https://github.com/safing/portmaster
synced 2025-04-25 13:29:10 +00:00
20 lines
671 B
XML
20 lines
671 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
|
<Fragment>
|
|
<!-- Load the VBscript -->
|
|
<Binary Id="CheckServiceStatusScript" SourceFile="..\..\..\..\templates\wix\CheckServiceStatus.vbs" />
|
|
|
|
<!-- VBscript script custom action to check if the service is running -->
|
|
<CustomAction
|
|
Id="CheckServiceStatus"
|
|
VBScriptCall=""
|
|
BinaryKey="CheckServiceStatusScript"
|
|
Return="check" />
|
|
|
|
<!-- Check if service is running -->
|
|
<InstallExecuteSequence>
|
|
<Custom Action="CheckServiceStatus" Before="InstallInitialize">NOT(REMOVE)</Custom>
|
|
</InstallExecuteSequence>
|
|
|
|
</Fragment>
|
|
</Wix>
|