Jason can answer better then me, but I'm guessing that the Session.Message( InstallMessage ... ) doesn't fully expose this capability of MsiProcessMessage.
Also of interest to me are 5 enum values that don't seem to map up to the API. I'm not sure what they are: InstallMessage.InstallEnd InstallMessage.InstallStart InstallMessage.Initialize InstallMessage.ShowDialog InstallMessage.Terminate --- On Tue, 12/16/08, Jacob, Christian <cja...@toptechnologies.de> wrote: > From: Jacob, Christian <cja...@toptechnologies.de> > Subject: [WiX-users] Problem with error handling of managed custom actions > To: "wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net> > Date: Tuesday, December 16, 2008, 7:58 AM > 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 ------------------------------------------------------------------------------ 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