Why are you reading the Error table? Just use ::MsiProcessMessage() to send a record with the error number set. Much easier.
How do you add rows to the Error table? Personally, I would start with the Error element. Sachin Dubey (Tata Consultancy Services) wrote: > Thanks Rob, > I am able to read the Error table, however it doesn't have the error messages > I am seeking. Is there any easy way of adding custom errors to error table? > > Thanks > Sachin > > -----Original Message----- > From: Rob Mensching [mailto:r...@wixtoolset.org] > Sent: Tuesday, May 19, 2009 5:12 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Accessing wxl file strings from c# custom actions. > > Use the Error table and it all just works. > > Sachin Dubey (Tata Consultancy Services) wrote: > >> Hi, >> >> I am curious if it is possible to access localized string text present in >> .wxl file within C# custom actions? >> I am suing DTF to access properties, and want to access localized text to >> configure error messages. Is there any other way for this or should I have >> resource file containing localized text for the custom actions. >> >> Thanks >> Sachin >> >> >> ------------------------------------------------------------------------------ >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensing option that enables >> unlimited royalty-free distribution of the report engine >> for externally facing server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users