Lpksetup Command-Line Options

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

Lpksetup runs only on an online Windows operating system.

Lpksetup.exe is available with all default Windows installations.

Lpksetup.exe Command-Line Options

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

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

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-REGION

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 will be logged to the event log about the need to restart.

/p language_pack_path

Indicates the path of the language packs to install.

path

Can be a directory or a folder path.

/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.

Examples

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

lpksetup.exe /i * /p <path>

This example uninstalls two language packs. Lpksetup will be started in GUI mode but will not require user intervention.

lpksetup.exe /u ja-JP es-ES

This example installs three language packs stored on a remote computer.

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

See Also

Concepts

Manage Language Packs for Windows