I am trying to create a package and I was tasked to automate the uninstallation the old version while installing the new one.
I already found the GUID of the old product code and put it as :
msiexec /x {old-product-key} /qb
Now I want to include also the new product code and be able to uninstall it quietly too in the software center.
So what would be the command-line for the uninstallation of the new code as well?
msiexec /x "newfilename.msi" {old-product-key} /qb