简体   繁体   English

Wix 中的符号 (candle.exe) 错误 LGHT0311,windows-1252

[英]Symbole in Wix (candle.exe) error LGHT0311, windows-1252

I am trying to harvest some folders with heat,candle and light.我试图用热、蜡烛和光来收获一些文件夹。 One of the drivers that I am harvesting have 32bits dll that have a "®" symbole inside it's description (and it's product name).我正在收集的驱动程序之一有 32 位 dll,在它的描述(和它的产品名称)中有一个“®”符号。

one of them : name: mfx_mft_h264vd_32.dll , description : H.264 Decoder MFT for Intel® HD Graphics其中之一:名称:mfx_mft_h264vd_32.dll,描述:适用于英特尔® 高清显卡的 H.264 解码器 MFT

During the heat.exe harvest it is able to handle it :在 heat.exe 收获期间,它能够处理它:

<Component Id="cmp9558AE64A7F57EA5334374D64EF8923F" Guid="9D4432DB-793C-4D1B-A264-C19DE7BDA0CA">
                    <File Id="filB8B8F8A50451F85AED239C3A3C4F0B92" KeyPath="yes" Source="$(var.SourceDirectory)\win32\mfx_mft_h264vd_32.dll">
                        <Class Id="{1A1703E9-3E7C-41C3-AD5A-795CBFB19552}" Context="InprocServer32" Description="H.264 Decoder MFT for Intel® HD Graphics" ThreadingModel="both" />
                    </File>
                    <RegistryValue Root="HKCR" Key="MediaFoundation\Transforms\1a1703e9-3e7c-41c3-ad5a-795cbfb19552" Value="H.264 Decoder MFT for Intel® HD Graphics" Type="string" Action="write" />
                    <RegistryValue Root="HKCR" Key="MediaFoundation\Transforms\1a1703e9-3e7c-41c3-ad5a-795cbfb19552" Name="InputTypes" Value="7669647300001000800000AA00389B714832363400001000800000AA00389B717669647300001000800000AA00389B714832363400001000900000AA00389B717669647300001000800000AA00389B714156433100001000800000AA00389B71" Type="binary" Action="write" />
                    <RegistryValue Root="HKCR" Key="MediaFoundation\Transforms\1a1703e9-3e7c-41c3-ad5a-795cbfb19552" Name="OutputTypes" Value="7669647300001000800000AA00389B714E5631326139AE42BA67FF47CCC13EED7669647300001000800000AA00389B714E56313200001000800000AA00389B71" Type="binary" Action="write" />
                    <RegistryValue Root="HKCR" Key="MediaFoundation\Transforms\1a1703e9-3e7c-41c3-ad5a-795cbfb19552" Name="Attributes" Value="41464D490100000015CBA788077B344A9128E64C6703C4D313000000000000000700000000000000" Type="binary" Action="write" />
                    <RegistryValue Root="HKCR" Key="MediaFoundation\Transforms\1a1703e9-3e7c-41c3-ad5a-795cbfb19552" Name="MFTFlags" Value="36" Type="integer" Action="write" />
                    <RegistryValue Root="HKCR" Key="MediaFoundation\Transforms\Categories\d6c02d4b-6833-45b4-971a-05a4b04bab91\1a1703e9-3e7c-41c3-ad5a-795cbfb19552" Value="" Type="string" Action="write" />
                </Component>

The problem is when I try to use candle.exe, it return the error message:问题是当我尝试使用 candle.exe 时,它​​返回错误消息:

C:\MultipackageInstaller\Developments\MultipackageInstaller\ComponentMsiOSConfig\WixTemplate\HarvestedFiles.wxs(846) : error LGHT0311 : A string was provided with characters that are not available in the specified 
database code page '1252'. Either change these characters to ones that exist in the database's code page, or update the database's code page by modifying one of the following attributes: Product/@Codepage, Module/@
Codepage, Patch/@Codepage, PatchCreation/@Codepage, or WixLocalization/@Codepage.
C:\MultipackageInstaller\Developments\MultipackageInstaller\ComponentMsiOSConfig\WixTemplate\HarvestedFiles.wxs(848) : error LGHT0311 : A string was provided with characters that are not available in the specified 
database code page '1252'. Either change these characters to ones that exist in the database's code page, or update the database's code page by modifying one of the following attributes: Product/@Codepage, Module/@
Codepage, Patch/@Codepage, PatchCreation/@Codepage, or WixLocalization/@Codepage.

So I looked to the code page 1252 and it seem that the "®" is handle by this encoding format.所以我查看了代码页 1252,似乎“®”是由这种编码格式处理的。 ( https://en.wikipedia.org/wiki/Windows-1252 ) ( https://en.wikipedia.org/wiki/Windows-1252 )

I tried to force the code format to wix, but no changes.我试图强制代码格式 wix,但没有改变。

Do you have an idea why do I haves thoses messages?你知道我为什么会有这些信息吗? Is it indeed the "®" symbole the problem?确实是“®”象征问题吗? And why it is not supported by wix either if it is in the codepage 1252?如果它在代码页 1252 中,为什么 wix 也不支持它? and finaly, what solutions do I have?最后,我有什么解决方案?

Thank you to have read me until there, and I hope that someone have an idea on this谢谢你一直读到我,我希望有人对此有所了解

Apparently it was a problem with the visual studio cache.显然这是 Visual Studio 缓存的问题。

I can't really explain it, but after clean my "AppData\\Roaming\\Microsoft\\VisualStudio" folder, and rebuildt everything, I didn't have the problem anymore.我无法真正解释它,但是在清理我的“AppData\\Roaming\\Microsoft\\VisualStudio”文件夹并重建所有内容后,我不再有问题了。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Wix Toolset应用程序中包含License.rtf文件时出错LGHT0311 - error LGHT0311 while including License.rtf file in Wix Toolset Application 在许可证对话框中显示的RTF文件上的LGHT0311错误 - LGHT0311 error on RTF file to be shown in licence dialog Wix 3.7:Candle.exe从命令行崩溃 - Wix 3.7: candle.exe crashes from command line 构建Wix解决方案时,Candle.exe没有为特定项目运行 - Candle.exe not running for specific project while building wix solution Jenkins 中的 WiX:candle.exe:错误 CNDL0103:系统找不到类型为“Source”的文件 Product_PHP.wxs' - WiX in Jenkins: candle.exe : error CNDL0103 : The system cannot find the file Product_PHP.wxs' with type 'Source' Candle.exe访问被拒绝 - candle.exe access is denied 如何使用-fips或。强制执行candle.exe FIPS <FipsCompliant> 真正 </FipsCompliant> ? - How to enforce candle.exe FIPS with -fips or <FipsCompliant>true</FipsCompliant>? 获取错误 candle.exe:错误 CNDL0103:系统找不到类型为“Source”的文件“Product.wxs” - Getting error candle.exe : error CNDL0103 : The system cannot find the file 'Product.wxs' with type 'Source' 蜡烛.exe 错误 CNDL0027:文件/@Name 属性的值 testdata.value.dll 不是有效的 8.3 兼容名称 - candle.exe error CNDL0027 : The File/@Name attribute's value testdata.value.dll is not a valid 8.3-compliant name 在CNDL0150的Candle.exe中使用$(env.VCINSTALLDIR)失败 - Using $(env.VCINSTALLDIR) fails in candle.exe with CNDL0150
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM