문제

Can anyone help me to get the custom script (i.e. using Target) sample to uninstall the msi instance which is already installed on a server using MSBUILD.

A sample code example will be more helpful.

Thanks & Regards, Santosh Kumar Patro

도움이 되었습니까?

해결책

The below mentioned MSBUILD script helped me to uninstall the msi:

<Target Name="UnInstallMSI">
    <Message  Text="UnInstallation of MSI Started..." Importance="high"></Message>
    <Exec Command='msiexec.exe /x &quot;$(MSILocation)&quot; /qn /l*vx &quot;$(LogFile)&quot;' ContinueOnError="false" />
    <Message  Text="UnInstallation of MSI Completed Successfully..." Importance="high"></Message>
  </Target>

Thanks & Regards, Santosh Kumar Patro

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top