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