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
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 "$(MSILocation)" /qn /l*vx "$(LogFile)"' ContinueOnError="false" />
<Message Text="UnInstallation of MSI Completed Successfully..." Importance="high"></Message>
</Target>
Thanks & Regards, Santosh Kumar Patro