我是 WIX 新手,我正在使用 Wix 3.8 VS 2012。我设法使用这个神奇的工具将 .msi 生成到 .exe。
从本教程: http: //max.zamorsky.name/node/78,我设法将安装程序更改为French
. 我想制作一个多语言安装程序,安装程序可以检测系统语言并继续安装。
我试图理解这个链接: http: //windows-installer-xml-wix-toolset.687559.n2.nabble.com/Localized-bundle-Picking-up-the-right-files-td7265208.html但我不能不明白。
请指导我如何制作这种类型的安装程序?需要你的帮助&谢谢。
捆绑包.WXS
<?xml version="1.0" encoding="UTF-8"?>
<?define SourceDirImages = "C:\Users\krangaraj\Documents\Visual Studio 2012\Projects\PrintUtility\SetupProjectInstaller" ?>
<?define SourceDoc = "C:\Users\krangaraj\Documents\Visual Studio 2012\Projects\PrintUtility\PrintUtilityExe" ?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
<Bundle Name="PrintUtility" Version="1.5" Manufacturer="DNP PIE SAS" IconSourceFile="PartyPrintInstaller.ico"
UpgradeCode="7ba74925-c154-4939-9c2e-a531eac0cd8a" >
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" >
<bal:WixStandardBootstrapperApplication SuppressOptionsUI="yes" SuppressRepair="yes"
LicenseFile="$(var.SourceDoc)\sample.rtf" ThemeFile="HyperlinkTheme.xml"
LocalizationFile="HyperlinkTheme.wxl"
ShowVersion="yes"
LogoFile="$(var.SourceDoc)\logo.jpg" LogoSideFile="$(var.SourceDoc)\SideLogo.jpg"/>
<!--For the French language -->
<Payload Compressed="yes" Name="1036\thm.wxl" SourceFile="1036\thm.wxl"/>
<!-- I would like to add German,Greek,English,Es,It,Jp,Ru,Turkish make a common installer
<Payload Compressed="yes" Name="1031\thm.wxl" SourceFile="1031\thm.wxl"/>
<Payload Compressed="yes" Name="1032\thm.wxl" SourceFile="1032\thm.wxl"/>
<Payload Compressed="yes" Name="1033\thm.wxl" SourceFile="1033\thm.wxl"/>
<Payload Compressed="yes" Name="1034\thm.wxl" SourceFile="1034\thm.wxl"/>
<Payload Compressed="yes" Name="1040\thm.wxl" SourceFile="1040\thm.wxl"/>
<Payload Compressed="yes" Name="1041\thm.wxl" SourceFile="1041\thm.wxl"/>
<Payload Compressed="yes" Name="1049\thm.wxl" SourceFile="1049\thm.wxl"/>
<Payload Compressed="yes" Name="1055\thm.wxl" SourceFile="1055\thm.wxl"/>-->
</BootstrapperApplicationRef>
<Chain>
<!-- TODO: Define the list of chained packages. -->
<MsiPackage SourceFile="$(var.SourceDirImages)\Product.msi"/>
</Chain>
</Bundle>
</Wix>