PDA

View Full Version : Customize message for "Another version of this product is already installed"



alenka
08-12-2004, 10:15 AM
During the installation, if another version of the application is already installed on the computer, the InstallShield pops up a message "Another version of ... is already installed on this computer". Is there a way to customize this message?

Thanks

Mike Marino
08-12-2004, 09:28 PM
This is not an InstallShield message, but rather a Windows Installer message. It cannot be changed in Express (short of doing something to hook MSI errors). You can find this string in msi.dll resource number 1638 if you are curious.

This occurs when trying to install an MSI file on a system where the Product Code of theMSI matches an already installed MSI, but the package codes are different.

If the package codes match, maintenace mode will be started.

alenka
08-13-2004, 08:06 AM
I am thinking about getting InstallShield Professional, would it be possible to customize Windows Installer messages with it?

Mike Marino
08-13-2004, 06:17 PM
If you are using an MSI based setup, you can customize Windows Installer Error Messages. However you cannot customize the messages that MSI throws for Windows Installer Error Codes.

Confused? The best place to see the errors messages you can customize is the MSI help file in the topic:

Windows Installer Error Messages [Windows Installer]

The error code are documented at:

Error Codes [Windows Installer]

For the most part, you can change the text of most errors the end user would see.