What I had to do to get it to work was: Make sure that the codepage for the Product element (msi) and the Package element (summary info) were separated. The Product element's Codepage (and/or the WXL file's Codepage) can be 65001 as long as you don't use MSI's UI, but the Package element's SummaryCodepage cannot be 65001. If you can limit yourself (in all of the Package's attributes) to 7-bit ASCII, you can use a SummaryCodepage of 0. Of course, that makes the Package attributes all non-localizable, but for all intents and purposes they are anyway (they never can be expressed in the Hindi language, or any other based on Unicode-only charsets).
<?define LANGUAGE_CODE="1081" ?> <?define LANGUAGE_CODEPAGE="65001" ?> <Package SummaryCodepage="0"/> -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jiamin Zhu Sent: Tuesday, July 15, 2008 4:42 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] LGHT0216 : An unexpected Win32 exception with error code0x654 occurred Is there a standard way to build MSI for Culture=HI? When I specify <Include> <?define LANGUAGE_CODE="0" ?> <?define LANGUAGE_CODEPAGE="65001" ?> </Include> I will get the following error: light.exe : error LGHT0216 : An unexpected Win32 exception with error code0x654 occurred: This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package But if I specify <Include> <?define LANGUAGE_CODE="1081" ?> <?define LANGUAGE_CODEPAGE="874" ?> </Include> Then it builds fine. But CODEPAGE="874" is not the CODEPAGE for HI, in fact, I am not sure what's the right code page to use. Does anyone has any idea? Thanks, Jiamin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users