在安装开始之前运行CURRENTDIRECTORY的exe

时间:2016-04-19 08:07:33

标签: wix

<Property Id="TestDestination" Value="CURRENTDIRECTORY" />
    <CustomAction Id="StopAll" Property="TestDestination" ExeCommand="[CURRENTDIRECTORY]\stopall.exe" Execute="deferred" Return="ignore" Impersonate="no">
    </CustomAction>
    <InstallExecuteSequence>
        <Custom Action="StopAll" Before="RemoveFiles" />
    </InstallExecuteSequence>

我想在安装开始之前开始工作。我尝试了不同类型的ExecuteSequences。 exe并没有开始。任何帮助将不胜感激。

0 个答案:

没有答案