Compartilhar via


Lpksetup Command-Line Options (Standard 7 SP1)

7/8/2014

You can use Lpksetup.exe to perform unattended or silent-mode language pack operations.

Lpksetup.exe runs only on an online Standard 7 operating system.

Lpksetup.exe is available with all default Standard 7 installations.

Lpksetup.exe Command-Line Options

The following command-line options are available for Lpksetup.exe.

lpksetup.exe {/i [{* | language}] | /ulanguage} [/r] [/planguage_pack_path] [/s] [/f] [/a]

Option

Description

/i

Installs the specified language packs. Cannot be used with the /u option. If you do not include * or language after the /I option, the program will start and you can install through the user interface (UI).

*

Specifies a wildcard character that represents all language packs found in language_pack_path or the directory where Lpksetup.exe is located.

language

Specifies the language pack or packs to be installed or uninstalled. Use the format language-REGION for each language specified, where language is the lowercase ISO 639 language code, and REGION is the uppercase ISO 3166-1 country/region identifier.

/u

Uninstalls the specified language packs. Cannot be used with the /I option. If you do not include language after the /u option, the program will start and you can uninstall through the UI.

/r

Suppresses the need to restart after an operation is complete. A message is logged to the event log about the need to restart.

/p path

Indicates the path of the language packs to install.

path

Can be a directory or a folder path.

language_pack_path

Performs a silent and unattended operation that requires no user input. The UI is suppressed.

/s

Performs a silent and unattended operation that requires no user input. The UI is suppressed.

/f

If the computer must restart, forces a restart even if there are other users logged on to the computer.

/a

Verifies that all listed language packs can be installed or removed before processing. If any of the language packs cannot be installed or removed, and error is returned and none of the specified language packs are installed or removed.

If you do not include the /a parameter, all specified language packs are installed or removed except the one(s) that failed, an entry is created in the Event log, and the operation is returned as successful.

Examples

The following example installs all language packs that are located on installation media.

lpksetup.exe /i * /p path

The following example uninstalls two language packs. Lpksetup.exe is started in GUI mode but does not require user intervention.

lpksetup.exe /u ja-JP es-ES

The following example installs three language packs stored on a remote computer.

lpksetup.exe /i ja-JP en-US es-ES /r /s /p \\networkpath\languagepackfolder