Hello,

I am writing a managed custom action. I am using the DTF Framework from Windows 
Installer Xml to wrap the managed dll into a usable CA dll. 
The CA does what it is supposed to, but I am still having trouble with error 
handling:

Dim record As New Record(1)
' Field 0 intentionally left blank
' Field 1 contains error number
record(1) = 27533
session.Message(InstallMessage.Error, record)

The above code produces the following text shown in the MSI log:

MSI (c) (C4 ! C6) [13:15:08:749]: Product: TestMSI -- Error 27533. The 
case-sensitive passwords do not match.  

The error number refers to the code contained in the error table within the 
MSI. 
The message shown above is correct.

My problem is: Why does Windows Installer NOT create a dialog notifying the 
user about the error? And how do I get it to show a dialog?

I hope someone can help me.

Best regards,
Christian.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to