Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Batch file WIX-卸载期间执行批处理文件_Batch File_Wix_Action_Uninstallation - Fatal编程技术网

Batch file WIX-卸载期间执行批处理文件

Batch file WIX-卸载期间执行批处理文件,batch-file,wix,action,uninstallation,Batch File,Wix,Action,Uninstallation,我需要在卸载期间执行批处理文件。有人能帮我吗 这是我的代码,它仍然不起作用: <CustomAction Id="Install" FileKey="test.bat" ExeCommand="" Return="asyncNoWait" Execute="deferred" Impersonate="no" /> <InstallExecuteSequence> <Custom Action="Uninstall" Before="RemoveFiles"

我需要在卸载期间执行批处理文件。有人能帮我吗

这是我的代码,它仍然不起作用:

<CustomAction Id="Install" FileKey="test.bat" ExeCommand="" Return="asyncNoWait" Execute="deferred" Impersonate="no" />
<InstallExecuteSequence>
    <Custom Action="Uninstall" Before="RemoveFiles">Installed</Custom>
</InstallExecuteSequence>

你有什么错误吗?请不要这样做!找出批处理文件中执行的操作,并查看是否有可能以支持的方式覆盖这些操作。