Poopis9
Posts: 1
Joined: Fri Sep 14, 2012 9:18 pm

Ignore Product Code

I've repackaged some software to accommodate a silent (unattended) install. The installer works great however...I have a bunch of clients that have had the software installed with the original installer and I need to silently uninstall it to upgrade them to something else. I'd like to use the newly created msi I built to uninstall it however the product codes don't match so when I run "msiexec /x new.msi /silent" it comes back with "This action is only valid for products that are currently installed".

So my question is...can I package the msi so that it ignores the product code and just uninstalls anyway? Changing the product code is out of the question since the original installer's product code is too long to fit in the advanced installer's product code field.
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Ignore Product Code

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

Please keep in mind that if your original package is MSI-based then its ProductCode and UpgradeCode properties will contain a standard GUID.

However, in order to achieve what you want you can take a look on our "Upgrade an older version of the package" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”