Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Показать сообщение отдельно

Ветеран


Сообщения: 508
Благодарности: 140

Профиль | Отправить PM | Цитировать


ChVL
в корне папки программы InnoSetup есть файл ISCrypt.dll. Это модуль криптования, и его необходимо скачивать отдельно. Подробнее тут, там же и ссылка на закачку.

Цитата:
[Setup]: Encryption
Valid values:
yes or no
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 128-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 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 128-bit MD5 hash of 64-bit random salt plus the value of Password.
При распаковке инсталляционного файла, защищенного паролем, программа распаковки запросит пароль.

в скрипте добавить строки
Код: Выделить весь код
[Setup]:
Encryption=true
Password=123456

Последний раз редактировалось snark, 13-02-2008 в 08:27.

Это сообщение посчитали полезным следующие участники:

Отправлено: 22:45, 12-02-2008 | #151