सेट है मेरे पास वीएस2012 में एक विक्स इंस्टॉलर प्रोजेक्ट है, जिसे मैंने पिछली बार ठीक किया था (लगभग एक सप्ताह पहले)। मैं आज वापस चला गया और लगभग 15 कोड पेज त्रुटियों मिलती है:डेटाबेस के कोडपेज में वर्णों के साथ Wix स्ट्रिंग उपलब्ध नहीं है हालांकि कोडपृष्ठ
Error 6 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.
इनमें से पहला निम्न पंक्ति पर होती है:
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine"
Manufacturer="(株)テイコク" />
और मुझे लगता है कि wix क्योंकि जापानी वर्णों के दुखी है। फिर भी उत्पाद घोषणा मैं 932 के लिए कोडपेज की स्थापना कर रहा हूँ, जो जापानी के लिए सही होना चाहिए में:
<Product Id="ED5351D0-BF25-4117-BB25-1F84D9AEC960" Codepage="932" Language="1041"
Name="各務原市農地支援・畑地管理システムインストーラー" Version="1.1.0.0"
Manufacturer="(株)テイコク" UpgradeCode="c21ce4f1-da24-4e4e-9e36-fece6e064487">
मैं वास्तव में नहीं क्या त्रुटि है या यह कैसे हल करने के लिए, खासकर जब से यह ठीक कुछ काम मिलता है
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:net="http://schemas.microsoft.com/wix/NetFxExtension">
<Product Id="ED5351D0-BF25-4117-BB25-1F84D9AEC960" Codepage="932" Language="1041" Name="各務原市農地支援・畑地管理システムインストーラー" Version="1.1.0.0" Manufacturer="(株)テイコク" UpgradeCode="c21ce4f1-da24-4e4e-9e36-fece6e064487">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Manufacturer="(株)テイコク" />
<UIRef Id="WixUI_Minimal" />
<UIRef Id="WixUI_ErrorProgressText" />
<PropertyRef Id="NETFRAMEWORK40CLIENT" />
<Condition Message="インストールするには.NETフレームワーク4.0が必要です。フレームワークをインストールしてからもう一度インストーラーを実行してください。">
<![CDATA[Installed OR NETFRAMEWORK40CLIENT]]>
</Condition>
<MajorUpgrade DowngradeErrorMessage="もっと新しいバージョンが既にインストールされています。" />
<MediaTemplate EmbedCab="yes" />
<Feature Id="ProductFeature" Title="MapManagerInstaller" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
<Icon Id="MapManager.exe" SourceFile="MapManager.exe" />
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="各務原市農地支援・畑地管理システム" />
</Directory>
<Directory Id="DesktopFolder" Name="Desktop">
</Directory>
<Directory Id="ProgramMenuFolder" Name="Programs">
<Directory Id ="ProgramMenuDir" Name="各務原市農地支援・畑地管理システム">
</Directory>
</Directory>
</Directory>
</Fragment>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<Component Id="MapManagerProgramFiles" Guid="E487204C-5CBC-48A4-9464-944752280F28">
<File Id="MapManagerExe" Name ="MapManager.exe">
<Shortcut Id="MapManagerDesktopShortcut" Directory="DesktopFolder" Name="各務原市農地支援・畑地管理システム" WorkingDirectory="INSTALLFOLDER" Icon="MapManager.exe" IconIndex="0" Advertise="yes" />
<Shortcut Id="MapManagerStartMenuShortcut" Directory="ProgramMenuDir" Name="各務原市農地支援・畑地管理システム" WorkingDirectory="INSTALLFOLDER" Icon="MapManager.exe" IconIndex="0" Advertise="yes" />
</File>
<File Id="AxInterop.SisLib" Name="AxInterop.SisLib.dll" />
<File Id="Interop.SisLib" Name="Interop.SisLib.dll" />
<File Id="ClassMap" Name="ClassMap.dll" />
<File Id="SuidenManager" Name="SuidenManager.dll" />
<File Id="HatachiManager" Name="HatachiManager.dll" />
<File Id="MapManagerShared" Name="MapManagerShared.dll" />
<RemoveFolder Id="INSTALLDIR" On="uninstall" />
</Component>
<Component Id="DesktopShortcut" Guid="EC6A71D9-C3D2-4CD8-B41F-4B677E841B01">
<Shortcut Id="DesktopShortcut" Name="各務原市農地支援・畑地管理システム" Target="[INSTALLFOLDER]MapManager.exe" WorkingDirectory="INSTALLFOLDER" />
<RemoveFolder Id="DesktopFolder" On ="uninstall" />
<RegistryValue Root="HKCU" Key="Software\MapMax\各務原市農地支援・畑地管理システム" Type="string" Value="" KeyPath="yes" />
</Component>
<Component Id="ProgramMenuDir" Guid="0A7DF00D-84F2-44D4-B5D5-B2F10B83FA29">
<RemoveFolder Id="ProgramMenuDir" On ="uninstall" />
<RegistryValue Root="HKCU" Key="Software\MapMax\各務原市農地支援・畑地管理システム" Type="string" Value="" KeyPath="yes" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>
अद्यतन:
एक चरित्र के साथ हर एक जापानी चरित्र की जगह दिन पहले ...
यहाँ पूर्ण Wix कोड मामले में यह आवश्यक है कोड पेज 1252 से ठीक काम करता है। ऐसा लगता है कि Wix कोड पृष्ठ विनिर्देश को अनदेखा कर रहा है और इसके बजाय डिफ़ॉल्ट 1252 का उपयोग कर रहा है ...
मैंने इसे एक नई Wix सेटअप प्रोजेक्ट में भी आजमाया है और मुझे एक ही समस्या मिल रही है।
कोई विचार?
संबंधित Wxl फ़ाइल में बस Vixlocalization @ CodePage को UTF-8 में बदल दिया। कृपया [यह प्रश्न।] देखें (http://stackoverflow.com/questions/12168895/leveraging-heat-exe-and-harvest-already-localized-file-names-and-cluding-them) – Durgesh