谁能帮我获取自定义脚本(即使用目标)示例来卸载已经安装在使用 MSBUILD 的服务器上的 msi 实例。
示例代码示例将更有帮助。
谢谢和问候,桑托什·库马尔·帕特罗
下面
提到的MSBUILD脚本帮助我卸载了MSI:
<Target Name="UnInstallMSI">
<Message Text="UnInstallation of MSI Started..." Importance="high"></Message>
<Exec Command='msiexec.exe /x "$(MSILocation)" /qn /l*vx "$(LogFile)"' ContinueOnError="false" />
<Message Text="UnInstallation of MSI Completed Successfully..." Importance="high"></Message>
</Target>
谢谢和问候,桑托什·库马尔·帕特罗