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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
No one knows?[X(]
Answered 12/01/2005 by: siberian
Senior Yellow Belt

Please log in to comment
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!!!).
Answered 12/01/2005 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
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.
Answered 12/01/2005 by: siberian
Senior Yellow Belt

Please log in to comment
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.
Answered 12/01/2005 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity