MSIEXEC\windows Installer and Server 2008 R2, problem uninstalling
Posted on 2012-09-17
I have a BASIC MSI (IS 2010 Pro). It does an upgrade of a product and the removal of a previous version. Problem is that (before my time), there are two installed products that have the same upgrade code, so, the upgrade table cannot be used as it will uninstall both products. So I am executing a 'VBscript (msiexec /x [guid} /qn' (tried createprocess and execute shell, but get the message about another installer already running). This works fine on windows 7, but not on Server 2008 R2. On the R2 system, the log shows the Vbscript is executed with a Return value of 1), and the uninstall does not happen. If executed from the command line (with the '/qn'), this works ok, double clicking on the MSI, it does not uninstall the previous version. If I remove the '/qn', and respond to the user prompts when it executes the vbscript (executing by double clicking the msi file), the previous product is uninstalled when done. What is gong on on the R2 server?