Изменения:
- /LOG: Now logs some additional information about uninstall info saving.
- The {sendto} constant has been renamed to {usersendto} and now can correctly trigger a used user areas warning. It still returns the same directory: the path to the current user's Send To folder. (There is no common Send To folder.)
- Minor fixes to the registry entries logging and improved syntax highlighting introduced by the previous version.
- Minor tweaks.
Изменения:
- /LOG: Now logs registry entries.
- Compiler IDE change: Syntax highlighting and syntax error underlining support for #include and ISPP has been significantly improved (with ISPP installed: before and after, without ISPP installed: before and after
- Change in default behavior: If [Setup] section directive DisableWelcomePage is set to yes (which it is by default), then the title of the wizard now includes AppVerName instead of AppName, in other words: it now includes the version number of the application. If WindowVisible is set to yes this applies to the background window instead.
- Regardless of the version of Windows, if the installation is administrative then you should be careful about making any per-user area changes: such changes may not achieve what you are intending. The compiler will now warn you about this, which can be disabled using new [Setup] section directive UsedUserAreasWarning.
- Improved support for high DPI systems:
- The WizardImageFile and WizardSmallImageFile [Setup] section directives now may list multiple files. This support wildcards. When multiple files are specified, Setup will automatically select the one which best matches the system's DPI setting. See the help file for a list of recommended sizes. Note: when you test this be sure to first log out and back in after any DPI change.
- If the WizardImageStretch [Setup] section directive is set to yes (which it is by default) then the quality of the stretching that occurs if the best matching wizard image is still larger or smaller than required has been improved (before and after). Also applies to any TBitmapImage which uses stretching.
- Digital signing changes:
- Added new [Setup] section directive: SignToolRetryDelay, which defaults to 500. Specifies the number of milliseconds the Setup Compiler should wait before any automatic digital signing retries specified by SignToolRetryCount.
- Added new [Setup] section directive: SignToolMinimumTimeBetween, which defaults to 0. If not set to 0, specifies the minimum number of milliseconds that should have elapsed between consecutive digital signing actions by the Setup Compiler. For example, if set to 5000 then the Setup Compiler will perform 1 digital signing per 5 seconds at most. Can be used to avoid being rejected by rate limiting timestamp services.
- Added new [Setup] section directive ArchitecturesAllowed value: arm64. This can be used to not allow Setup to run on Windows 10 on ARM64. Note that Windows 10 on ARM64 only supports 32-bit (x86) binaries and therefore Setup (even older versions) will never install in 64-bit mode on Windows 10 on ARM64.
- Pascal Scripting changes:
- Unicode Inno Setup: Unicode is now supported for the input source. For example, where before you had to write S := #$0100 + #$0101 + 'Aa'; you can now write S := 'ĀāAa'; directly. Also see the new UnicodeExample1.iss example script.
- Added new IsX86, IsX64, IsIA64 and IsARM64 support functions.
- Added new IsWildcard and WildcardMatch support functions.
- /LOG: Now logs DLL function imports.
- Any [Files] entries with the deleteafterinstall flag or with DestDir set to {tmp} or a subdirectory of {tmp} are no longer included in the EstimatedSize value in the Uninstall registry key.
- Fix: In 5.5.9 it was no longer possible to include a drive colon in [Setup] section directive OutputManifestFile.
- Unicode
Код:based on RemObjects Pascal Script Git commit 76e377efa5fddc55b3a6a3a3d944317bdfde4a12. [*]Minor tweaks. [/LIST]
Изменения:
- To further help protect installers against potential DLL preloading attacks, Setup/Uninstall now calls SetDefaultDllDirectories if available to remove the application directory from the DLL search order. If SetDefaultDllDirectories is not available or cannot be called, it now additionally preloads a set of system DLLs known to be loaded unsafely by older or unpatched versions of Windows.
- Change in default behavior: the OutputBaseFileName [Setup] section directive now defaults to mysetup instead of setup. Setting it back to setup is not recommended: all executables named "setup.exe" are shimmed by Windows application compatibility to load additional DLLs, such as version.dll. These DLLs are loaded unsafely by Windows and can be hijacked. If you do so anyway, the compiler will issue a warning.
- Added new [Files] section flags: sign and signonce. Instructs the compiler to digitally sign the original source files before storing them. Ignored if [Setup] section directive SignTool is not set. Inno Setup's own compiler files are now also signed.
- [Setup] section directive LZMADictionarySize now allows the LZMA dictionary size to be increased up to 1 GB from the previous maximum of 256 MB. Review the memory requirements listed in the Compression topic before using!
- Improved the "auto-retry" feature of the [Files] section: it now also retries if MoveFile failed even if the preceding DeleteFile succeeded. Additionally, if MoveFile keeps failing it will now register the file to be replaced on restart if the restartreplace [Files] section flag is used instead of displaying an error message.
- The value of the AppVersion directive is now not only used to set the MajorVersion and MinorVersion values in the Uninstall registry key when possible but also used to set the VersionMajor and VersionMinor values as required by newer versions of the Windows App Certification Kit.
- Inno Setup Preprocessor (ISPP) changes:
- Added new function RemoveFileExt.
- Documented predefined variable ISPPCC_INVOKED.
- Console-mode compiler (ISCC) change: Added new command line parameter /J. Can be used to #include additional files.
- Unicode Inno Setup: Added official Armenian translation.
- Minor tweaks.
Изменения:
- The [Setup] section many now list multiple SignTool directives which will be executed in order of appearance. This can be used to dual sign (SHA1 & SHA256) Setup and Uninstall. This requires a recent signtool.exe version. Inno Setup's own installer is now also dual signed. See the help file for a dual sign example. Without dual signing Windows will no longer trust any of your new installers if they are downloaded. See http://social.technet.microsoft.com...thenticode-code-signing-and-timestamping.aspx for more information.
- The console-mode compiler (ISCC) now accepts multiple /S command line parameters (to specify a Sign Tool) instead of ignoring all but the last.
Изменения:
- Change in default behavior:
- As recommended by Microsoft's desktop applications guideline, DisableWelcomePage now defaults to yes. Additionally DisableDirPage and DisableProgramGroupPage now default to auto. The defaults in all previous versions were no.
- The Setup and Uninstall programs are now marked as DEP and ASLR compatible. This can be disabled setting the new DEPCompatible and ASLRCompatible [Setup] section directives to no. Doing this for DEP compatibility might be needed if you're using a buggy third-party DLL from [Code].
- The Compiler IDE's New Script Wizard now offers to create a shortcut to the main executable in the common Start Menu Programs folder instead of creating a new Start Menu folder especially for the application. This option is enabled by default and is recommended by Microsoft unless you install a suite of applications rather than a single application.
- The WizardImageFile and WizardSmallImageFile [Setup] section directives now support 32 bit bitmap files with an alpha channel. Use the new WizardImageAlphaFormat [Setup] section directive to specify if the bitmap file has its red, green and blue channel values premultiplied with the alpha channel value or not. Contributed by Honza Rameš via GitHub.
- The WizardImageBackColor [Setup] section directive is now deprecated and ignored, just like the similar WizardSmallImageBackColor directive already was. Any unused space around the wizard image is now filled with the standard window color (usually white).
- [Setup] section directive CloseApplications can now be set to force. If it is, Setup will force close when closing applications. Use with care since this may cause the user to lose unsaved work.
- Added new command line parameters supported by Setup: /FORCECLOSEAPPLICATIONS and /NOFORCECLOSEAPPLICATIONS. These can be used to override the CloseApplications directive.
- The Attribs parameter of a [Files] or [Dir] entry may now also include notcontentindexed to specify that the file or directory is not to be indexed by the content indexing service.
- Pascal Scripting changes:
- Function RegQueryBinaryValue can now be used to query any type of registry value and not just REG_BINARY-type values.
- Class TBitmapImage now supports 32 bit bitmap files with an alpha channel. Make sure to set the Bitmap.AlphaFormat property before loading the bitmap file.
- Added new functions GetOpenFileNameMulti and SelectNewDisk.
- Added C# version of the MyDll.dll example DLL showing how to call .NET assemblies from [Code] without requiring COM or other DLLs. Uses Unmanaged Exports by Robert Giesecke.
- Unicode [Code] based on RemObjects Pascal Script Git commit bfc1255636eb959f102d0279721b05ba85fbe7da.
- Minor tweaks.
Изменения:
- Added the Windows 10 "compatibility" section to the various manifest resources used by Inno Setup. This enables any check for the operating system version to get the real version number (10.0) instead of getting the same version number as it did in Windows 8.1 (6.3).
- Added new [Setup] section directive: SignToolRetryCount, which defaults to 2. Specifies the number of times the Setup Compiler should automatically retry digital signing on any errors.
- Added new [Setup] section directive: SetupMutex. Can be used to prevent Setup from running while Setup is already running.
- Fix: Console-mode compiler (ISCC) change: Renamed /DO and /EO command line parameters to /O- and /O+ to avoid possible conflicts with /D.
- Pascal Scripting change: Unicode Inno Setup: Added new functions VarIsClear and UnpinShellLink.
- Inno Setup Preprocessor (ISPP) change: Added new function ForceDirectories.
- Unicode
Код:based on RemObjects Pascal Script Git commit db0d6f521113a31b34a76aeefd79fb148a9c4bfd. [*]Various documentation improvements. Contributed by [URL='https://github.com/jogo-']jogo-[/URL] via [URL='https://github.com/jrsoftware']GitHub[/URL]. [*]Minor tweaks. [/LIST]
Изменения:
- /LOG: Now logs INI entries. Also improved logging of icon entries.
- Added new [Setup] section directive: Output, which defaults to yes. If set to no the Setup Compiler will only check the script for errors and skip creating setup files.
- Console-mode compiler (ISCC) changes:
- Added new command line parameters /DO and /EO. These can be used to disable or enable output, overriding the Output directive.
- Added new command line parameter /Qp. Can be used to enable quiet compile while still displaying progress. Contributed by KngStr via GitHub.
- ISCC now automatically specifies any Sign Tools configured using the IDE, eliminating the need to specify these using the /S command line parameter. Also contributed by KngStr via GitHub.
- Pascal Scripting changes:
- Added new function CurrentSourceFileName, which returns the source file name of the [Files] entry that is currently being processed. The returned name may include constants. Note: Do not attempt to call this function from outside a Check, BeforeInstall or AfterInstall event function belonging to a [Files] entry with the external flag.
- The already-existing StrToFloat and FloatToStr functions are now documented.
- Strings and numbers are now highlighted. Based on contribution by maldoinc via GitHub.
- Unicode Inno Setup: Added new class TStringStream.
- Inno Setup Preprocessor (ISPP) changes:
- Added function DeleteFileNow.
- Added 64-bit support to function ReadReg.
- Added official Scottish Gaelic and Turkish translations.
- Fix: [Setup] section directive UsePreviousLanguage was not working when Setup was running in 64-bit mode.
- Unicode [Code] based on RemObjects Pascal Script Git commit 97eefc260b41ba51328d95b4ed43669f38655720.
- Various documentation improvements. Contributed by jogo- via GitHub.
Изменения:
- Added the Windows 8.1 "compatibility" section to the various manifest resources used by Inno Setup. This enables any check for the operating system version to get the real version number (6.3) instead of getting the same version number as it did in Windows 8 (6.2).
- Compiler IDE: Added new option: Show line numbers in gutter (default: off).
- Pascal Scripting changes:
- Added new event function CurInstallProgressChanged, which you can use to monitor progress while Setup is extracting files, creating shortcuts, creating INI entries, and creating registry entries. See the help file and the CodeExample1.iss example script for more information. Contributed by TLama via GitHub.
- WizardForm.BeveledLabel visibility is now automatically handled even if its caption was set from [Code].
- Unicode [Code] based on RemObjects Pascal Script Git commit 538905910852bcbeef646f26592a973d15d3d5ec.
- Minor tweaks.
Изменения:
- Windows 8 change: [Icons] section flag excludefromshowinnewinstall now additionally prevents the new shortcut from being automatically pinned the Start screen.
- Added new command line parameters supported by Setup: /HELP and /?. Cause Setup to display the list of accepted command line parameters in a message box, exiting with exit code 0 afterwards. Ignored if the UseSetupLdr [Setup] section directive was set to no.
- Added new command line parameter supported by Inno Setup's own installer: /PORTABLE=1. Causes Inno Setup's own installer to not create an uninstaller nor an entry in the Add/Remove Programs Control Panel applet. Also supported by QuickStart Pack's installer.
- Added workaround for bug in 64-bit Windows which in some cases would cause Windows to display an error message when a user tries to change the icon of an installed shortcut.
- Updated the compiler and document icons, created by Motaz.
- Restart Manager: If Setup is not running silently and is unable to close all applications using files that need to be updated, it will now ask the user to abort, retry, or ignore. Previously it always ignored.
- A message has been added in this version. (View differences in Default.isl)
- New message: ErrorCloseApplications.
- Added official Corsican and Nepali translations. The Nepali translation requires Unicode Inno Setup.
- Inno Setup Preprocessor (ISPP) changes:
- Added directive #redim to increase or decrease the dimension of an existing array variable.
- Added function DimOf. Returns the dimension of the specified identifier.
- Pascal Scripting changes:
- Added new function: ExtractTemporaryFiles. This function is like ExtractTemporaryFile but supports wildcards and doesn't ignore directory information.
- When ExtractTemporaryFile or ExtractTemporaryFiles extracts a file, this is now logged.
- Unicode Inno Setup: Now has an Int64 type, supported by IntToStr. Also added new StrToInt64, StrToInt64Def, and GetSpaceOnDisk64 support functions.
- If the Flags parameter of a [Files] entry includes isreadme and the entry also has a BeforeInstall or AfterInstall parameter, the BeforeInstall or AfterInstall functions will now only be called when the file is installed and no longer a second time when the file is viewed after the installation has completed.
- [Setup] section directive VersionInfoProductTextVersion, which sets the textual product version value, is now truncated at 50 characters instead of 20. Contributed by Lukas G (AIS) via GitHub.
- The Inno Setup help file source code has been moved into the main Inno Setup source code repository.
- Fix: [Setup] section directive CloseApplicationsFilter was partially case sensitive.
- Unicode [Code] based on RemObjects Pascal Script Git commit 31abd2925837d85a6965b5325e8fb7835ca73ea8.
- QuickStart Pack: No longer offers to download and install InnoIDE (which is no longer maintained by its author) unless /ALLOWINNOIDE=1 is specified on the command line. If you're still using InnoIDE it is recommended you switch to Inno Script Studio (which QuickStart pack can download and install).
- Minor tweaks.
Изменения:
- Added the Windows 8 "compatibility" section to the various manifest resources used by Inno Setup.
- Added constants {userpf} and {usercf}. Only Windows 7 and later supports {userpf} and {usercf}; if used on previous Windows versions, they will translate to the same directories as {localappdata}\Programs and {localappdata}\Programs\Common.
- Pascal Scripting: Added new RegisterExtraCloseApplicationsResources event function and also added new RegisterExtraCloseApplicationsResource support function. These functions can be used to register extra files which Setup should check for being in-use.
- Added new command line parameters supported by Setup: /CLOSEAPPLICATIONS and /RESTARTAPPLICATIONS. These can be used to override the CloseApplications and RestartApplications directives.
- Decreased Unicode Inno Setup's size slightly. Contributed by Andreas Hausladen via GitHub.
- Unicode [Code] based on RemObjects Pascal Script Git commit 52291ffbfc14f3cf1a445f3e88c6902e13fbdf78.
- Minor tweaks.