Hi,
I have a requirement to uninstall the MSI immediately after completing the installation using a Power Shell Script. Could you please let me know how to achieve that?
I am using the code below to do that "msiexec /uninstall "{66F0FF56-7139-48D7-BB00-B39F6A93A93D}" /qn".
I would like to make it dynamic which means "{66F0FF56-7139-48D7-BB00-B39F6A93A93D}" should be replaced with some thing like session.property("ProductCode") which will read the value directly from advanced installer properties and uninstall the package after finishing the installation. Could you please gudide me in achieving this.
Regards,
G.V.N.Sandeep