We have moved the RemoveExistingProduct action so that it exists after InstallValidate in the Execute Immediate script. The files are removed during the RemoveExistingProducts action, but various .DLLs are not getting reinstalled during the upgrade. How can we fix this?
During costing, Windows Installer determines which version of a file exists on the computer. Since the older version are not removed until the RemoveExistingProducts action. It is during Costing (CostInitialize) that Windows Installer determines whether it is running a newer or the same version as what is in the upgrade. If the version is newer or the same, it can determine that it doesn't need to place down the file.
To make it so that the files are always replaced during an upgrade, move the RemoveExistingProduct action above the CostInitialize action in the Execute Immediate script. Doing it this way the previous version is uninstalled prior to costing and Windows Installer will install all the files in the upgrade installation.
Imported Document Id
This is machine translated content
Login to Subscribe
Please login to set up your
For security reasons, your link to this document has expired. Please click on the attachment link to access this file.
The attachment that you are looking for no longer exists.
There has been an issue retrieving your attachment. Please try again.
Currently server is down.
Didn't find the article you were looking for? Try these resources.