Как убить защищенный процесс в wix toolset - PullRequest
1 голос
/ 18 октября 2019

Есть ли возможность убить защищенный системой процесс в наборе инструментов wix.
Я попробовал все.
Например.

<InstallExecuteSequence>
        <Custom Action='MyProcess.TaskKill' Before='InstallValidate'/>
        </InstallExecuteSequence>

        <Property Id="QtExecCmdLine" 
                  Value='"C:\Windows\System32\taskkill.exe" /F /T /IM platform-agent-core.exe'/>
        <CustomAction Id="MyProcess.TaskKill" 
                      BinaryKey="WixCA" 
                      DllEntry="CAQuietExec" 
                      Execute="deferred" 
                      Return="ignore"/>

или

<closeApplication ... /> элемент, но ничегоработает

Заранее спасибо ..

...