Перейти из форума на сайт.

НовостиФайловые архивы
ПоискАктивные темыТоп лист
ПравилаКто в on-line?
Вход Забыли пароль? Первый раз на этом сайте? Регистрация
Компьютерный форум Ru.Board » Компьютеры » Программы » Inno Setup (создание инсталяционных пакетов)

Модерирует : gyra, Maz

Widok (23-04-2007 18:02): лимит страниц. продолжаем здесь  Версия для печати • ПодписатьсяДобавить в закладки
Страницы: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108

   

haav



Junior Member
Редактировать | Профиль | Сообщение | ICQ | Цитировать | Сообщить модератору

 
 
Это мощное средство для создания установочных пакетов [дистрибутивов] программ. Поддерживается шифрование, установка пароля, различные задачи по завершении установки. Можно легко самим создавать диалоги, используя спец. дизайнер. И всё это абсолютно бесплатно! По сравнению с NullSoft [основной конкурент на бесплатной ниве] мне albel понравилась более интуитивно-понятная структура скрипта, простота в настройке.  
 
Последний релиз: 5.1.11 [1 Марта 2007 года]
История версий | скачать  
 
Русификатор от NightW0lf для версии 5.1.11  
Скачать | зеркало
 
Русская справка к версиям 5.0.xx
Скачать | зеркало || cкачать в .chm формате
И снова BagIra на высоте
 
Руководство по расширенным возможностям Inno Setup 5 [не для чайников] от Kindly
[3 версия]  
Скачать | зеркало
[4 версия]  
Скачать | зеркало
[5 версия]  
Скачать | зеркало
 
Inno Setup Extensions Knowledge Base  
Скачать | зеркало
 
Примечание: начиная с версии 5.1.10 в Inno Setup при использовании в инсталляторе фонового изображения формата BMP стало глючить возможность растягивания картинки на весь экран - чтобы это исправить добавьте этот код.
Если вы захотите использовать метод проверки внешнего файла через сумму MD5 [который описан в 5 версии руководства по программированию в Inno Setup] для запуска инсталлятора то вам понадобится калькулятор суммы MD5, калькулятор сумм MD5, SHA-256, CRC32. Если вы хотите узнать какие ключи в реестр вносит та или иная программа [или игра] то Вам понадобится RegShot.



Дополнительные утилиты для Inno Setup



ISTool
 
www.istool.org
 
Последний релиз: 5.1.8 [18 Октября 2006 года] New
Скачать | зеркало  
[как сказано в описании изменений, добавлена поддержка новых директив 5.1.8]
 
Русификатор
Скачать | зеркало


 
Распаковщик установок, сделанных с помощью Inno Setup. При распаковке извлекаются  ресурсы и скрипт установки [немного усечённый]. Возможно подключение к TotalCommander или FAR с помощью MultiArc плагинов.
 
Поддерживает распаковку инсталляторов, сделанных с помощью Inno Setup начиная с версии 3.0.0-beta по 5.1.10
 
Последний релиз: 0.19
Скачать | зеркало


 
Удобная оболочка для облегчения написания скриптов установки для INNO SETUP. Обладает некоторыми полезными функциями, которых нет ни у самого INNO, ни у ISTool.
 
Последний релиз: 5.1.6.9 [09 Июль 2006 года]
Скачать 4.2 мб | обновление 3.1 мб
 
