共用方式為


<Strings> 項目 (啟動載入器)

定義產品名稱、套件 (Package) 名稱和安裝錯誤訊息的當地語系化字串。

<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">https://go.microsoft.com/fwlink/?LinkId=37283</String>
        <String Name="InstMsiAExe">https://go.microsoft.com/fwlink/?LinkId=37285</String>
        <String Name="Msi30Exe">https://go.microsoft.com/fwlink/?LinkId=37287</String>
    </Strings>

請參閱

參考

<Package> 項目 (啟動載入器)