Are you using WCAUtil form your custom action? If you do, there is a call
WcaErrorMessage(), it has a prinf like syntax so it should be easy to use.
Your option is to call MsiProcessMessage() directly (see MSDN for
appropriate values for the eMessageType parameter). The values for the
placeholders goes in the hRecord parameter, again see MSDN for details.

 

Is the work you need to do to determine the installation state of the
product in question very complex? Other ways look at the LaunchCondition and
AppSearch tables respectively, you might be able to get away without having
to write a custom action.

 

Fredrik

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Leila Lali
(Excell Data Corporation)
Sent: Saturday, February 10, 2007 2:19 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Error 1604

 

Hi,

 

I need to show error 1604 for a custom action, this error is : The product
'[2]' is already installed, and has prevented the installation of this
product.

But the value of [2] is nothing in error dialog. I didn't find any sample or
doc for how to use these kind of errors.

 

Does anybody knows any doc about using these errors?

 

Thanks

Leila 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to