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!
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)
Please log in to answer
Posted by:
brenthunter2005
18 years ago
Posted by:
siberian
18 years ago
Posted by:
brenthunter2005
18 years ago
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.
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.
so that the conversation will remain readable.