/build/static/layout/Breadcrumb_cap_w.png

How can I change the default error messages of MSI?

Hi, I would like to know how can I change the error messages of a MSI.
For example, trying to install a already installed msi will cause windows to pop up "Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs in Control Panel" since it got error ERROR_PRODUCT_VERSION(1638)
and I want to change the message beacuse it is cunfusion.[:-]

I know I was supposed to edit msi with orca, open the Error table(msdn claims that), and change the "message" column of error #1638. But my msi's Error table is empty, I tried to add a row, and set its error column to 1638, but nothing changed. It still pops up the default error message.

My msi is just a "normal" msi created by VS deploy project. I have a look at microsoft's sample msi(s), and some of them has a empty Error table too.
Can anyone help? Thanks!

0 Comments   [ + ] Show comments

Answers (4)

Posted by: siberian 18 years ago
Senior Yellow Belt
0
No one knows?[X(]
Posted by: brenthunter2005 18 years ago
Fifth Degree Brown Belt
0
I pretty sure you can not change the error messages, unless you want to ResourceHack the windows installer engine (which is NOT a good idea!!!).
Posted by: siberian 18 years ago
Senior Yellow Belt
0
wo[&:]
but what is the Error table for? maybe some of them can be changed?[:-]I looked at microsoft's sample MSI's error table, only some of error codes are listed. and 1638 is not.
Posted by: brenthunter2005 18 years ago
Fifth Degree Brown Belt
0
You can use the 'Error' table to edit existing error messages or create new error messages for custom action error return codes etc.

With regards to error code 1638, it is an internal return value from the windows installer engine itself. Hence you will not find this in the 'Error' table because unfortunately it can not be edited.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