Kaspersky Security Center

Changing the limit on the size of custom installation package data

2 November 2024

ID 199338

The total size of data unpacked during creation of a custom installation package is limited. The default limit is 1 GB.

If you attempt to upload an archive file that contains data exceeding the current limit, an error message is displayed. You might have to increase this limit value when creating installation packages from large distribution packages.

To change the limit value for the custom installation package size:

  1. On the Administration Server device, run the command prompt under the account that was used to install Administration Server.
  2. Change your current directory to the Kaspersky Security Center installation folder (usually, <Disk>:\Program Files (x86)\Kaspersky Lab\Kaspersky Security Center).
  3. Depending on the type of Administration Server installation, enter one of the following commands, using administrator rights:
    • Normal local installation:

      klscflag -fset -pv klserver -n MaxArchivePkgSize -t d -v <number of bytes>

    • Installation on the Kaspersky Security Center failover cluster:

      klscflag -fset -pv klserver -n MaxArchivePkgSize -t d -v <number of bytes> --stp klfoc

    • Installation on a Windows Server failover cluster:

      klscflag -fset -pv klserver -n MaxArchivePkgSize -t d -v <number of bytes> --stp cluster

    Where <number of bytes> is a number of bytes in hexadecimal or decimal format.

    For example, if the required limit is 2 GB, you can specify the decimal value 2147483648 or the hexadecimal value 0x80000000. In this case, for a local installation of Administration Server, you can use the following command:

    klscflag -fset -pv klserver -n MaxArchivePkgSize -t d -v 2147483648

The limit on the size of custom installation package data is changed.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.