<Strings> 元素(引导程序)
定义产品名称、包名称和安装错误消息的本地化字符串。
语法
<Strings>
<String
Name
>
</String>
</Strings>
元素和属性
Strings
元素是 Package
元素的一个子元素。 它不具有属性。
String
String
元素是 Strings
元素的一个子元素。 一个 Strings
元素可以包含一个或多个 String
元素。
String
具有以下属性。
属性 | 说明 |
---|---|
Name |
必需。 字符串的名称。 |
示例
下面的代码示例指定了 .NET Framework 安装程序的所有英文字符串。
<Strings>
<String Name="DisplayName">.NET Framework 2.0</String>
<String Name="Culture">en</String>
<String Name="AdminRequired">Administrator permissions are required to install the .NET Framework 2.0. Contact your administrator.</String>
<String Name="InvalidPlatformWin9x">Installation of the .NET Framework 2.0 is not supported on Windows 95. Contact your application vendor.</String>
<String Name="InvalidPlatformWinNT">Installation of the .NET Framework 2.0 is not supported on Windows NT 4.0. Contact your application vendor.</String>
<String Name="InvalidPlatformIE">Installation of the .NET Framework 2.0 requires Internet Explorer 5.01 or greater. Contact your application vendor.</String>
<String Name="InvalidPlatformArchitecture">This version of the .NET Framework 2.0 is not supported on a 64-bit operating system. Contact your application vendor.</String>
<String Name="WindowsInstallerImproperInstall">Due to an error with Windows Installer, the installation of the .NET Framework 2.0 cannot proceed.</String>
<String Name="AnotherInstanceRunning">Another instance of setup is already running. The running instance must complete before this setup can proceed.</String>
<String Name="BetaNDPFailure">A beta version of the .NET Framework was detected on the computer. Uninstall any previous beta versions of .NET Framework before continuing.</String>
<String Name="GeneralFailure">A failure occurred attempting to install the .NET Framework 2.0.</String>
<String Name="DotNetFXExe">http://go.microsoft.com/fwlink/?LinkId=37283</String>
<String Name="InstMsiAExe">http://go.microsoft.com/fwlink/?LinkId=37285</String>
<String Name="Msi30Exe">http://go.microsoft.com/fwlink/?LinkId=37287</String>
</Strings>