Русификатор от GloThin
Скачать с сайта GloThin | Зеркало | Зеркало | зеркало
Пароль: ruboard
Примечание: офф. сайт косо отображается в Oper`е.
 
Новое название проекта на сайте, похоже произошла замена ScriptMaker на:
 
Inno Script Generator

Последний релиз: 1.02.5 [02 Апреля 2007 года]
Скачать | обновление
Примечание: обновление ставится только на Inno Setup Quickstartpack 5.1.11.

Всего записей: 67 | Зарегистр. 11-12-2001 | Отправлено: 15:23 09-10-2002 | Исправлено: NightW0lf, 15:16 15-04-2007
ironwit

Advanced Member
Редактировать | Профиль | Сообщение | ICQ | Цитировать | Сообщить модератору
Ребята, можно ли написать скрипт, в котором проверить определенный ключ реестра и взависимости от результата установить или нет какое нить дополнительное приложение.
 
Заранее спасибо
 
Добавлено
Вопрос снят. Разобрался...

----------
Don't drink, and drive. Smoke and fly.

Всего записей: 1892 | Зарегистр. 11-10-2002 | Отправлено: 09:55 04-03-2004
4get

Advanced Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
консольный распаковщик (в комплекте есть конфиг для FAR Manager + MultiArc)
 
Inno Setup Unpacker
Supports Inno Setup versions 3.0.0-beta through 4.1.8
 
Inno Setup is a popular program for making software installations. Unfortunately, it is one way - once made, there is no official method of getting the files from the self-extracting executable other than running it. One piece of software that addresses this issue is InstallExplorer, a plug-in for the FAR Manager that unpacks several types of installations, including those made by some older versions of Inno Setup (IS). It is no longer updated, and it does not work for IS versions 4.x.
 
Innounp is a little different: it is open source and it is based on IS source. Therefore, it is more likely to support future IS versions.

 
Homepage: http://innounp.sf.net
Download from: http://sourceforge.net/project/showfiles.php?group_id=102423
Forum: http://sourceforge.net/forum/forum.php?forum_id=353235
SF.net project page: http://sourceforge.net/projects/innounp/

Всего записей: 956 | Зарегистр. 19-09-2001 | Отправлено: 09:02 24-03-2004
The Unforgiven



Silver Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
4get
Спасибо огромное!
 
Добавлено
Просто супер

Всего записей: 3665 | Зарегистр. 20-12-2001 | Отправлено: 14:51 24-03-2004
Farch



Silver Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Inno Setup 4.2.0
 
4.2.0 (2004-03-19)
 
Changed the way Setup handles situations where a file already exists on the user's system and it has the same version number as the file being installed.  
The new behavior: It now compares the contents of the two files, and replaces the existing file if they are different in any way. (The comparetimestamp flag has no effect.)  
The old behavior: Before, it never replaced the existing file, except when the comparetimestamp flag was used and the existing file had an older time stamp.  
The new behavior has two advantages:  
If an existing file is partially corrupted, it will now be replaced. Previously, it compared only the version numbers and not the content of the files; as long as the version info portion of the existing file was intact, the file would not be replaced.  
It is now less critical that you increment the version numbers of your executables with every release. Previously, if you forgot to increment a file's version number in a new release, that file wouldn't be replaced on the user's system (assuming you didn't use the ignoreversion flag). Now that it additionally checks the contents of the files, this is no longer an issue.  
It's now possible to set the time/date stamps of installed files by using the new touch flag supported by the [Files] section, and the new [Setup] section directives TouchFileDate and TouchFileTime.  
Improved the "auto-retry" feature of the [Files] section:  
Now, it only automatically retries when an existing file cannot be replaced because it is in use (as opposed to retrying on every error condition, which wasn't very helpful).  
It now retries on both silent on non-silent installs (as opposed to just silent installs).  
This feature is now documented in the Remarks section of the [Files] section documentation.  
Added a Languages subdirectory with official Dutch and German translations. (ML & Michael Reitz)  
Added new Languages.iss and Components.iss example scripts. (ML, JR)  
Now ensures file I/O error messages are always properly localized. Previously, certain rarely-encountered I/O error messages were fixed in English.  
Now internally uses MD5 instead of CRC for file checksums.  
Added support function GetMD5OfFile. (ML)  
Based on Innerfuse Pascal Script 3 CVS code from 2004-03-19 13:00 GMT.  
Minor tweaks.  

Всего записей: 3211 | Зарегистр. 25-12-2001 | Отправлено: 19:12 26-03-2004 | Исправлено: Farch, 10:04 27-03-2004
vels



Silver Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Inno Setup 4.2.1
http://files.jrsoftware.org/is/4/isetup-4.2.1.exe
(0.95Mb)

Всего записей: 2169 | Зарегистр. 02-03-2002 | Отправлено: 13:30 04-04-2004
Widok



Moderator-Следопыт
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Русификатор InnoSetup Compiler 4.2.1 от Alex(ALSP)
http://msilab.ru/show.php?rus=165

----------
Тень превращается в фантазии, таящиеся в глубине вашей души.
Пока идёшь ты среди теней, да не будет зла с тобой.

Всего записей: 24190 | Зарегистр. 07-04-2002 | Отправлено: 15:54 10-04-2004
SAVage22



Advanced Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Inno Setup 4.2.2

Цитата:
4.2.2 (2004-04-27)
Added support for file encryption: if [Setup] section directive Password is set, you can now enable 128-bit ARCFOUR encryption on your files by setting the new [Setup] section directive Encryption to yes. Thanks to Andrew Fiddian-Green for his initial work on this. (ML)
Note: 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. See the Inno Setup Downloads page for more information.
New [Files] section flag: noencryption, which prevents a file from being stored encrypted. Use this flag on an entry if you have enabled encryption but want to be able to extract the file using the [Code] section support function ExtractTemporaryFile before the user has entered the correct password.
Added a new NameAndVersion message to the [CustomMessages] section of Default.isl and all official translations.
Added official Catalan, Polish and Russian translations.
The LanguageName directive of the [LangOptions] section is now internally stored as a Unicode string. This allows languages of different code pages to displayed simultaneously and correctly in the Select Language dialog's combo box on NT-based platforms. To embed Unicode characters, use "<nnnn>", where "nnnn" is the 4-digit hexadecimal Unicode character code. You can find Unicode character codes of characters using the Character Map accessory included with Windows 2000 and later.
The [LangOptions] section now supports a new directive: LanguageCodePage. By default, languages whose code page does not match the active code page of the user's system will not be presented as an option in the Select Language dialog's combo box. The goal of this is to hide languages that can't be displayed properly on the user's system. For example, Russian text can't be displayed properly unless the code page is 1251, so there is little reason to list Russian as an option if the system is running in a different code page.
If you wish to restore the old behavior -- that is, show all languages regardless of the active code page -- add the following lines to your script:
 
[LangOptions]
LanguageCodePage=0  
The log file (/LOG) now shows the date/time stamps of files.
Based on RemObjects Pascal Script SVN code revision 898. See the RemObjects Pascal Script announcement for more information about the name change of Innerfuse Pascal Script. (ML)
Minor tweaks.

download.

Всего записей: 1104 | Зарегистр. 30-12-2003 | Отправлено: 03:56 28-04-2004
SAVage22



Advanced Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Inno Setup 4.2.3

Цитата:
4.2.3 (2004-05-20)
New flag supported by the [Components] and [Tasks] sections: dontinheritcheck, which specifies that the component/task should not automatically become checked when its parent is checked.
Added support function MakePendingFileRenameOperationsChecksum. (ML)
The components and tasks list boxes now include support for Active Accessibility. This should make it possible for MSAA-aware screen readers (including Windows' Narrator) to determine the types of items and whether they are checked.
Compiler: Decreased memory requirements and improved speed when compiling scripts containing tens of thousands of files.
Fix: Uninstaller: When administrative privileges are required for the uninstall and the user doesn't have write permission to the program directory, display OnlyAdminCanUninstall message instead of "Access denied".
Fix: When using InstExec() on version 4.2.1 and 4.2.2, the focus in some cases didn't return to Setup after the spawned program terminated.
Fix: Fixed problem reported by Rich B in "Error on reboot - File Not Found" thread on newsgroup, 2004-05-14.
Fix: Compiler IDE: Work around Windows 9x WM_COPYDATA bug that may have resulted in a fatal page fault error while debugging.
The compiler now flags two more DLLs as "unsafe": URLMON.DLL and WININET.DLL.
Added official Portuguese (Standard) translation.
Minor tweaks.

download mirror

Всего записей: 1104 | Зарегистр. 30-12-2003 | Отправлено: 04:55 21-05-2004
Farch



Silver Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
господа , кто знает как добавить LIVE UPDATE к inno setup ? или заявить о его добаве разработчику. сервис указанный на оффсайте - не работает. регистрируюсь и он говорит что у  меня нет прав для добавления нового топика.

Всего записей: 3211 | Зарегистр. 25-12-2001 | Отправлено: 13:49 21-05-2004
mr_eoi



Silver Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
All
Обновился распаковщик InnoSetup инсталляций (вплоть до версии 4.2.2)
http://sourceforge.net/projects/innounp/

Всего записей: 2187 | Зарегистр. 10-08-2003 | Отправлено: 17:09 26-05-2004 | Исправлено: mr_eoi, 17:13 26-05-2004
mr_eoi



Silver Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Inno Setup 4.2.4
_http://files.jrsoftware.org/is/4/isetup-4.2.4.exe
Content-Length: 1017863 (995 KB)

Цитата:
4.2.4 (2004-06-01)
 
The uninstaller now does all DLL/TLB/font unregistration in a separate step before any files are deleted. Previously, each file was unregistered just before it was deleted.  
Added new [Setup] section directive AppModifyPath which enables you to display a separate "Modify" button in the Add/Remove Programs Control Panel applet in Windows 2000/XP. (ML)  
Added new [Setup] section directives AppComments, AppContact and AppReadmeFile which are all used for display purposes on the "Support" dialog of the Add/Remove Programs Control Panel applet in Windows 2000/XP. (ML)  
Added new event function: GetCustomSetupExitCode. (ML)  
Added new support functions: RegGetValueNames, RegDeleteKeyIncludingSubKeys, RegDeleteKeyIfEmpty, RegDeleteValue and CoFreeUnusedLibraries. (ML)  
The automatic Windows File Protection checking introduced in 4.2.1 is no longer done on Windows Me. Two Me users reported that this made the file extraction part of the install process (where SfcIsFileProtected was called) dramatically slower. I have no idea why; I could not reproduce the slowness in my tests on Windows Me. Nevertheless, it's been disabled on Windows Me. It wasn't important anyway.  
CodeClasses.iss wouldn't compile in 4.2.3 due to changed TNewCheckListBox function prototypes. Fixed.  
The uninstall program's version is now 51.14.0.0.  
Minor tweaks.  
 


Всего записей: 2187 | Зарегистр. 10-08-2003 | Отправлено: 22:57 01-06-2004
Cyber78



Advanced Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Подскажите как создать что то типа нескольких Radio Button, в зависмости от выбора писать в реестр то или другое ?

----------
==Повторяю ошибки других, чтобы меня не считали неучем.==

Всего записей: 754 | Зарегистр. 08-02-2002 | Отправлено: 14:24 09-06-2004
mr_eoi



Silver Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Inno Setup 4.2.5
_http://files.jrsoftware.org/is/4/isetup-4.2.5.exe
Content-Length: 998001 (975 KB)

Цитата:
4.2.5 (2004-06-14)
 
[Setup] section directive AppId may now include constants. If you use a {code:..} constant to allow your user to customize AppId, you do not need to return the real value until just before the installation starts: if necessary you may return an empty or generic value at earlier times. If not empty, this value will only be used to attempt to restore previous install settings (like the settings stored by [Setup] section directive UsePreviousAppDir). If empty, it isn't used for anything. (ML)  
If AppName includes constants, it will now again be used as the default for AppId just like before 4.2.1 when AppName didn't support constants yet. (ML)  
Removed support for the obsolete zip compression algorithm. This decreases the size of compiled installations by about 6 KB.  
Setup now displays task group descriptions in the Ready to Install memo too. (ML)  
New flag supported by the [Files] section: nocompression, which prevents the compiler from attempting to compress the file. Use this flag on file types that you know can't benefit from compression (for example, JPEG images) to speed up the compilation process and save a few bytes in the resulting installation.  
New flag supported by the [Files] section: dontverifychecksum, which prevents Setup from verifying the file checksum after extraction. Use this flag on files you wish to modify while already compiled into Setup. If used, must be combined with nocompression. (ML)  
New [Setup] section directive MergeDuplicateFiles, which replaces the confusingly-named DontMergeDuplicateFiles directive.  
Setup now supports a /PASSWORD= command line parameter. (ML)
Note: if you have a CheckPassword event function and your users run Setup with both the /PASSWORD= and /SILENT command line parameters set, your CheckPassword function will be called *before* any other event function is called, including InitializeSetup.  
The uninstaller now supports a /VERYSILENT command line parameter just like Setup. /VERYSILENT does the same as /SILENT but additionally hides the progress window and reboots when necessary without asking (unless /NORESTART is also used). (ML)  
Setup now supports a /RESTARTEXITCODE= command line parameter. (ML)
 
Replaced support functions GetTimeString, GetDateString and GetDateTimeString with a single extended version of GetDateTimeString. (ML)  
Changed the prototype of support function ScriptDlgProcessCustom to: function ScriptDlgPageProcessCustom(ActivateControl: TWinControl): Boolean;. If not nil, focus will be initially set to ActivateControl. See the CodeClasses.iss example script. (ML)  
Compiler IDE: you can now drag and drop files and directories onto the Application Files listbox of the New Script Wizard. (ML)  
Based on RemObjects Pascal Script SVN code revision 916.  
The uninstall program's version is now 51.15.0.0.  
Minor tweaks.  
 

 
Добавлено
Cyber78
Попробуй воспользоваться Inno Setup Form Designer


----------
Per Aspera Ad Astra...

Всего записей: 2187 | Зарегистр. 10-08-2003 | Отправлено: 06:01 15-06-2004 | Исправлено: mr_eoi, 06:06 15-06-2004
mr_eoi



Silver Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Inno Setup 4.2.6
_http://files.jrsoftware.org/is/4/isetup-4.2.6.exe
Content-Length: 1011045 (988 KB)

Цитата:
4.2.6 (2004-06-19)
 
Brought back the zip compress algorithm, this time in an external DLL like bzip to keep the ~6 KB savings.  
Minor tweaks.  
 


Всего записей: 2187 | Зарегистр. 10-08-2003 | Отправлено: 18:19 22-06-2004
SAVage22



Advanced Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Inno Setup 4.2.7

Цитата:
4.2.7 (2004-06-27)
Fix: The [Files] section's nocompression flag disabled compression but not the EXE "call instruction optimization" algorithm. Now it does.
Fix: The LZMA decompressor would raise a bogus error with streams larger than 4 gigabytes in size. (The other compression algorithms did not exhibit this problem.)
Fix: During installation, it now processes input events while seeking backwards in a solid chunk.

_http://thematrix2050.bei.t-online.de/isetup-4.2.7.exe
_http://inno.das-netz-werk.net/isetup-4.2.7.exe

Всего записей: 1104 | Зарегистр. 30-12-2003 | Отправлено: 05:21 28-06-2004
Widok



Moderator-Следопыт
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Inno Setup 5.0.0 Preview
http://files.jrsoftware.org/is/5/issrc-5.0.0-beta.zip
 
Latest Changes:

Цитата:
Pascal Scripting at uninstall time  
All-new, easier-to-use custom wizard page support  
Expression support in Components/Tasks/Languages/Check  
Smaller compiled installation size than 4.x


----------
Тень превращается в фантазии, таящиеся в глубине вашей души.
Пока идёшь ты среди теней, да не будет зла с тобой.

Всего записей: 24190 | Зарегистр. 07-04-2002 | Отправлено: 19:08 15-07-2004
Cyber78



Advanced Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
mr_eoi
Благодарю

----------
==Повторяю ошибки других, чтобы меня не считали неучем.==

Всего записей: 754 | Зарегистр. 08-02-2002 | Отправлено: 15:05 17-07-2004
mr_eoi



Silver Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
All
Обновился распаковщик InnoSetup инсталляций (вплоть до версии 5.0.0 beta)
http://sourceforge.net/projects/innounp/
 
Widok
По твоей ссылке качаются исходники.  
Собранная бета здесь:
_http://files.jrsoftware.org/is/5/isetup-5.0.0-beta.exe
 

Цитата:
5.0.0-beta (2004-07-14)
 
The size of compiled installations has decreased by 22-26 KB from Inno Setup 4.2.7, primarily due to the merging of Setup and Uninstall into a single binary.
 
Pascal Scripting can now be used to customize Uninstall:
 
Added Uninstall specific event functions InitializeUninstall, DeinitializeUninstall, CurUninstallStepChanged and UninstallNeedRestart.  
Added support functions IsUninstaller and UninstallSilent.  
 
Furthermore, the compiler IDE now supports Uninstall debugging. To debug Uninstall, first run Setup from the IDE, install your application, select Target Uninstall in the Run menu and finally use the debugger functions as normal.
See the help file and the UninstallCodeExample1.iss example script for more information.
 
 
The custom wizard page support has been completely redesigned from the ground up. The new design uses an event-driven model just like standard wizard pages; no longer do you have to write complicated loops to handle sequences of custom pages.
Any existing code utilizing custom wizard pages will need updating; all of the old functions have been replaced. Please see the new Using Custom Wizard Pages topic in the help file and the CodeDlg.iss and CodeClasses.iss example scripts for examples of how to use the new custom wizard page model.
 
 
Besides space separated lists, you may now also use boolean expressions as Components, Tasks, Languages and Check parameters. Supported operators include not, and, and or. For example:  
[Components]
Name: a; Description: a
Name: b; Description: b
 
[Tasks]
Name: p; Description: a or b; Components: a or b
Name: q; Description: a and b; Components: a and b
Name: r; Description: not a or b; Components: not a or b
Name: s; Description: not (a or b); Components: not (a or b)
Name: t; Description: a or b - old style; Components: a b  
This syntax of function parameters in Check, BeforeInstall and AfterInstall parameters has changed to allow a list of multiple, comma separated, parameters and the use of Integer and Boolean parameter types besides String types. For example, you may now use:  
[Files]
Source: MyProg.exe; DestDir: {app}; Check: MyCheck(1, True, 'Some text')
 
[Code]
function MyCheck(I: Integer; B: Boolean; S: String): Boolean;
begin
Result := (I > 0) and B and (S <> '');
end;
 
Also, there's one support function that may be called from within a parameter list: ExpandConstant. For example:  
[Files]
Source: MyProg.exe; DestDir: {app}; Check: MyCheck(1, True, ExpandConstant('{app}'))
 
Existing scripts using function parameters will need to be updated.
 
 
The functions specified by {code:...} constants and by Check, BeforeInstall and AfterInstall parameters may now refer to support functions too, for example:  
[Components]
Name: adminonly; Description: My Admin Only Component; Check: IsAdminLoggedOn
 
[Files]
Source: MyProg.exe; DestDir: {app}; BeforeInstall: Log('About to install MyProg.exe')
Source: MyProg.hlp; DestDir: {app}\Help; Check: DirExists(ExpandConstant('{app}\Help'))
 
[INI]
FileName: {app}\MyIni.ini; Section: MySettings; Key: ShortApp; String: {code:GetShortName|{app}}
FileName: {app}\MyIni.ini; Section: MySettings; Key: AppDrive; String: {code:ExtractFileDrive|{app}}  
Wizard-related event functions such as NextButtonClick are now called on silent installs as well. In fact, silent installs now function almost identically to non-silent ones with the exception that the Next button is automatically "clicked".  
Logging improvements:  
The filenames of programs spawned in the [Run] section are now logged.  
The /LOG parameter is now also supported by Uninstall, which causes Uninstall to create a log file in the user's TEMP directory detailing file uninstallation and [UninstallRun] actions taken during the uninstallation process. This can be a helpful debugging aid. See the Uninstall Command Line Parameters topic in the help file for further details.  
A new ShouldSkipPage event function has been added, which replaces SkipCurPage. Existing scripts that contain a SkipCurPage function will need to be updated. Note that unlike the old SkipCurPage event function, the page passed to the ShouldSkipPage function is not the current page.  
Added support function Abort. Calling Abort throws an exception to abort the current operation. It does not terminate Setup or Uninstall unless it's still starting up.  
When extracting a file, Setup now pre-allocates all of the bytes in the destination file on disk. This allows the system to know what the final size of the file will be before extraction begins, and avoid fragmenting it.  
The compiler now fully supports script files that use Unix-style line breaks (LF only).  
The Setup section directive UninstallIconFile is now deprecated and ignored. As Setup and Uninstall have been merged into a single executable, setting a custom icon for Uninstall is no longer possible.  
The Setup section directive UninstallStyle is now deprecated and ignored. Only the "modern" uninstaller style is supported now.  
Based on RemObjects Pascal Script SVN code revision 933.  
The uninstall program's version is now 51.30.0.0.  
A very large number of minor tweaks.  
This version is derived from Inno Setup 4.2.7, and therefore includes all of the features and fixes from that version.  
 



----------
Per Aspera Ad Astra...

Всего записей: 2187 | Зарегистр. 10-08-2003 | Отправлено: 03:03 29-07-2004 | Исправлено: mr_eoi, 04:26 29-07-2004
vse



Junior Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Помогите написать код, который бы проверял пустая ли папка в которую устанавливается программа и если там что-то есть, то все это удалял. Похоже штатными средствами это не сделать, а код на паскале написать не получается.
 
Да, можно упростить код, чтобы удалась вся папка целиком куда копируются файлы, а потом создавалась снова и файлы уже копировались бы в чистую папку.
 
Спасибо.
 

Всего записей: 98 | Зарегистр. 08-12-2001 | Отправлено: 15:09 29-07-2004 | Исправлено: vse, 15:12 29-07-2004
feandy



Пиво тоже компонента
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
vse
Попробуй типа  
 
function InitializeSetup :Boolean;
begin
 if DirExists(Name) then
  DelTree(Name, True, True, True);
end;
 
Либо именуй процедуру по своему а у первого устанавливаемого файла добавляй
в хвосте BeforeInstall
[Files]  
Source: "MYPROG.EXE"; DestDir: "{app}"; BeforeInstall: MyBeforeInstall  
 
[code]
Procedure MyBeforeInstall;  
begin
 if DirExists(ExpandConstant('{app}')) then
  DelTree(ExpandConstant('{app}'), True, True, True);
end;

Всего записей: 5200 | Зарегистр. 15-02-2002 | Отправлено: 16:23 29-07-2004 | Исправлено: feandy, 16:33 29-07-2004
   

Страницы: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108

Компьютерный форум Ru.Board » Компьютеры » Программы » Inno Setup (создание инсталяционных пакетов)
Widok (23-04-2007 18:02): лимит страниц. продолжаем здесь


Реклама на форуме Ru.Board.

Powered by Ikonboard "v2.1.7b" © 2000 Ikonboard.com
Modified by Ru.B0ard
© Ru.B0ard 2000-2024

BitCoin: 1NGG1chHtUvrtEqjeerQCKDMUi6S6CG4iC

Рейтинг.ru