Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Lpksetup Command-Line Options

Published: October 22, 2009

Updated: October 22, 2009

Applies To: Windows 7

noteNote
This content applies to Windows 7. For Windows 8 content, see Windows Deployment with the Windows ADK.

You can use Lpksetup to perform unattended or silent-mode language-pack operations, such as adding or removing a language pack. It can be used only on a running Windows® operating system. Lpksetup.exe is available with all default Windows installations.

Lpksetup.exe Command-Line Options

The syntax to install a language pack using Lpksetup is:.

lpksetup.exe {/i [{* | <language_list>}] [/p <language_pack_path>] [{/r/f/a/s}]

The syntax to uninstall a language pack using Lpksetup is:.

lpksetup.exe /u [<language_list>] [{/r/f/a/s}]

 

Option Description

/?

Displays information about available LPKSetup command-line options.

/i

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

*

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

<language_list>

Specifies the language pack (or packs in a space-delimited list) 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. For example, en-US, fr-FR, en-GB.

/u

Uninstalls the specified language pack (or packs in a space-delimited list). This option cannot be used with the /i option. If you do not include <language_list> after the /u option, and if the /s option is not used, the program will start and you can uninstall through the GUI.

/p <language_pack_path>

Indicates the path of the language packs to install. If the /i and /s option are both used, the /p option is required.

<language_pack_path> can be a path to a folder or a network share. For example, C:\langpackfolder\ or \\networkshare\langpackfolder

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

/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, an error is returned and none of the specified language packs are installed or removed.

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

/s

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

Examples

This example installs all language packs that are located at a given location.

lpksetup /i * /p <language_pack_path>

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

lpksetup /u ja-JP es-ES

This example installs three language packs stored on a network share.

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

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.