[Setup]: Encryption

Valid values:

Default value:

no
Description:

If set to yes, files that are compiled into the installation (via [Files] section entries) will be encrypted using ARCFOUR encryption, with a 160-bit key derived from the value of the Password [Setup] section directive.

Because of encryption import/export laws in some countries, encryption support is not included in the main Inno Setup installer and must be downloaded and installed separately if you wish to use it. See the Inno Setup Downloads [external link] page for more information.

If encryption is enabled and you call the ExtractTemporaryFile function from the [Code] section prior to the user entering the correct password, the function will fail unless the noencryption flag is used on the [Files] section entry for the file.

The key used for encryption is a 160-bit SHA-1 hash of 64-bit random salt plus the value of Password.