whatsnew.htm 92 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>Inno Setup 6 Revision History</title>
  6. <base href="https://jrsoftware.org/" />
  7. <style type="text/css">
  8. :root {
  9. color-scheme: light dark;
  10. --main-fg-color: light-dark(#282828, #d6d6d6);
  11. --main-bg-color: light-dark(white, #1f1f1f);
  12. --link-fg-color: light-dark(hsl(206, 100%, 37%), hsl(206, 100%, 50%));
  13. --link-hover-fg-color: light-dark(hsl(206, 100%, 27%), hsl(206, 100%, 43%));
  14. --code-bg-color: light-dark(#f0f0f0, #353135);
  15. }
  16. body { font: calc(14rem/16)/1.5 "Segoe UI", sans-serif; color: var(--main-fg-color); background-color: var(--main-bg-color) }
  17. a:link, a:visited { color: var(--link-fg-color); background-color: transparent; text-decoration: none }
  18. a[href]:hover { color: var(--link-hover-fg-color); text-decoration: underline }
  19. tt, pre { font: calc(13rem/16)/calc(21rem/16) monospace; color: inherit; background-color: var(--code-bg-color) }
  20. tt { padding: 2px 4px; border-radius: 4px }
  21. pre { line-height: normal; padding: 10px; border-radius: 6px; overflow-x: auto }
  22. li, div.limargins { margin-block: calc(5rem/16) }
  23. div.bluehead { text-align: center; color: white; background-color: hsl(206, 100%, 30%); padding: 5px; font-weight: bold; line-height: normal }
  24. .date { font-size: calc(11rem/16); font-weight: bold }
  25. .head1 { font-size: calc(32rem/16) }
  26. .head2 { font-size: calc(20rem/16) }
  27. .ver { font-size: calc(20rem/16); font-weight: bold }
  28. code.innosetup .sec { font-weight: bold }
  29. code.innosetup .key { color: #0078d4 }
  30. code.innosetup .com { color: #339933 }
  31. code.innosetup .con { color: #9262a8 }
  32. </style>
  33. </head>
  34. <body>
  35. <div class="bluehead"><span class="head1">Inno Setup 6</span><br /><span class="head2">Revision History</span></div>
  36. <p>Copyright © 1997-2025 <a href="./">Jordan Russell</a>. All rights reserved.<br />
  37. Portions Copyright © 2000-2025 Martijn Laan. All rights reserved.<br />
  38. For conditions of distribution and use, see <a href="files/is/license.txt">LICENSE.TXT</a>.
  39. </p>
  40. <p><b>Want to be notified by e-mail of new Inno Setup releases?</b> <a href="ismail.php">Subscribe</a> to the Inno Setup Mailing List!</p>
  41. <p><a name="6.7.0"></a><span class="ver">6.7.0-dev </span><span class="date">(?)</span></p>
  42. <p><b>Using Inno Setup commercially?</b> Please <a href="https://jrsoftware.org/isorder.php">purchase a license</a>.</p>
  43. <!-- <p>Thank you to everyone who has already <a href="https://jrsoftware.org/isorder.php">purchased a commercial license</a>. Your support is very important to our ongoing development.</p> -->
  44. <span class="head2">Custom wizard background colors and images</span>
  45. <p>Setup now allows you to specify a custom background color and optionally also a background image. This supports blending the color and image with each other, and optionally supports using a separate background color and image if dark mode is active.</p>
  46. <p>Custom background colors are also supported by Uninstall.</p>
  47. <p>These changes are backward compatible: if you do not set any of the new directives, then your installers and uninstallers will look the same as before.</p>
  48. <ul>
  49. <li>Added new <tt>WizardStyle</tt> modifier <tt>excludelightcontrols</tt>. Disables custom styling of all controls (including buttons) when a light style is active, except when styling is required to achieve transparency.</li>
  50. <li>Added new <tt>WizardStyle</tt> modifier <tt>hidebevels</tt>. Hides all bevels (horizontal lines) across Setup and Uninstall, except those in native system dialogs.</li>
  51. <li>Added new <tt>[Setup]</tt> section directives <tt>WizardBackColor</tt> and <tt>WizardBackColorDynamicDark</tt> to specify custom background colors to use for wizard pages and all other windows such as the <i>Select Language</i> dialog, in both Setup and Uninstall.<br/>
  52. If you set this directive but a custom style is not specified by <tt>WizardStyle</tt>, it will automatically activate custom style <tt>windows11</tt> with modifier <tt>excludelightcontrols</tt>.</li>
  53. <li>Added new <tt>[Setup]</tt> section directives <tt>WizardBackImageFile</tt> and <tt>WizardBackImageFileDynamicDark</tt> to specify custom images to display as the background of wizard pages in Setup, but not in Uninstall.<br/>
  54. Supports specifying multiple files for high-quality results on all DPI settings.<br/>
  55. If you set this directive but a custom style is not specified by <tt>WizardStyle</tt>, it will automatically activate custom style <tt>windows11</tt> with modifiers <tt>excludelightcontrols</tt> and <tt>hidebevels</tt>.<br/>
  56. Note that in light mode, the <tt>windows11</tt> custom style uses an off-white background color. To revert this, set <tt>WizardBackColor</tt> to <tt>white</tt>.<br/>
  57. <a href="https://jrsoftware.org/images/is-welcome-dark-backimage-org-150.png">Example screenshot of Setup using a background image in dark mode, at 150% DPI</a>.<br/>
  58. <a href="https://jrsoftware.org/images/is-welcome-backimage-org-150.png">Example screenshot of Setup using a background image in light mode, at 150% DPI</a>.<br/>
  59. <a href="https://jrsoftware.org/images/is-taskdialog-backcolor-org-125.png">Example screenshot of a task dialog using a background color, at 125% DPI</a>.
  60. </li>
  61. <li><tt>[Setup]</tt> section directives <tt>WizardImageFile</tt> and <tt>WizardSmallImageFile</tt> can now be set to blank values when you want the background image (or color) to stand on its own. Doing so does not change the layout of the wizard.<br/>
  62. Alternatively, set <tt>WizardImageOpacity</tt> to blend these images with the background image (or color). Can be used with the built-in wizard images as well.</li>
  63. <li>Added new <tt>[Setup]</tt> section directive <tt>WizardBackImageOpacity</tt> to specify the opacity (non-transparency) of the background image.<br/>
  64. This is useful if you want to use an identical regular and <tt>DynamicDark</tt> background image.</li>
  65. <li>Examples:
  66. <pre><code class="innosetup"><span class="com">; Use separate background images for light and dark appearances</span>
  67. <span class="key">WizardBackImageFile</span>=MyBackImage.png
  68. <span class="key">WizardBackImageFileDynamicDark</span>=MyBackImage_Dark.png
  69. <span class="com">; Hide the large and small wizard images</span>
  70. <span class="key">WizardImageFile</span>=
  71. <span class="key">WizardSmallImageFile</span>=
  72. <span class="com">; Use the same background image for both light and dark appearances</span>
  73. <span class="key">WizardBackImageFile</span>=MyBackImage.png
  74. <span class="key">WizardBackImageFileDynamicDark</span>=MyBackImage.png
  75. <span class="com">; Apply transparency to the background image so it works well in</span>
  76. <span class="com">; both light and dark appearances</span>
  77. <span class="key">WizardBackImageOpacity</span>=150
  78. <span class="com">; Keep large and small wizard images, applying transparency so they</span>
  79. <span class="com">; blend with the background image</span>
  80. <span class="key">WizardImageOpacity</span>=150
  81. <span class="com">; Use a background image in the wizard, and also use custom</span>
  82. <span class="com">; background colors on other windows, and in Uninstall</span>
  83. <span class="key">WizardBackImageFile</span>=MyBackImage.png
  84. <span class="key">WizardBackImageFileDynamicDark</span>=MyBackImage.png
  85. <span class="key">WizardBackColor</span>=#ffc0cb
  86. <span class="key">WizardBackColorDynamicDark</span>=#570c22
  87. <span class="com">; On wizard pages blend the background image and color together</span>
  88. <span class="key">WizardBackImageOpacity</span>=150</code></pre></li>
  89. <li>Pascal Scripting: Added new support function <tt>WizardSetBackImage</tt> to set, update, or remove the background image at runtime. It can be used not only in Setup, but also in Uninstall.<br/>
  90. See the <a href="https://jrsoftware.org/ishelp/index.php?topic=isxfunc_wizardsetbackimage">new help topic</a> for an example, and see new function <tt>BackImageButtonOnClick</tt> in <i><a href="https://raw.githubusercontent.com/jrsoftware/issrc/refs/heads/main/Examples/CodeClasses.iss">CodeClasses.iss</a></i> for another example.</li>
  91. </ul>
  92. <span class="head2">Security improvements</span>
  93. <p>Updating is recommended, even if you don't plan to use the other enhancements right away. We continually add extra checks to make your installers safer and more reliable. In this version:</p>
  94. <ul>
  95. <li>Setup and Uninstall now always try to enable <a href="https://www.microsoft.com/en-us/msrc/blog/2025/06/redirectionguard-mitigating-unsafe-junction-traversal-in-windows">Windows RedirectionGuard</a> by default.<br/>
  96. This mitigation, currently available only on Windows 11, blocks traversal of NTFS junctions created by non-admin users, to prevent path redirection vulnerabilities when privileged installers touch attacker-controlled directories.<br/>
  97. Can be disabled by setting new <tt>[Setup]</tt> section directive <tt>RedirectionGuard</tt> to <tt>no</tt>, and can also be disabled or enabled using new Setup and Uninstall command line parameters '/NOREDIRECTIONGUARD' and '/REDIRECTIONGUARD'.<br/>
  98. When no command line parameter is specified, Uninstall enables or disables RedirectionGuard based on the latest install.<br/>
  99. RedirectionGuard status is logged, so you can verify whether the mitigation was active.
  100. </li>
  101. <li><i>Experimental</i>: Added support for using a 64-bit version of the "Setup Loader" program by setting existing <tt>[Setup]</tt> section directive <tt>UseSetupLdr</tt> to <tt>x64</tt>.<br/>
  102. Using <tt>x64</tt> does not mean that Setup itself will also be 64-bit: Setup itself is currently always built as a 32-bit x86 binary.<br/>
  103. Using <tt>x64</tt> anyway has several benefits: your installer initially presents itself as a native 64-bit executable, the 64-bit loader has high-entropy ASLR enabled, and it no longer uses the WOW64 emulation layer. Additionally, it can help satisfy policy or third-party requirements that mandate 64-bit installers, even while the main Setup program is still 32-bit.<br/>
  104. The downside is that your installer will no longer load on systems running x86 Windows, and you must set <tt>ArchitecturesAllowed</tt> to exclude those systems, for example by using <tt>ArchitecturesAllowed=not x86</tt>.
  105. </li>
  106. </ul>
  107. <span class="head2">Other changes</span>
  108. <ul>
  109. <li><tt>[Setup]</tt> section directives such as <tt>WizardImageBackColor</tt> and <tt>WizardBackColor</tt> now also accept color names like <tt>white</tt> and <tt>black</tt>, in addition to <tt>clWhite</tt>, <tt>clBlack</tt>, <tt>#ffffff</tt>, and <tt>#000000</tt>.</li>
  110. <li>Compiler IDE:
  111. <ul>
  112. <li>Added autocomplete support in the <tt>[Setup]</tt> section for directive values with fixed options, such as all <tt>yes</tt>/<tt>no</tt> directives and others like <tt>WizardStyle</tt>.</li>
  113. <li>Ctrl+W now closes the current tab (in addition to Ctrl+F4), consistent with other modern editors. Previously, Ctrl+W was assigned to <i>Target Uninstall</i> in the <i>Run</i> menu, which is now reassigned to Alt+Q.</li>
  114. <li>The Compiler IDE now opens up to 50 #include files in tabs, instead of up to 20.</li>
  115. <li>Added a new <i>Keep new #include files closed</i> option, disabled by default. When enabled, newly discovered #include files during compilation remain closed until you explicitly reopen their tabs via, for example, the <i>View</i> menu.</li>
  116. </ul>
  117. </li>
  118. <li><i>Fix:</i> File and directory controls in Setup should always use left-to-right reading order, even when a right-to-left language is active, but this has not been the case since version 6.5.2.</li>
  119. <li>Pascal Scripting:
  120. <ul>
  121. <li>Added support functions <tt>PathCombine</tt>, <tt>PathHasInvalidCharacters</tt>, <tt>PathIsRooted</tt>, <tt>PathNormalizeSlashes</tt>, <tt>PathSame</tt>, and <tt>PathStartsWith</tt> to make path handling easier.</li>
  122. <li>Added support class <tt>TNewPathEdit</tt>, a <tt>TNewEdit</tt> descendant that always uses left-to-right reading order and provides filesystem autocompletion.<br/>
  123. You should use <tt>TNewPathEdit</tt> instead of <tt>TNewEdit</tt> for file and directory controls, but using <tt>TInputFileWizardPage</tt> and <tt>TInputDirWizardPage</tt> instead is still recommended.
  124. </li>
  125. </ul>
  126. </li>
  127. <li>ISPP:
  128. <ul>
  129. <li><i>Fix:</i> Support function <tt>SameStr</tt> is now properly case-sensitive.</li>
  130. <li>Using support function <tt>ExtractFileDir</tt> no longer triggers a warning about <tt>RemoveBackslash</tt>.</li>
  131. </ul>
  132. </li>
  133. <li>Other minor improvements.</li>
  134. </ul>
  135. <details>
  136. <summary>Show history from <b>6.6.1</b> and earlier</summary>
  137. <p><a name="6.6.1"></a><span class="ver">6.6.1 </span><span class="date">(2025-11-20)</span></p>
  138. <ul>
  139. <li>Changes related to custom styles:
  140. <ul>
  141. <li>Previously, when displaying any RTF text with a custom style active (including the built-in custom dark style), all foreground colors were replaced by the style's foreground color. This has been improved to only replace default foreground colors, preserving any custom colors.</li>
  142. <li>Added new <tt>[Setup]</tt> section directive <tt>WizardImageOpacity</tt> to specify the opacity of wizard images. This is useful if you want to use identical regular and <tt>DynamicDark</tt> wizard images. For example, you can set it to <tt>150</tt> to achieve partial transparency. Defaults to fully opaque (non-transparent).</li>
  143. <li>The compiler now stores identical regular and <tt>DynamicDark</tt> wizard images only once.</li>
  144. <li><i>Documentation fix:</i> The prototype of Pascal Scripting support function <tt>CreateCustomForm</tt> was changed in the previous version, but <a href="https://jrsoftware.org/ishelp/index.php?topic=isxfunc_createcustomform">its documentation</a> was not updated accordingly. This has now been corrected.</li>
  145. </ul>
  146. </li>
  147. <li>Security improvement:
  148. <ul>
  149. <li>Added new <tt>[Files]</tt> section flag <tt>notimestamp</tt>, preventing the file from being stored with a timestamp. Use this flag to help make builds reproducible, even if you are unable to preserve timestamps on source files.</li>
  150. </ul>
  151. </li>
  152. <li>Other minor improvements.</li>
  153. </ul>
  154. <p><a name="6.6.0"></a><span class="ver">6.6.0 </span><span class="date">(2025-11-11)</span></p>
  155. <span class="head2">Dark mode and custom styles in Setup and Uninstall</span>
  156. <p>Setup and Uninstall now both support dark mode, forced or automatic. Custom styles are also supported.</p>
  157. <p>This new feature does <i>not</i> increase the size of Setup if not used and is fully backward compatible.</p>
  158. <ul>
  159. <li>Enhanced <tt>[Setup]</tt> section directive <tt>WizardStyle</tt> with new appearance modes:
  160. <ul>
  161. <li>Added appearance modes: <tt>light</tt> (default, forced light mode, same appearance as previous versions), <tt>dark</tt> (forced dark mode, new appearance), and <tt>dynamic</tt> (automatically follows Windows system settings).</li>
  162. <li>For example, to use the modern look and automatically switch between light and dark appearance based on the user's Windows system settings:
  163. <pre><code class="innosetup"><span class="key">WizardStyle</span>=modern dynamic</code></pre>
  164. </li>
  165. <li>Dark mode automatically replaces icons, wizard images, and colors while maintaining a consistent user experience. It still allows a custom main icon, and custom images and colors. Includes support for styled task dialogs.<br/>
  166. <a href="https://jrsoftware.org/images/is-welcome-dark-org-150.png">Example screenshot of Setup using the built-in dark style, at 150% DPI</a>.<br/>
  167. <a href="https://jrsoftware.org/images/is-taskdialog-dark-org-125.png">Example screenshot of a task dialog using the built-in dark style, at 125% DPI</a>.<br/>
  168. <a href="https://jrsoftware.org/images/is-taskdialog-dark-org-125-rtl.png">Includes full right-to-left support</a>.
  169. </li>
  170. <li>See the updated <a href="https://jrsoftware.org/ishelp/index.php?topic=setup_wizardstyle">WizardStyle</a> help topic for more information, special considerations, and example screenshots.</li>
  171. </ul>
  172. </li>
  173. <li>Added four new <tt>DynamicDark</tt> directives to the <tt>[Setup]</tt> section, for specifying separate custom images and colors used specifically when dynamic mode switches to dark appearance:
  174. <ul>
  175. <li>For example, to specify two custom colors, one for light mode and one for dark mode:
  176. <pre><code class="innosetup"><span class="key">WizardStyle</span>=modern dynamic
  177. <span class="key">WizardImageBackColor</span>=white
  178. <span class="key">WizardImageBackColorDynamicDark</span>=#2b2b2b</code></pre>
  179. Note: Forced dark mode (<tt>dark</tt>) does not use the <tt>DynamicDark</tt> settings; it uses the standard settings. Example:
  180. <pre><code class="innosetup"><span class="key">WizardStyle</span>=modern dark
  181. <span class="key">WizardImageBackColor</span>=#2b2b2b</code></pre>
  182. </li>
  183. </ul>
  184. </li>
  185. <li>The default style can be customized by specifying a VCL Styles file using the new <tt>WizardStyleFile</tt> directive and a fifth <tt>DynamicDark</tt> directive:
  186. <ul>
  187. <li>For example, to specify two custom styles, one for light mode and one for dark mode:
  188. <pre><code class="innosetup"><span class="key">WizardStyle</span>=modern dynamic
  189. <span class="key">WizardStyleFile</span>=MyStyleLight.vsf
  190. <span class="key">WizardStyleFileDynamicDark</span>=MyStyleDark.vsf</code></pre>
  191. <a href="https://jrsoftware.org/images/is-welcome-polarlight-org-150.png">Example screenshot of Setup using the Polar Light style, at 150% DPI</a>.<br/>
  192. <a href="https://jrsoftware.org/images/is-welcome-polardark-org-150.png">Example screenshot of Setup using the Polar Dark style, at 150% DPI</a>.<br/>
  193. <a href="https://jrsoftware.org/images/is-taskdialog-zircon-org-125.png">Example screenshot of a task dialog using the Zircon style, at 125% DPI</a>.
  194. </li>
  195. <li>When a custom style (including the built-in custom dark style) is active, all text labels, except for the label associated with the <tt>BeveledLabel</tt> message, are transparent rather than opaque.</li>
  196. <li>The Polar style shown above is available built-in and directly supported by the <tt>WizardStyle</tt> directive. For example:
  197. <pre><code class="innosetup"><span class="key">WizardStyle</span>=modern dynamic polar</code></pre>
  198. </li>
  199. <li>Three more custom styles are available built-in and directly supported by the <tt>WizardStyle</tt> directive: <tt>slate</tt>, <tt>windows11</tt> and <tt>zircon</tt>. <tt>slate</tt> uses medium gray for both the light and dark appearances, <tt>windows11</tt> enables a light counterpart of the built-in dark style, and <tt>zircon</tt> is an alternative light-only style with cyan accents, shown above. For example:
  200. <pre><code class="innosetup"><span class="key">WizardStyle</span>=modern zircon</code></pre>
  201. </li>
  202. <li>Also supported is an <tt>includetitlebar</tt> modifier: Enables custom styling of both title bars and borders. By default, the system's native light or dark title bar is used instead. For example:
  203. <pre><code class="innosetup"><span class="key">WizardStyle</span>=modern dynamic polar includetitlebar</code></pre>
  204. </li>
  205. <li>Also supported is an <tt>excludelightbuttons</tt> modifier: Disables custom styling of all buttons (including command link buttons, as used in task dialogs) when a light style is active. For example:
  206. <pre><code class="innosetup"><span class="key">WizardStyle</span>=modern dynamic windows11 excludelightbuttons</code></pre>
  207. </li>
  208. </ul>
  209. </li>
  210. <li>Custom styles (including the built-in custom dark style) are <i>not</i> activated when the user's system is set to a high-contrast theme or when new command line parameter '/NOSTYLE' is used.</li>
  211. <li>Compiler IDE: Added a new <i>Wizard Style</i> page to the New Script Wizard, allowing to choose a style and view example screenshots.</li>
  212. <li>Pascal Scripting:
  213. <ul>
  214. <li>Added new support functions <tt>IsWinDark</tt> and <tt>IsDarkInstallMode</tt>.</li>
  215. <li>Added new <tt>StyleElements</tt> and <tt>StyleName</tt> properties to support class <tt>TControl</tt>. See <i><a href="https://raw.githubusercontent.com/jrsoftware/issrc/refs/heads/main/Examples/CodeClasses.iss">CodeClasses.iss</a></i> for an example, which also demonstrates the use of <tt>IsDarkInstallMode</tt>.</li>
  216. </ul>
  217. </li>
  218. </ul>
  219. <span class="head2">Other changes to the look and feel of Setup and Uninstall</span>
  220. <p>The default look and feel of Setup and Uninstall has been further modernized by switching to the Segoe UI font, along with other improvements.</p>
  221. <ul>
  222. <li>Setup now always uses high-quality, system-defined icons instead of custom ones on the <i>Select Destination Location</i> and <i>Preparing to Install</i> wizard pages, and on the <i>Setup Needs the Next Disk</i> form.</li>
  223. <li><tt>[Setup]</tt> section directive <tt>WizardSizePercent</tt> now always defaults to <tt>120,120</tt>, instead of only when you are using <tt>WizardStyle=modern</tt>. As a result, if you are using <tt>WizardStyle=classic</tt>, your Setup windows will increase in size by 20% by default.</li>
  224. <li><tt>[Setup]</tt> section directive <tt>WizardSizePercent</tt> is now supported by Uninstall. As a result, your uninstaller window will increase in size by 20% by default.</li>
  225. <li>Setup and Uninstall now keep the original aspect ratio of their windows when scaling for DPI. As a result, your Setup and Uninstall windows will by default be 16% wider at 125% DPI or higher.<br/>
  226. Can be disabled by setting new <tt>[Setup]</tt> section directive <tt>WizardKeepAspectRatio</tt> to <tt>no</tt>.
  227. </li>
  228. <li>Support for <tt>[Setup]</tt> section directive <tt>WizardResizable</tt> has been dropped, so the user will no longer be able to resize the main Setup wizard window.</li>
  229. <li>The default regular font used by Setup and Uninstall has been changed from 8-point <i>Tahoma</i> to 9-point <i>Segoe UI</i>, for a more modern appearance.<br/>
  230. To use 8-point <i>Tahoma</i> again, use:
  231. <pre><code class="innosetup"><span class="sec">[LangOptions]</span>
  232. <span class="key">DialogFontName</span>=Tahoma
  233. <span class="key">DialogFontSize</span>=8
  234. <span class="key">DialogFontBaseScaleHeight</span>=13
  235. <span class="key">DialogFontBaseScaleWidth</span>=6</code></pre>
  236. If you were already using 9-point <i>Segoe UI</i>, you will notice a change in scaling when you update. To use your previous scaling, use:
  237. <pre><code class="innosetup"><span class="sec">[LangOptions]</span>
  238. <span class="key">DialogFontName</span>=Segoe UI
  239. <span class="key">DialogFontSize</span>=9
  240. <span class="key">DialogFontBaseScaleHeight</span>=13
  241. <span class="key">DialogFontBaseScaleWidth</span>=6</code></pre>
  242. </li>
  243. <li>The default large font used by Setup on the <i>Welcome</i> and <i>Setup Completed</i> wizard pages has been changed from 12-point <i>Verdana</i> to 14-point <i>Segoe UI</i>, for a more modern appearance.<br/>
  244. To use 12-point <i>Verdana</i> again, use:
  245. <pre><code class="innosetup"><span class="sec">[LangOptions]</span>
  246. <span class="key">WelcomeFontName</span>=Verdana
  247. <span class="key">WelcomeFontSize</span>=12</code></pre>
  248. </li>
  249. <li>Pascal Scripting:
  250. <ul>
  251. <li>Added support functions <tt>InitializeBitmapButtonFromStockIcon</tt> and <tt>InitializeBitmapImageFromStockIcon</tt>. Can be used to display various high-quality, system-defined icons, on all versions of Windows.<br/>
  252. See <i><a href="https://raw.githubusercontent.com/jrsoftware/issrc/refs/heads/main/Examples/CodeClasses.iss">CodeClasses.iss</a></i> for an example, and <a href="https://learn.microsoft.com/en-us/windows/win32/api/shellapi/ne-shellapi-shstockiconid#constants">Microsoft Learn</a> for an overview of all available icons.<br/>
  253. <a href="https://jrsoftware.org/images/is-codeclasses-stockicons-125.png">Example screenshot of the new CodeClasses.iss example, at 125% DPI and in dark mode</a>.
  254. </li>
  255. <li>Wizard form sizing for <tt>WizardSizePercent</tt> is now done before event function <tt>InitializeWizard</tt> is called, instead of after, consistent with scaling for system DPI or for a custom <tt>DialogFontSize</tt>.<br/>
  256. If you have custom controls that must grow with <tt>WizardSizePercent</tt>, and those controls use the <tt>Anchors</tt> property to achieve this (that is, they have both <tt>akLeft</tt> and <tt>akRight</tt> set, or both <tt>akTop</tt> and <tt>akBottom</tt> set), and they do not use <tt>SurfaceWidth</tt> or <tt>SurfaceHeight</tt>, you must either start using the new <tt>SurfaceExtraWidth</tt> and <tt>SurfaceExtraHeight</tt> properties (as demonstrated by the updated <a href="https://raw.githubusercontent.com/jrsoftware/issrc/refs/heads/main/Examples/CodeClasses.iss">CodeClasses.iss</a> example script), or switch to using <tt>SurfaceWidth</tt> and <tt>SurfaceHeight</tt>.<br/>
  257. Existing custom code that assigns the <tt>Anchors</tt> property can be removed from your scripts.
  258. </li>
  259. <li>The prototype of support function <tt>CreateCustomForm</tt> has changed. Support class <tt>TSetupForm</tt> has changed as well: function <tt>FlipSizeAndCenterIfNeeded</tt> has been renamed to <tt>FlipAndCenterIfNeeded</tt>, property <tt>SizeAndCenterOnShow</tt> has been renamed to <tt>CenterOnShow</tt>, and property <tt>KeepSizeX</tt> is now read-only. See <i><a href="https://raw.githubusercontent.com/jrsoftware/issrc/refs/heads/main/Examples/CodeClasses.iss">CodeClasses.iss</a></i> for an updated <tt>CreateCustomForm</tt>/<tt>TSetupForm</tt> example.
  260. </li>
  261. </ul>
  262. </li>
  263. </ul>
  264. <span class="head2">Security improvements</span>
  265. <p>Updating is recommended, even if you don't plan to use the other enhancements right away. We continually add extra checks to make your installers safer and more reliable. In this version:</p>
  266. <ul>
  267. <li>In temporary directory/file names, the number of random base-36 digits has been doubled from 5 to 10, and the digits are now generated using a <abbr title="Cryptographically Secure Pseudorandom Number Generator">CSPRNG</abbr> function (<tt>BCryptGenRandom</tt>). This is intended to provide defense against an attack that might depend on the generated names being predictable.</li>
  268. <li>Uninstall now uses a random name for its temporary directory (<tt>is-XXXXXXXXXX-uninstall.tmp</tt>), instead of attempting to re-use a fixed name whenever possible (usually <tt>iu-14D2N.tmp</tt> in previous versions). This is primarily intended to add defense-in-depth. Additionally, this change addresses a non-security issue in previous versions &mdash; extremely unlikely to be seen in practice &mdash; where if two uninstallers were started near-simultaneously, one could potentially overwrite the other's temporary file.</li>
  269. <li>In previous versions, before Uninstall deleted a pre-existing temporary directory (usually named <tt>iu-14D2N.tmp</tt>), it checked for the <tt>FILE_ATTRIBUTE_REPARSE_POINT</tt> attribute to ensure it wasn't following a junction or symbolic link. However, this check had a <abbr title="Time-of-Check to Time-of-Use">TOCTOU</abbr> problem &mdash; it was theoretically possible for the directory to be changed into a junction or symbolic link between the check and the deletion. We are not aware of any way to practically exploit the race condition, and this issue is only potentially relevant when other, untrusted users have write access to the temporary directory, which is not common. (Before Inno Setup 6.5, when Setup/Uninstall ran under the <tt>SYSTEM</tt> account, the world-writable <tt>C:\Windows\Temp</tt> directory was often used, but beginning in Inno Setup 6.5, <tt>C:\Windows\SystemTemp</tt> is used instead on Windows 11 and up-to-date Windows 10 systems.)</li>
  270. </ul>
  271. <span class="head2">Other changes</span>
  272. <ul>
  273. <li>Compiler IDE:
  274. <ul>
  275. <li>Improved the contrast ratio for various syntax highlighting colors, particularly in dark mode.</li>
  276. <li>Updated the default dialog font from 8-point <i>Segoe UI</i> to 9-point <i>Segoe UI</i>.</li>
  277. <li>Enabled dark mode support for the menus on Windows 11 Version 25H2 (2025 Update).</li>
  278. </ul>
  279. </li>
  280. <li><tt>[Setup]</tt> section directive <tt>WizardImageBackColor</tt> and the other three <tt>BackColor</tt> directives now accept the <tt>#rrggbb</tt> color format in addition to <tt>$bbggrr</tt>.</li>
  281. <li>Setup command line parameter '/SUPPRESSMSGBOXES' can now suppress additional early fatal error messages and the final restart error message. The parameter still only has an effect when combined with '/SILENT' or '/VERYSILENT'.</li>
  282. <li>Pascal Scripting:
  283. <ul>
  284. <li>Added support for command link buttons (the button style used in task dialogs). See <i><a href="https://raw.githubusercontent.com/jrsoftware/issrc/refs/heads/main/Examples/CodeClasses.iss">CodeClasses.iss</a></i> for an example.</li>
  285. <li>Added support functions <tt>Round</tt>, <tt>Trunc</tt>, <tt>Int</tt>, and <tt>MulDiv</tt>.</li>
  286. <li>Added support function <tt>StrToColor</tt>.</li>
  287. <li>Undid the change made to the <tt>CurPageChanged</tt> event function in version 6.5.0.</li>
  288. </ul>
  289. </li>
  290. <li>If Windows returns a <a href="https://learn.microsoft.com/en-us/troubleshoot/windows-server/shell-experience/temp-folder-with-logon-session-id-deleted">temporary directory that does not exist</a>, Setup and Uninstall will now recreate it, but only if they detect the specific scenario described in the linked article. Starting with version 6.5.0, Setup and Uninstall could not run in this scenario. Prior to version 6.5.0, they would select a different temporary directory, which was also undesirable.</li>
  291. <li>Minor improvements and fixes.</li>
  292. </ul>
  293. <details>
  294. <summary>Show history from <b>6.5.4</b> and earlier</summary>
  295. <p><a name="6.5.4"></a><span class="ver">6.5.4 </span><span class="date">(2025-09-24)</span></p>
  296. <ul>
  297. <li><i>Fix:</i> Pascal Scripting: Using event function <tt>CurInstallProgressChanged</tt> would result in runtime errors.</li>
  298. </ul>
  299. <p>Using Inno Setup commercially? Please <a href="https://jrsoftware.org/isorder.php">purchase a license</a>.</p>
  300. <p><a name="6.5.3"></a><span class="ver">6.5.3 </span><span class="date">(2025-09-11)</span></p>
  301. <ul>
  302. <li><i>Fix:</i> Compiler IDE: The New Script Wizard would generate <tt>[Files]</tt> section entries with random values for the <tt>ExternalSize</tt> parameter.</li>
  303. </ul>
  304. <p><a name="6.5.2"></a><span class="ver">6.5.2 </span><span class="date">(2025-09-10)</span></p>
  305. <span class="head2">Improved graphics</span>
  306. <p>It's now possible to use .png files in Setup and Uninstall, and use of transparency has been increased.</p>
  307. <ul>
  308. <li>Added support for .png files to <tt>[Setup]</tt> section directives <tt>WizardImageFile</tt> and <tt>WizardSmallImageFile</tt>.</li>
  309. <li>Improved support for stretching 32-bit .bmp files with transparency.</li>
  310. <li>The built-in wizard images and icons now have transparent backgrounds, allowing their background colors to be customized again using Setup section directives <tt>WizardImageBackColor</tt> and <tt>WizardSmallImageBackColor</tt>, which are no longer obsolete.<br/>
  311. The default values of these directives match previously used colors, so the appearance of all images and icons remains unchanged by default.</li>
  312. <li>Pascal Scripting:
  313. <ul>
  314. <li>Added new <tt>TPngImage</tt> support class.</li>
  315. <li>Added new <tt>PngImage</tt> property to support classes <tt>TBitmapButton</tt> and <tt>TBitmapImage</tt>.</li>
  316. </ul>
  317. </li>
  318. </ul>
  319. <span class="head2">Removed main size limits</span>
  320. <p>The size limit of 2 GB for a single Setup.exe and for disk slices has been removed.</p>
  321. <ul>
  322. <li>The maximum size for a single Setup.exe without disk spanning has increased from almost 2 GB to nearly 4 GB, which is near the maximum Windows supports.<br/>
  323. However, disk spanning is still recommended for large executables due to slow startup times imposed by Windows, especially when the executables are digitally signed.</li>
  324. <li>With disk spanning enabled, the maximum disk slice size has been increased from almost 2 GB to effectively unlimited (9223 PB).<br/>
  325. The default disk slice size is still <tt>2100000000</tt>, which is almost 2 GB. To update, you can simply set <tt>[Setup]</tt> section directive <tt>DiskSliceSize</tt> to <tt>max</tt>.</li>
  326. </ul>
  327. <span class="head2">Improved downloading and archive extraction</span>
  328. <ul>
  329. <li>All download functionality now supports TLS 1.3 when available. Support for TLS 1.0 and 1.1 has been removed on all versions of Windows.</li>
  330. <li>Archive extraction now supports the RAR5 format. Requires <tt>Setup</tt> section directive <tt>ArchiveExtraction</tt> to be set to <tt>full</tt>.</li>
  331. <li>Compiler IDE: The New Script Wizard and the <i>Generate [Files] Entries</i> tool now support adding files to be downloaded. They will prompt you if the downloaded file is an archive that should be extracted.</li>
  332. <li><i>Fix:</i> Using <tt>[Files]</tt> section flags <tt>download</tt> and <tt>extractarchive</tt> on an entry that also has a <tt>Tasks</tt> parameter now works as expected.</li>
  333. </ul>
  334. <span class="head2">Other changes</span>
  335. <ul>
  336. <li>Compiler IDE:
  337. <ul>
  338. <li>Added new <i>Automatically reload files</i> and <i>Allow Undo after reload</i> options. Both are enabled by default, consistent with most other modern editors, and improving integration with tools like Claude Code.</li>
  339. <li>Added dark mode support for command line options /cc and /wizard.</li>
  340. </ul>
  341. </li>
  342. <li>Pascal Scripting: Added new <tt>HighContrastActive</tt> and <tt>LogFmt</tt> support functions.</li>
  343. <li>Minor tweaks and fixes.</li>
  344. </ul>
  345. <p><a name="6.5.1"></a><span class="ver">6.5.1 </span><span class="date">(2025-08-18)</span></p>
  346. <ul>
  347. <li>Downloads are now performed from a secondary thread, just as was first introduced for archive extraction in the previous version. This ensures Setup stays responsive, even if the system fails to report progress.</li>
  348. <li><i>Fix:</i> Using the /cc command line option of the Compiler IDE to compile a script no longer causes an error.</li>
  349. <li>Minor tweaks.</li>
  350. </ul>
  351. <p><a name="6.5.0"></a><span class="ver">6.5.0 </span><span class="date">(2025-08-12)</span></p>
  352. <span class="head2">Introducing commercial licenses</span>
  353. <p>Over the years, a number of users have expressed to us a desire to see their organizations support the ongoing development of Inno Setup, but have found that organization policies often make it difficult or impossible to approve a donation. By introducing a commercial license option, we aim to provide a straightforward and familiar way for organizations to contribute to the project's sustainability.</p>
  354. <p>Additionally, many organizations prefer having official licenses on record for all software they use, as it helps with audits and internal compliance checks.</p>
  355. <p>Finally, your support through license purchases directly enables us to improve and maintain Inno Setup.</p>
  356. <p>For these reasons we are introducing commercial licenses. If you or your organization benefit from using Inno Setup in a commercial context, we kindly ask that you purchase a license. Thank you for helping ensure the continued development of this software.</p>
  357. <p>Licenses can be purchased from our <a href="https://jrsoftware.org/isorder.php">new order page</a>, which includes more questions and answers. All commercial licenses are perpetual and require a single payment. They include two years of updates, major and minor. After this period, your current version will remain licensed and functional as-is.</p>
  358. <span class="head2">Improved archive extraction</span>
  359. <p>It's now possible to extract password-protected archives, multi-volume archives, and multiple extra archive formats such as .zip.</p>
  360. <p>Additionally, the <tt>[Files]</tt> section now supports archive extraction. Writing Pascal Script to extract an archive is no longer necessary.</p>
  361. <p>All of this is optional and does <i>not</i> increase the size of Setup if not used.</p>
  362. <ul>
  363. <li>Updated <tt>[Setup]</tt> and <tt>[Files]</tt> section:
  364. <ul>
  365. <li>Added new <tt>[Setup]</tt> section directive <tt>ArchiveExtraction</tt> to specify the method of archive extraction used by new <tt>[Files]</tt> section flag <tt>extractarchive</tt> (see below) and support functions <tt>ExtractArchive</tt> and <tt>CreateExtractionPage</tt>:
  366. <ul>
  367. <li><tt>basic</tt> (default) is the method introduced by Inno Setup 6.4.0. It only supports .7z archives that are not password-protected.</li>
  368. <li><tt>enhanced/nopassword</tt> is a new method and internally uses 7zxr.dll from the 7-Zip source code by Igor Pavlov, as-is, except that it was recompiled, code-signed, and renamed to is7zxr.dll. Compared to <tt>basic</tt>, it has lower memory requirements for archives that contain large files but increases the size of the Setup file(s). It still only supports .7z archives that are not password-protected.</li>
  369. <li><tt>enhanced</tt> uses 7zxa.dll instead of 7zxr.dll, recompiled, code-signed, and renamed to is7zxa.dll. It still only supports .7z archives, but they may be password-protected.</li>
  370. <li><tt>full</tt> uses 7z.dll instead of 7zxa.dll, recompiled, code-signed, and renamed to is7z.dll. It supports multiple archive formats (.7z, .zip, .rar, and more), although not as many as the original 7z.dll, to reduce its size. Additionally, it supports multi-volume archives.</li>
  371. </ul>
  372. New documentation topic <a href="https://jrsoftware.org/ishelp/index.php?topic=setup_archiveextraction">ArchiveExtraction</a> has a table summarizing the differences between these methods.
  373. </li>
  374. <li>Added new <tt>[Files]</tt> section flag <tt>extractarchive</tt> and parameter <tt>ExtractArchivePassword</tt>, intended to enable the seamless integration and extraction of archives.
  375. <ul>
  376. <li>The supported archive formats, beyond .7z, and the support for password-protected and multi-volume archives, depend on the aforementioned <tt>ArchiveExtraction</tt> directive, that must not be set to <tt>basic</tt>.</li>
  377. <li>Flag <tt>extractarchive</tt> must be combined with the <tt>external</tt> and <tt>ignoreversion</tt> flags. It is usually also combined with the <tt>recursesubdirs</tt> and <tt>createallsubdirs</tt> flags.</li>
  378. <li>Using a solid archive is not recommended; extraction performance may degrade depending on the solid block size.</li>
  379. <li>Archive extraction otherwise behaves the same as external file copying. For example, it supports automatic uninstallation of extracted files and can be combined with same other flags and parameters.</li>
  380. <li>Example script:
  381. <pre><code class="innosetup"><span class="sec">[Setup]</span>
  382. <span class="key">ArchiveExtraction</span>=enhanced/nopassword
  383. <span class="sec">[Files]</span>
  384. <span class="key">Source</span>: "<span class="con">{tmp}</span>\MyProg-ExtraReadmes.7z"; <span class="key">DestDir</span>: "<span class="con">{app}</span>"</span>; \
  385. <span class="key">Flags</span>: external extractarchive recursesubdirs createallsubdirs ignoreversion</code></pre>
  386. </li>
  387. </ul>
  388. </li>
  389. <li>Archive extraction now honors the file system redirection state set by 64-bit install mode, entry flags, and support function <tt>EnableFsRedirection</tt>.</li>
  390. </ul>
  391. </li>
  392. <li>Updated Pascal Scripting:
  393. <ul>
  394. <li>New support function <tt>ExtractArchive</tt> replaces the deprecated <tt>Extract7ZipArchive</tt>. <tt>ExtractArchive</tt> includes an additional parameter to optionally specify a password.</li>
  395. <li><tt>ExtractArchive</tt> and <tt>CreateExtractionPage</tt> now overwrite read-only files which already exist in the destination directory without prompting the user. Previously this would cause an extraction error.</li>
  396. <li>Added new <tt>MapArchiveExtensions</tt> support function to allow the extraction of archives with custom extensions, such as self-extracting archives.</li>
  397. <li>Added new <tt>AddEx</tt> function to support class <tt>TExtractionWizardPage</tt> to add password-protected archives.</li>
  398. </ul>
  399. </li>
  400. </ul>
  401. <span class="head2">Improved file downloads</span>
  402. <p>The <tt>[Files]</tt> section now supports file downloads. Writing Pascal Script to download a file is no longer necessary and is in fact less efficient since it requires an intermediate temporary file which this new download support doesn't.</p>
  403. <ul>
  404. <li>Updated <tt>[Files]</tt> section:
  405. <ul>
  406. <li>Added new <tt>[Files]</tt> section flag <tt>download</tt> and parameters <tt>DownloadUserName</tt> and <tt>DownloadPassword</tt>, intended to enable the seamless integration of downloaded files.</li>
  407. <li>Supports HTTPS (but not expired or self-signed certificates) and HTTP. Redirects are automatically followed and proxy settings are automatically used. Safe to use from services.</li>
  408. <li>Flag <tt>download</tt> must be combined with the <tt>external</tt> and <tt>ignoreversion</tt> flags. Additionally, the <tt>DestName</tt> and <tt>ExternalSize</tt> parameters must be set.<br/>
  409. It can also be combined with the new <tt>issigverify</tt> flag (see below) for efficient and highly secure verification of the download file.<br/>
  410. It cannot be combined with the <tt>comparetimestamp</tt>, <tt>recursesubdirs</tt> and <tt>skipifsourcedoesntexist</tt> flags.</li>
  411. <li>File download otherwise behaves the same as external file copying. For example, it supports automatic uninstallation of downloaded files and can be combined with same other flags and parameters.</li>
  412. <li>When combined with the new <tt>extractarchive</tt> flag (see above), the archive will be downloaded and, if the <tt>issigverify</tt> flag is also used, verified at the start of the <i>Preparing to Install</i> step. The archive is then extracted normally during the actual installation process.<br/>
  413. In this case, the value of <tt>DestName</tt> is used to determine the archive format and for display and logging purposes.</li>
  414. <li>Example script:
  415. <pre><code class="innosetup"><span class="sec">[Files]</span>
  416. <span class="key">Source</span>: "https://jrsoftware.org/download.php/is.exe?dontcount=1"; \
  417. <span class="key">DestName</span>: "innosetup-latest.exe"; <span class="key">DestDir</span>: "<span class="con">{app}</span>"; \
  418. <span class="key">ExternalSize</span>: 7_000_000; <span class="key">Flags</span>: external download ignoreversion
  419. <span class="key">Source</span>: "https://jrsoftware.org/download.php/myprog-extrareadmes.7z"; \
  420. <span class="key">DestName</span>: "MyProg.ExtraReadmes.7z"; <span class="key">DestDir</span>: "<span class="con">{app}</span>"; \
  421. <span class="key">ExternalSize</span>: 275; <span class="key">Flags</span>: external download extractarchive ignoreversion</code></pre>
  422. </li>
  423. <li>Added example script <i><a href="https://raw.githubusercontent.com/jrsoftware/issrc/refs/heads/main/Examples/DownloadFiles.iss">DownloadFiles.iss</a></i> to demonstrate how to use a single <tt>[Files]</tt> entry to download a file, or to download and extract an archive, with verification.</li>
  424. </ul>
  425. </li>
  426. </ul>
  427. <span class="head2">New signature-verification capability</span>
  428. <p>Inno Setup now includes an integrated signature-verification capability that can be used to detect corruption or tampering in your files at compile time, before files are included in an installer being built, or during installation, before Setup copies external files onto a user's system.</p>
  429. <p>Any type of file may be signed and verified, and creation of signatures does <i>not</i> require a certificate from a certificate authority. There is no cost involved.</p>
  430. <p>Note, however, that these signatures cannot be used to eliminate an "Unknown publisher" warning message shown by Windows when an installer or other EXE file is started. That requires a completely different kind of signature (Authenticode) embedded inside the EXE file by a different tool (Microsoft's <tt>signtool.exe</tt>), and it does require a (usually expensive) code-signing certificate from a certificate authority.</p>
  431. <p>A more detailed summary:</p>
  432. <ul>
  433. <li>New <tt>[ISSigKeys]</tt> section:
  434. <ul>
  435. <li>Added a new optional <tt>[ISSigKeys]</tt> section for defining keys used by the compiler and Setup to verify file signatures.</li>
  436. <li>Supports parameters <tt>Name</tt> (required) and <tt>Group</tt> to identify keys, parameters <tt>KeyFile</tt>, <tt>PublicX</tt>, and <tt>PublicY</tt> to specify the key values, parameter <tt>KeyID</tt> to double-check the key values, and parameter <tt>RuntimeID</tt> for runtime identification of the key.</li>
  437. <li>Key files are human-readable and can be created using Inno Setup Signature Tool (see below).</li>
  438. <li>Example section:
  439. <pre><code class="innosetup"><span class="sec">[ISSigKeys]</span>
  440. <span class="key">Name</span>: anna; <span class="key">KeyFile</span>: "anna.ispublickey"; <span class="key">Group</span>: exesigner
  441. <span class="key">Name</span>: ryan; <span class="key">KeyFile</span>: "ryan.ispublickey"; <span class="key">Group</span>: exesigner
  442. <span class="key">Name</span>: ivan; <span class="key">KeyFile</span>: "ivan.ispublickey"; <span class="key">Group</span>: docsigner
  443. <span class="com">; max is trusted for both exe and doc signing</span>
  444. <span class="key">Name</span>: max; <span class="key">KeyFile</span>: "max.ispublickey"; <span class="key">Group</span>: exesigner docsigner
  445. <span class="com">; the boss also has a key</span>
  446. <span class="key">Name</span>: bosskey; <span class="key">KeyFile</span>: "boss.ispublickey"</code></pre>
  447. </li>
  448. </ul>
  449. </li>
  450. <li>Updated <tt>[Files]</tt> section:
  451. <ul>
  452. <li>Added a new <tt>issigverify</tt> flag for enforcing cryptographic signature verification of source files using a key from the <tt>[ISSigKeys]</tt> section, enhancing security during both compilation and installation.</li>
  453. <li>When used without the <tt>external</tt> flag, verification is performed during compilation, aborting if it fails. When used with the <tt>external</tt> flag, verification occurs during installation, ensuring the integrity of files as they are copied.</li>
  454. <li>Requires an <tt>.issig</tt> signature file to be present in the same directory as the source file. Signature files are human-readable files and can be created using the Inno Setup Signature Tool.</li>
  455. <li>Has little performance impact since verification occurs while source files are being compressed/copied and each file's contents are only read once; the only extra I/O comes from reading the tiny <tt>.issig</tt> files. Only archives and downloaded files are read a second time.</li>
  456. <li>The verification process is protected against the Time-Of-Check to Time-Of-Use (TOCTOU) problem.</li>
  457. <li>Can be used to verify downloaded files, offering flexibility over SHA-256 checks as script changes aren't needed for file updates. See the new <a href="https://raw.githubusercontent.com/jrsoftware/issrc/refs/heads/main/Examples/DownloadFiles.iss">DownloadFiles.iss</a> example script for an example.</li>
  458. <li>Added a new and optional <tt>ISSigAllowedKeys</tt> parameter to restrict which keys or groups of keys from the <tt>[ISSigKeys]</tt> section are permitted for signature verification using the <tt>issigverify</tt> flag.</li>
  459. <li>Note: The <tt>issigverify</tt> flag cannot be combined with the <tt>sign</tt> or <tt>signonce</tt> flags. Use <tt>signcheck</tt> instead.</li>
  460. <li>Example section:
  461. <pre><code class="innosetup"><span class="sec">[Files]</span>
  462. <span class="key">Source</span>: "MyProg.exe"; <span class="key">DestDir</span>: "<span class="con">{app}</span>"; \
  463. <span class="key">ISSigAllowedKeys</span>: "exesigner bosskey"; <span class="key">Flags</span>: issigverify
  464. <span class="key">Source</span>: "MyProg.chm"; <span class="key">DestDir</span>: "<span class="con">{app}</span>"; \
  465. <span class="key">ISSigAllowedKeys</span>: "docsigner bosskey"; <span class="key">Flags</span>: issigverify
  466. <span class="key">Source</span>: "<span class="con">{src}</span>\Extra\*.chm"; <span class="key">DestDir</span>: "<span class="con">{app}</span>"; \
  467. <span class="key">ISSigAllowedKeys</span>: "docsigner bosskey"; <span class="key">Flags</span>: issigverify external; \
  468. <span class="key">Excludes</span>: "*.issig"
  469. <span class="key">Source</span>: "https://jrsoftware.org/download.php/is.exe?dontcount=1"; <span class="key">DestDir</span>: "<span class="con">{app}</span>"; \
  470. <span class="key">ISSigAllowedKeys</span>: "exesigner bosskey"; \
  471. <span class="key">Flags</span>: issigverify external download ignoreversion; \
  472. <span class="key">DestName</span>: "innosetup-latest.exe"; <span class="key">ExternalSize</span>: 7_000_000</code></pre>
  473. </li>
  474. </ul>
  475. </li>
  476. <li>New Inno Setup Signature Tool:
  477. <ul>
  478. <li>Added <tt>ISSigTool.exe</tt>, a new command-line utility designed to sign files using ECDSA P-256 cryptographic signatures.</li>
  479. <li>Offers commands to sign and verify files, to export public keys and to generate private keys.</li>
  480. <li>Example commands:
  481. <pre><code>issigtool --key-file="MyKey.isprivatekey" generate-private-key
  482. issigtool --key-file="MyKey.isprivatekey" sign "MyProg.dll"
  483. issigtool --key-file="MyKey.isprivatekey" export-public-key "MyKey.ispublickey"
  484. issigtool --key-file="MyKey.ispublickey" verify "MyProg.dll"</code></pre>
  485. </li>
  486. </ul>
  487. </li>
  488. <li>Updated documentation:
  489. <ul>
  490. <li>Added new <a href="https://jrsoftware.org/ishelp/index.php?topic=issigkeyssection">[ISSigKeys] section</a> topic.</li>
  491. <li>Updated <a href="https://jrsoftware.org/ishelp/index.php?topic=filessection">[Files] section</a> topic.</li>
  492. <li>Added new <a href="https://jrsoftware.org/ishelp/index.php?topic=issig">.issig Signatures: Introduction</a> topic.</li>
  493. <li>Added new <a href="https://jrsoftware.org/ishelp/index.php?topic=issigtool">Inno Setup Signature Tool</a> topic.</li>
  494. </ul>
  495. </li>
  496. <li>Other related changes:
  497. <ul>
  498. <li>The compiler now verifies additional precompiled files, such as <i>Setup.e32</i> and <i>SetupLdr.e32</i>, to ensure they remain unchanged before using them. Can be disabled using new [Setup] section directive <tt>DisablePrecompiledFileVerifications</tt>, though doing so is <i>not</i> recommended.</li>
  499. <li>Added new <tt>[Files]</tt> section parameter <tt>Hash</tt>. Instructs the compiler or Setup to do a simple SHA-256 hash check instead of a full signature verification, as an alternative to using the <tt>issigverify</tt> flag.<br/>
  500. Example script:
  501. <pre><code class="innosetup"><span class="sec">[Files]</span>
  502. <span class="key">Source</span>: "https://jrsoftware.org/download.php/iscrypt.dll?dontcount=1"; \
  503. <span class="key">DestName</span>: "ISCrypt.dll"; <span class="key">DestDir</span>: "<span class="con">{app}</span>"; \
  504. <span class="key">Hash</span>: "2f6294f9aa09f59a574b5dcd33be54e16b39377984f3d5658cda44950fa0f8fc"; \
  505. <span class="key">ExternalSize</span>: 2560; <span class="key">Flags</span>: external download ignoreversion</code></pre>
  506. </li>
  507. <li>Pascal Scripting:
  508. <ul>
  509. <li>Added new <tt>ISSigVerify</tt> and <tt>DownloadTemporaryFileWithISSigVerify</tt> support functions.</li>
  510. <li>Added new <tt>AddWithISSigVerify</tt> and <tt>AddExWithISSigVerify</tt> functions to support class <tt>TDownloadWizardPage</tt>. See updated example script <a href="https://raw.githubusercontent.com/jrsoftware/issrc/refs/heads/main/Examples/CodeDownloadFiles.iss">CodeDownloadFiles.iss</a> for an example.</li>
  511. </ul>
  512. </li>
  513. </ul>
  514. </li>
  515. </ul>
  516. <span class="head2">Other changes</span>
  517. <ul>
  518. <li>Compiler IDE:
  519. <ul>
  520. <li>The <i>Find in Files</i> result list will now update its line numbers when you add or delete lines.</li>
  521. <li>The <i>Highlight occurrences of current word</i> option (which is disabled by default) no longer highlights a section's directive names, parameter names, or Pascal keywords. The <i>Highlight occurrences of current selection</i> option (which is enabled by default) still does.</li>
  522. <li>Dark mode is now supported throughout.</li>
  523. <li>Improved support for high-contrast themes.</li>
  524. <li>Improved support for screen readers.</li>
  525. </ul>
  526. </li>
  527. <li><tt>[Setup]</tt> section directive <tt>Encryption</tt> can now be set to <tt>full</tt>, which will encrypt the entire installation and requires the password to be specified using the /PASSWORD= command line parameter.</li>
  528. <li>Increased the maximum value of <tt>[Setup]</tt> section directive <tt>LZMANumBlockThreads</tt> from 32 to 256.</li>
  529. <li><tt>[Files]</tt> section parameter <tt>Excludes</tt> can now be combined with the <tt>external</tt> flag.</li>
  530. <li>Parameters <tt>ExternalSize</tt>, <tt>ExtraDiskSpaceRequired</tt>, and <tt>UninstallDisplaySize</tt> now support digit separators. Example: <tt>UninstallDisplaySize=1_073_741_824</tt>.</li>
  531. <li>ISPP changes:
  532. <ul>
  533. <li>Added predefined variable <tt>__DIR__</tt>. Returns the directory of the current include file.</li>
  534. <li>Renamed predefined variables <tt>__FILE__</tt> to <tt>__FILENAME__</tt> and <tt>ISPPCC_INVOKED</tt> to <tt>ISCC_INVOKED</tt>. The old names still work.</li>
  535. <li>Renamed support function <tt>RemoveBackslash</tt> to <tt>RemoveBackslashUnlessRoot</tt>. The old name still works.</li>
  536. <li><i>Fix:</i> The return value of support function <tt>ExtractFilePath</tt> did not always include a trailing backslash as intended.</li>
  537. </ul>
  538. </li>
  539. <li>Pascal Scripting changes:
  540. <ul>
  541. <li>Added new <tt>TBitmapButton</tt> support class which works just like <tt>TBitmapImage</tt>, but is accessible by keyboard and compatible with screen readers. Make sure to set the <tt>Caption</tt> property, even if it isn't visible. See updated example script <a href="https://raw.githubusercontent.com/jrsoftware/issrc/refs/heads/main/Examples/CodeClasses.iss">CodeClasses.iss</a> for an example.</li>
  542. <li>Added new <tt>InitializeBitmapButtonFromIcon</tt> and <tt>GetSHA256OfStream</tt> support functions.</li>
  543. <li>Added new <tt>LastBaseNameOrUrl</tt> property to support class <tt>TDownloadWizardPage</tt>. See updated example script <i>CodeDownloadFiles.iss</i> for an example.</li>
  544. <li><i>Fix:</i> Event function <tt>CurPageChanged</tt> is now always only triggered when the current page actually changes. Before it was called twice in a row for <tt>wpPreparing</tt> when the script had a <tt>PrepareToInstall</tt> event function which returned a non empty string to instruct Setup to stop.</li>
  545. </ul>
  546. </li>
  547. <li>When available, Setup now retrieves the temporary directory path using the <tt>GetTempPath2</tt> API, which was first introduced in Windows 11 and later backported to Windows 10 and Windows Server 2016 via monthly updates. When running under the SYSTEM account, <tt>GetTempPath2</tt> returns a private directory (typically <tt>C:\Windows\SystemTemp</tt>), potentially enhancing security. On older versions of Windows or systems that haven't been updated, Setup falls back to the original <tt>GetTempPath</tt> API. (This change adds defense-in-depth; it does not address a known vulnerability.)</li>
  548. <li>Inno Setup 6.4.3 increased the maximum width of all task dialogs by about 50%, which helps to keep long paths from being truncated with ellipses. It now only does this if the task dialog's content actually contains a path.</li>
  549. <li>All official translations which still had an UTF-8 BOM had their BOM removed. Using a BOM in UTF-8 encoded files is not needed and not recommended since Inno Setup 6.3.0.</li>
  550. <li>Inno Setup is now built using Delphi 12.3 Athens instead of Delphi 12.1 Athens. Thanks to Ian Barker from Embarcadero for providing us with a license!</li>
  551. <li>Documentation improvements.</li>
  552. <li>Minor tweaks.</li>
  553. </ul>
  554. <p>Some messages have been added and removed in this version: (<a href="https://github.com/jrsoftware/issrc/commit/a1d6aecc">View differences in Default.isl</a>.)</p>
  555. <ul>
  556. <li><b>New messages:</b>
  557. <ul>
  558. <li>DownloadingLabel2, ExtractingLabel.</li>
  559. <li>ArchiveIncorrectPassword, ArchiveIsCorrupted, ArchiveUnsupportedFormat.</li>
  560. <li>RetryCancelSelectAction, RetryCancelRetry, RetryCancelCancel.</li>
  561. <li>StatusDownloadFiles.</li>
  562. <li>SourceVerificationFailed, VerificationSignatureDoesntExist, VerificationSignatureInvalid, VerificationKeyNotFound, VerificationFileNameIncorrect, VerificationFileTagIncorrect, VerificationFileSizeIncorrect, VerificationFileHashIncorrect.</li>
  563. <li>ErrorDownloading, ErrorExtracting.</li>
  564. </ul>
  565. </li>
  566. <li><b>Removed messages:</b>
  567. <ul>
  568. <li>ErrorFileHash1, ErrorFileHash2.</li>
  569. <li>DownloadingLabel, ExtractionLabel.</li>
  570. </ul>
  571. </li>
  572. </ul>
  573. <p>Note: The official <a href="https://raw.github.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Icelandic.isl">Icelandic</a> translation has been reclassified as unofficial due to the absence of a maintainer.</p>
  574. <details>
  575. <summary>Show history from <b>6.4.3</b> and earlier</summary>
  576. <p><a name="6.4.3"></a><span class="ver">6.4.3 </span><span class="date">(2025-05-03)</span></p>
  577. <ul>
  578. <li>Compiler IDE change: The editor now restores selections on undo and redo.</li>
  579. <li>Inno Setup now includes a new command-line tool, ISSigTool.exe. This tool is designed to sign files using ECDSA P-256 cryptographic signatures. Compil32, ISCC, and ISCmplr use these signatures to verify a number of DLL files before loading them. This is a &quot;technology preview&quot; that is subject to change (e.g., any signatures you create now may have to be recreated when upgrading to the next version).<br />Note: ISSigTool.exe does not replace Microsoft's signtool.exe in any way and is in fact not related to Authenticode Code Signing at all.</li>
  580. <li><i>Fix:</i> Autocomplete support for parameter names in the <tt>[Components]</tt> and <tt>[Dirs]</tt> sections was broken since 6.1.1.</li>
  581. <li><i>Fix:</i> Pascal Scripting support function <tt>Extract7ZipArchive</tt> which was introduced by 6.4.0 would fail with error 11 on older versions of Windows, at least Windows 8.1 and Windows Server 2016.</li>
  582. <li>The maximum width of all task dialogs was increased by about 50%, which helps to keep long paths from being truncated with ellipses. This was done by setting Windows' <tt>TDF_SIZE_TO_CONTENT</tt> flag.</li>
  583. <li>Minor tweaks and documentation improvements.</li>
  584. </ul>
  585. <p><a name="6.4.2"></a><span class="ver">6.4.2 </span><span class="date">(2025-03-12)</span></p>
  586. <ul>
  587. <li>Added <tt>[Setup]</tt> section directive <tt>CloseApplicationsFilterExcludes</tt>.</li>
  588. <li>Inno Setup is now built using Delphi 12.1 Athens instead of Delphi 11.3 Alexandria.</li>
  589. <li>Inno Setup is now signed using a new code signing certificate.</li>
  590. </ul>
  591. <p><a name="6.4.1"></a><span class="ver">6.4.1 </span><span class="date">(2025-02-12)</span></p>
  592. <p><span class="head2">Compiler IDE changes</span></p>
  593. <ul>
  594. <li>Added mouseover tooltips for all Pascal Scripting support functions and class members showing their prototype. Always shows all classes' members instead of just those of the current object's class.</li>
  595. <li>Autocompletion lists now use the same font as the editor.</li>
  596. <li><i>Fix:</i> When the IDE was started for the first time on a system with a DPI setting over 100%, the editor's initial font size was larger than expected.</li>
  597. </ul>
  598. <p><span class="head2">Other changes</span></p>
  599. <ul>
  600. <li>{reg:...} constants can now also embed REG_DWORD-type registry values.</li>
  601. <li><i>Fix:</i> In 6.4.0, using &quot;Shift+&quot; in a <tt>HotKey</tt> parameter in the [Icons] section didn't work and required &quot;Shift&quot; instead, so for example &quot;Ctrl+ShiftM&quot; instead of &quot;Ctrl+Shift+M&quot;.</li>
  602. <li><i>Fix:</i> In 6.4.0, a custom form shown using <tt>[Code]</tt> didn't have a taskbar button if Setup's wizard was not visible at the time.</li>
  603. <li>Added official Arabic translation.</li>
  604. <li>Some minor tweaks and improvements.</li>
  605. </ul>
  606. <p><a name="6.4.0"></a><span class="ver">6.4.0 </span><span class="date">(2025-01-09)</span></p>
  607. <p><span class="head2">Compiler IDE changes</span></p>
  608. <p>Updated the Scintilla editor component used by the Compiler IDE to the latest version.</p>
  609. <p>Multiple selection editing has been improved:</p>
  610. <ul>
  611. <li>Added new <i>Add Next Occurrence</i> menu item to the <i>Edit</i> menu to add the next occurrence of the current word or selected text as an additional selection (Shift+Alt+. or Ctrl+D, see below).</li>
  612. <li>Added new <i>Select All Occurrences</i> menu item to the <i>Edit</i> menu to select all occurrences of the current word or selected text (Shift+Alt+; or Ctrl+Shift+L).</li>
  613. <li>Added new <i>Select All Find Matches</i> menu item to the <i>Edit</i> menu to select all matches of the last find text (Alt+Enter).<br />Additionally, the <i>Find</i> (Ctrl+F) and <i>Replace</i> (Ctrl+H) dialogs now both support being closed by Alt+Enter to directly select all matches.</li>
  614. <li>Added shortcuts to add a cursor or selection up or down (Ctrl+Alt+Up and Ctrl+Alt+Down). For multi-line selections this extends the selection up or down and never shrinks.</li>
  615. <li>Added shortcut to add cursors to line ends (Shift+Alt+I). Behaves the same as in Visual Studio Code, so for example does nothing if all selections are empty.</li>
  616. <li>Added shortcuts to add a word or line as an additional selection (Ctrl+Double Click and Ctrl+Triple Click or Alt+Double Click and Alt+Triple Click).</li>
  617. <li>Added shortcut to remove a selection by clicking it (Ctrl+Click or Alt+Click).</li>
  618. <li>Multiple selection now works over Left, Right, Up, Down, Home and End navigation and selection commands.</li>
  619. <li>Multiple selection now works over word and line deletion commands, and line end insertion.</li>
  620. <li>Multiple selection now works better with Copy and Paste commands.</li>
  621. <li>Left, Right, etc. navigation with rectangular selection is now allowed.</li>
  622. <li>The Find and Replace dialogs and the tools from the <i>Tools</i> menu which generate script text now all work better with multiple selections present.</li>
  623. </ul>
  624. <p>Other editor changes:</p>
  625. <ul>
  626. <li>Added support for Visual Studio Code-style editor shortcuts, like Ctrl+D to Add Next Occurrence, Ctrl+Shift+K to delete a line and Alt+Click to add an additional cursor or remove a selection.<br />To activate this use the <i>Options</i> menu item in the <i>Tools</i> menu to set the new <i>Keys</i> option in the <i>Editor</i> group to <i>Visual Studio Code</i>.<br />The updated <a href="https://jrsoftware.org/ishelp/index.php?topic=compformshortcuts">Compiler IDE Keyboard And Mouse Commands</a> help topic lists all differences with the classic keyboard and mouse shortcuts.</li>
  627. <li>Only if Visual Studio Code-style editor shortcuts have been activated: Added shortcuts to copy line down (Shift+Alt+Down) and to indent or unindent lines (Ctrl+] and Ctrl+[).</li>
  628. <li>Added parameter hints for all Pascal Scripting support functions for quick reference to the function's parameter names, types, and order. Parameter hints can be invoked manually by pressing Ctrl+Shift+Space or automatically by using the new <i>Invoke parameter hints automatically</i> option which is enabled by default.</li>
  629. <li>Added autocompletion support for all Pascal Scripting support functions, types, constants, etcetera. Existing option <i>Invoke autocompletion automatically</i> controls whether the autocompletion suggestions appear automatically or only when invoked manually by pressing Ctrl+Space or Ctrl+I.</li>
  630. <li>Added parameter hints and autocompletion support for all Pascal Scripting support class members and properties. Both always show all classes' members and properties instead of just those of the current object's class.</li>
  631. <li>Added autocompletion support for all Pascal Scripting event function parameters. Always shows all parameters instead of just those of the current event function.</li>
  632. <li>Added autocompletion support for the [Messages] section.</li>
  633. <li>Improved autocompletion support for all Flags parameters: now works for multiple flags instead of for the first only.</li>
  634. <li>Added new <i>Enable section folding</i> option which allows you to temporarily hide sections while editing by clicking the new minus or plus icons in the editor's gutter or by using the new keyboard shortcuts (Ctrl+Shift+[ to fold and Ctrl+Shift+] to unfold) or menu items. Enabled by default.</li>
  635. <li>The editor's gutter now shows change history to keep track of saved and unsaved modifications. Always enabled.</li>
  636. <li>The editor's font now defaults to Consolas if available, consistent with most other modern editors.</li>
  637. <li>The editor can now be scrolled horizontally instead of vertically by holding the Shift key while rotating the mouse wheel. Horizontal scroll wheels are now also supported.</li>
  638. <li>Cut (Ctrl+X or Shift+Delete) and Copy (Ctrl+C or Ctrl+Insert) now cut or copy the entire line if there's no selection, consistent with most other modern editors.</li>
  639. <li>Added new shortcuts to move selected lines up or down (Alt+Up and Alt+Down).</li>
  640. <li>Added new shortcut and menu item to the <i>Edit</i> menu to toggle line comment (Ctrl+/).</li>
  641. <li>Added new shortcut and menu item to the <i>Edit</i> menu to go to matching brace (Ctrl+Shift+\).</li>
  642. <li>Moved the <i>Word Wrap</i> option to the <i>View</i> menu and added a shortcut for it (Alt+Z).</li>
  643. <li>Added a right-click popup menu to the editor's gutter column for breakpoints.</li>
  644. <li>Added dark mode support to autocompletion lists and also added a minimum width.</li>
  645. <li>Added new <i>Show whitespace</i> option. Disabled by default.</li>
  646. <li>Improved brace highlighting.</li>
  647. <li>Fixed an issue when the <i>Auto indent mode</i> and <i>Allow cursor to move beyond end of lines</i> options are both enabled.</li>
  648. </ul>
  649. <p>Other Compiler IDE changes:</p>
  650. <ul>
  651. <li>Shortcuts Alt+Left and Alt+Right now always navigate back and forward even if Visual Studio-style menu shortcuts have been activated.<br />Because of this Alt+Right can no longer be used to initiate auto complete, instead the existing Ctrl+Space or Ctrl+I alternatives must be used.</li>
  652. <li>Moved the list of recently opened files into a new <i>Open Recent</i> submenu of the <i>Files</i> menu.</li>
  653. <li>Added new <i>Use Regular Expressions</i> option to the <i>Edit</i> menu to enable or disable the use of regular expressions for all find and replace operations and added a shortcut for it (Ctrl+Alt+R or Alt+R). Also added a small panel to the statusbar to indicate the current state.</li>
  654. <li>The Find and Replace dialogs now support using Shift+Enter to temporarily search in the opposite direction.</li>
  655. <li>Added shortcuts to select a tab (Ctrl+1 through Ctrl+9).</li>
  656. <li>Added alternative shortcut for the <i>Compile</i> menu item in the <i>Build</i> menu (Shift+F9 or F7).</li>
  657. <li>Added shortcut to the <i>Options</i> menu item in the <i>Tools</i> menu (Ctrl+,).</li>
  658. <li>Removed the length limitation when entering a Sign Tool command and increased control height.</li>
  659. <li>Added a banner which is displayed to each user after each update and links to this revision history.</li>
  660. <li>Enabled dark mode support for the menus on Windows 11 Version 24H2 (2024 Update).</li>
  661. </ul>
  662. <p><span class="head2">Other changes</span></p>
  663. <ul>
  664. <li>Updated the LZMA SDK used by Inno Setup to the latest version, increasing the speed of LZMA and LZMA2 compression (by 10% in a test with default settings) without changing the compression ratio. Compression memory requirements have increased by about 4%. This also made it possible to add support for extracting 7-Zip archives, see below.</li>
  665. <li>Updated the encryption algorithm and key derivation function used by Inno Setup to XChaCha20 and PBKDF2-HMAC-SHA256 respectively, increasing security. This code is built-in: the separate ISCrypt.dll "encryption module" is no longer used and will be automatically deleted when you update.</li>
  666. <li>Added <tt>[Setup]</tt> section directive <tt>EncryptionKeyDerivation</tt> to change the number of PBKDF2-HMAC-SHA256 iterations to use from the default of 200000 to another value.</li>
  667. <li>Replaced all remaining use of MD5 and SHA-1 hashes with SHA-256 hashes, without removing the MD5 and SHA-1 Pascal Scripting and ISPP support functions.</li>
  668. <li>At long last, Setup's wizard window now shows a thumbnail image on its taskbar button, and animates correctly when minimized and restored. As part of this work, support for the long-deprecated <tt>[Setup]</tt> section directive <tt>WindowVisible</tt>, which was used to enable a 1990s-style blue gradient background behind the wizard window, has been dropped. For the same reason Pascal Scripting support object <tt>MainForm</tt> has been removed.</li>
  669. <li>The aspect ratio of Setup's large and small wizard images (as specified by <tt>WizardImageFile</tt> and <tt>WizardSmallImageFile</tt>) is now maintained when the window is scaled. Previously, depending on the font and font size used, they could have appeared horizontally stretched or squished.</li>
  670. <li>The size of the small wizard image area has been extended to 58&times;58 (at standard DPI with the default font). Previous versions used a non-square 55&times;58 size, which made the default image look slightly stretched.</li>
  671. <li>When disk spanning is enabled and Setup cannot find the needed disk slice file (e.g., <tt>setup-2.bin</tt>) in the source directory, it no longer automatically searches for it in a directory named <tt>DISKx</tt> one level up, where <tt>x</tt> is the disk number. Though consistent with old installers from the 16-bit era, this behavior wasn't documented.</li>
  672. <li>The New Script Wizard now sets <tt>UninstallDisplayIcon</tt> when an .exe is chosen as the main executable file.</li>
  673. <li>Merged the Inno Setup Preprocessor documentation into the main documentation instead of being separate.</li>
  674. <li>Added a dark mode version of the documentation, automatically used by the Compiler IDE if a dark theme is chosen.</li>
  675. <li>Pascal Scripting changes:
  676. <ul>
  677. <li>Added new <tt>Extract7ZipArchive</tt> support function to extract a 7-Zip archive, based on the &quot;7z ANSI-C Decoder&quot; from the LZMA SDK by Igor Pavlov. See the new <a href="https://jrsoftware.org/ishelp/index.php?topic=isxfunc_extract7ziparchive">help topic</a> for information about its limitations.<br />Added new <tt>CreateExtractionPage</tt> support function to easily show the extraction progress to the user.</li>
  678. <li>Added new <tt>ExecAndCaptureOutput</tt> support function to execute a program or batch file and capture its <i>stdout</i> and <i>stderr</i> outputs separately.</li>
  679. <li>Added new <tt>StringJoin</tt>, <tt>StringSplit</tt>, and <tt>StringSplitEx</tt> support functions.</li>
  680. <li>Output logging now raises an exception if there was an error setting up output redirection (which should be very rare). The <i>PowerShell.iss</i> example script has been updated to catch the exception.</li>
  681. <li>Added new <tt>NewFolderName</tt> property to support class <tt>TInputDirWizardPage</tt> update the initial value passed to <tt>CreateInputDirPage</tt>.</li>
  682. <li>Added new <tt>PopupMode</tt> and <tt>PopupParent</tt> properties to support class <tt>TForm</tt>.</li>
  683. <li>Documented support functions <tt>VarArrayGet</tt> and <tt>VarArraySet</tt> which were already available but not documented.</li>
  684. <li>Renamed the <tt>FileCopy</tt> support function to <tt>CopyFile</tt>. The old name is still supported, but it is recommended to update your scripts to the new name and the compiler will issue a warning if you don't.</li>
  685. <li>Fixed support function <tt>TStream.CopyFrom</tt> by adding a <tt>BufferSize</tt> parameter which was required but missing. Using <tt>$100000</tt> as the value is recommended.</li>
  686. <li>Condensed the logging of DLL function imports.</li>
  687. <li>Added new <tt>Debugging</tt> support function.</li>
  688. </ul>
  689. </li>
  690. <li>ISPP change: Added support functions <tt>GetSHA256OfFile</tt>, <tt>GetSHA256OfString</tt>, and <tt>GetSHA256OfUnicodeString</tt>.</li>
  691. <li>Inno Setup's Delphi <a href="https://github.com/jrsoftware/issrc" target="_blank">source code</a> has been reorganized to use unit scope names and additionally various units have been renamed for clarity. This makes it a lot easier to get started with working with the Inno Setup source code and making contributions, even with the free <a href="https://www.embarcadero.com/products/delphi/starter/free-download">Delphi Community Edition</a>.</li>
  692. <li>Added official Swedish and Tamil translations.</li>
  693. <li>Various tweaks and improvements.</li>
  694. </ul>
  695. <p>Contributions via <a href="https://github.com/jrsoftware/issrc" target="_blank">GitHub</a>: Thanks to Sergii Leonov, John Stevenson, and jogo- for their contributions!</p>
  696. <p>Thanks to Neil Hodgson and Igor Pavlov for their continued work on Scintilla and the LZMA SDK!</p>
  697. <p>Some messages have been added and changed in this version: (<a href="https://github.com/jrsoftware/issrc/commit/d18bab1c9234aa8bba6c8e277121e562724d331c">View differences in Default.isl</a>.)</p>
  698. <ul>
  699. <li><b>New messages:</b>
  700. <ul>
  701. <li>ExtractionLabel, ButtonStopExtraction, StopExtraction, ErrorExtractionAborted, ErrorExtractionFailed.</li>
  702. </ul>
  703. </li>
  704. </ul>
  705. <p>Note: The official Icelandic translation has not yet been updated for these changes.</p>
  706. <details>
  707. <summary>Show history from <b>6.3.3</b> and earlier</summary>
  708. <p><a name="6.3.3"></a><span class="ver">6.3.3 </span><span class="date">(2024-07-12)</span></p>
  709. <ul>
  710. <li>Improved support for ASLR.</li>
  711. </ul>
  712. <p><a name="6.3.2"></a><span class="ver">6.3.2 </span><span class="date">(2024-06-28)</span></p>
  713. <ul>
  714. <li>Pascal Scripting change: Fixed support function <tt>TStream.Seek</tt>.</li>
  715. </ul>
  716. <p><a name="6.3.1"></a><span class="ver">6.3.1 </span><span class="date">(2024-06-10)</span></p>
  717. <ul>
  718. <li>Fixed Compiler IDE startup error on systems with very high DPI.</li>
  719. </ul>
  720. <p><a name="6.3.0"></a><span class="ver">6.3.0 </span><span class="date">(2024-06-09)</span></p>
  721. <p><span class="head2">Support for UTF-8 encoded files improved</span></p>
  722. <ul>
  723. <li>Added support for UTF-8 encoded files without a BOM for .iss script files, .isl messages files, <tt>LicenseFile</tt>, <tt>InfoBeforeFile</tt>, <tt>InfoAfterFile</tt>, and ISPP's <tt>#file</tt>.</li>
  724. <li>Compiler IDE changes:
  725. <ul>
  726. <li>New script files are now saved as UTF-8 without a BOM by default,
  727. bringing the IDE into line with most other text editors. Existing files
  728. are still saved as they were until the save encoding is changed manually
  729. using the <i>Save Encoding</i> submenu of the <i>File</i> menu.</li>
  730. <li>Added new <i>UTF-8 with BOM</i> menu item to the <i>Save Encoding</i> submenu of the <i>File</i> menu to save new files with a BOM anyway.</li>
  731. </ul>
  732. </li>
  733. <li>Pascal Scripting changes:
  734. <ul>
  735. <li>Support function <tt>LoadStringsFromFile</tt> now also supports UTF-8 encoded files without a BOM.</li>
  736. <li>Added new <tt>SaveStringsToUTF8FileWithoutBOM</tt> support function.</li>
  737. </ul>
  738. </li>
  739. <li>ISPP change: preprocessor output saved by <tt>SaveToFile</tt> is now always saved as UTF-8 without a BOM.</li>
  740. </ul>
  741. <p><span class="head2">Support for Arm64 systems improved, and related enhancements</span></p>
  742. <ul>
  743. <li>Setup now officially supports the installation of x64 apps on
  744. Arm64 Windows 11 systems, which are able to run x64 binaries via
  745. emulation. To enable your x64 app installers to run properly on Arm64
  746. Windows 11, some minor changes may be needed in your scripts. Most
  747. importantly:
  748. <ol>
  749. <li>In <tt>ArchitecturesAllowed</tt> and <tt>ArchitecturesInstallIn64BitMode</tt>, change any use of <tt>x64</tt> to <tt>x64compatible</tt>.</li>
  750. <li>In <tt>Check</tt> parameters and <tt>[Code]</tt>, change any use of <tt>IsX64</tt> to <tt>IsX64Compatible</tt>.</li>
  751. <li>In <tt>[Code]</tt>, if there are any <tt>ProcessorArchitecture = paX64</tt> comparisons, replace them with calls to <tt>IsX64Compatible</tt>.</li>
  752. </ol>
  753. <div class="limargins">The key difference between <tt>x64</tt>/<tt>IsX64</tt> and the new <tt>x64compatible</tt>/<tt>IsX64Compatible</tt> is that the latter matches both x64 Windows and Arm64 Windows 11.</div>
  754. In most cases, <b>you should make the above changes</b>, because otherwise, users on Arm64 systems may not be able to run your installers. For example, an <tt>ArchitecturesAllowed=x64</tt>
  755. setting will only allow the installer to run on x64 Windows — not on
  756. Arm64 Windows 11. Or, if you ship x86 and x64 versions of your app in
  757. the same installer, the 32-bit x86 version may be chosen instead of the
  758. expected x64 version when running on Arm64 Windows 11.</li>
  759. <li>The <tt>[Setup]</tt> section directives <tt>ArchitecturesAllowed</tt> and <tt>ArchitecturesInstallIn64BitMode</tt> have been enhanced:
  760. <ul>
  761. <li>Six new architecture identifiers have been introduced. Briefly:
  762. <ul>
  763. <li><tt>arm32compatible</tt> matches systems capable of running 32-bit Arm binaries.</li>
  764. <li><tt>x64compatible</tt> matches systems capable of running x64 binaries.</li>
  765. <li><tt>x64os</tt> matches systems running x64 Windows only. (Equivalent to the existing <tt>x64</tt> identifier, which is now deprecated.)</li>
  766. <li><tt>x86compatible</tt> matches systems capable of running 32-bit x86 binaries.</li>
  767. <li><tt>x86os</tt> matches systems running 32-bit x86 Windows only. (Equivalent to the existing <tt>x86</tt> identifier.)</li>
  768. <li><tt>win64</tt> matches systems running 64-bit Windows, regardless of architecture.</li>
  769. </ul>
  770. See the new <i>Architecture Identifiers</i> <a href="https://jrsoftware.org/ishelp/index.php?topic=archidentifiers">help topic</a> for further details on each.</li>
  771. <li>Boolean expressions are now supported. Through use of the <tt>and</tt> operator, for example, it is possible to require two architecture identifiers to match at the same time. See the <tt>ArchitecturesAllowed</tt> <a href="https://jrsoftware.org/ishelp/index.php?topic=setup_architecturesallowed">help topic</a> for usage examples.</li>
  772. </ul>
  773. </li>
  774. <li>The <tt>x64</tt> architecture identifier is now deprecated. If it is used, the compiler will issue a warning and substitute <tt>x64os</tt>, which has the same effect. But as mentioned above, in most cases, <b>scripts should be changed</b> to use <tt>x64compatible</tt> because it matches both x64 Windows and Arm64 Windows 11.</li>
  775. <li>The 64-bit example scripts (<tt>64Bit*.iss</tt>) have all been updated to use <tt>x64compatible</tt> as preferred.</li>
  776. <li>Certain 64-bit functionality that previously only worked on x64 Windows now works on Arm64 Windows 11 as well. This includes:
  777. <ul>
  778. <li>The <tt>Permissions</tt> parameter of the <tt>[Dirs]</tt> section when running in 64-bit install mode.</li>
  779. <li>The <tt>Permissions</tt> parameter of the <tt>[Files]</tt> section when running in 64-bit install mode or when the <tt>64bit</tt> flag is used.</li>
  780. <li>The <tt>Permissions</tt> parameter of the <tt>[Registry]</tt> section when running in 64-bit install mode or when the value of the <tt>Root</tt> parameter ends in <tt>64</tt>.</li>
  781. <li>The <tt>regtypelib</tt> flag of the <tt>[Files]</tt> section when running in 64-bit install mode or when the <tt>64bit</tt> flag is used.</li>
  782. </ul>
  783. Note that all of the above remains unsupported on Arm64 Windows 10.
  784. </li>
  785. <li>Setup now logs the machine types supported by the system — that
  786. is, what types of EXEs can be executed, either natively or via
  787. emulation. For example, when running on an Arm64 Windows 11 system, it
  788. logs: <tt>Machine types supported by system: x86 x64 Arm32 Arm64</tt>.</li>
  789. <li>The <tt>OnlyOnTheseArchitectures</tt> message is not used anymore. Instead, the <tt>WindowsVersionNotSupported</tt> message is now shown when Setup is started on an architecture that is not allowed by the <tt>ArchitecturesAllowed</tt> expression. (But please do not remove the message from translation files.)</li>
  790. <li>Pascal Scripting change: Added new <tt>IsArm32Compatible</tt>, <tt>IsX64Compatible</tt>, <tt>IsX64OS</tt>, <tt>IsX86Compatible</tt>, and <tt>IsX86OS</tt> support functions. The <tt>IsX64</tt> support function still exists but is now deprecated as explained above. Example testing all architecture identifiers:
  791. <pre>[Code]
  792. function InitializeSetup: Boolean;
  793. begin
  794. if IsArm32Compatible then Log('IsArm32Compatible');
  795. if IsArm64 then Log('IsArm64');
  796. if IsX64OS then Log('IsX64OS');
  797. if IsX64Compatible then Log('IsX64Compatible');
  798. if IsX86 then Log('IsX86');
  799. if IsX86OS then Log('IsX86OS');
  800. if IsX86Compatible then Log('IsX86Compatible');
  801. if IsWin64 then Log('IsWin64');
  802. Result := True;
  803. end;</pre>
  804. </li>
  805. </ul>
  806. <p><span class="head2">Support for #include files improved</span></p>
  807. <ul>
  808. <li>The Compiler IDE now opens up to 20 #include files in tabs, instead of up to 10.</li>
  809. <li>Tabs for opened #include files can now be closed: Added new <i>Close Tab</i> (Ctrl+F4), <i>Reopen Tab</i>, and <i>Reopen All Tabs</i> menu items to the <i>View</i> menu, also available by right clicking the tab bar.<br>Because of this the shortcut for the <i>Evaluate Constant</i> menu item in the <i>Run</i> menu has been changed from Ctrl+F4 to Ctrl+F7.</li>
  810. <li>The selected and mouseover #include file tabs now show close buttons.</li>
  811. <li>Added a clickable panel to the Status Bar showing the amount of closed tabs if there are any.</li>
  812. <li>Removed flicker (especially visible in dark mode) when switching tabs.</li>
  813. </ul>
  814. <p><span class="head2">Support for Windows Vista, Windows Server 2008, and the Itanium architecture removed</span></p>
  815. <ul>
  816. <li><b>OS requirements change:</b> Windows Vista and Windows Server
  817. 2008 are no longer supported. Windows 7 and Windows Server 2008 R2 are
  818. now the minimum supported operating systems. <tt>[Setup]</tt> section directive <tt>MinVersion</tt> still defaults to <tt>6.1sp1</tt>, so by default Setup will still not run versions of Windows 7 and Windows Server 2008 R2 which have not been updated.</li>
  819. <li>The defunct Itanium architecture is no longer supported. The <tt>ia64</tt> architecture identifier has been removed, and Setup will display the <tt>WindowsVersionNotSupported</tt> error message if it's started on an Itanium system.</li>
  820. <li>Removed <tt>[Icons]</tt> section flag <tt>foldershortcut</tt>
  821. which was already ignored except when running on Windows Vista or
  822. Windows Server 2008, as folder shortcuts do not expand properly on the
  823. Start Menu anymore.</li>
  824. </ul>
  825. <p><span class="head2">Compiler IDE changes</span></p>
  826. <ul>
  827. <li>Added toolbar buttons and shortcuts to navigate back (Alt+Left)
  828. and forward (Alt+Right). Navigating by pressing the mouse X buttons is
  829. also supported. A navigation item is added when changing tabs or moving
  830. at least 11 lines at once, similar to Visual Studio 2022.<br>Because of
  831. this Alt+Right can no longer be used to initiate auto complete, instead
  832. the existing Ctrl+Space or new Ctrl+I alternative must be used. To still
  833. be able to also use Alt+Right for this activate Visual Studio-style
  834. shortcuts, see below.</li>
  835. <li>Added support for Visual Studio-style shortcuts (like Ctrl+- to navigate back, Ctrl+B to compile and F5 to run) to the <i>Build</i> and <i>Run</i> menus. To activate this use the <i>Options</i> menu item in the <i>Tools</i> menu to set the new <i>Key Map</i> option to <i>Visual Studio</i>.</li>
  836. <li>Added multiple selection support (Ctrl+Click or Ctrl+Drag).
  837. Typing, backspace, delete, undo, redo, copy, and paste all work with
  838. multiple selections added this way or via the pre-existing support for
  839. performing rectangular block selection (Alt+Shift+Arrow or Alt+Drag).</li>
  840. <li>Added a shortcut to revert multiple selections into a single one or a single selection into an empty one (Esc).</li>
  841. <li>Added dark mode support to the title bar on Windows 10 Version 2004 and later.
  842. </li><li>Added dark mode support to the main menu bar on all versions of Windows.
  843. </li><li>Added dark mode support to the menus on Windows 10 Version
  844. 1903 and later up to Windows 11 Version 23H2 which is currently the
  845. latest version of Windows 11.
  846. </li><li>Updated the icons used by the editor's gutter, including the
  847. automatic use of higher quality versions in a widened gutter on higher
  848. DPI settings.
  849. </li><li>Lines with a breakpoint are now displayed as normal lines
  850. with syntax highlighting, instead of as white text on a red background.
  851. The editor's gutter still displays an icon on such lines.</li>
  852. <li>Breakpoints are now preserved on a per-file basis between sessions.</li>
  853. <li>Added new <i>Delete All Breakpoints</i> (Shift+Ctrl+F5) menu item to the <i>Run</i> menu.</li>
  854. <li>Added icons to the menus.</li>
  855. <li>Added new <i>Highlight occurrences of current selection</i> and <i>Highlight occurrences of current word</i> options. The first is enabled by default and the second is disabled by default.</li>
  856. <li>The <i>Allow cursor to move beyond end of lines</i> option ("virtual space") is now disabled by default, consistent with most other editors.</li>
  857. <li>When the <i>Allow cursor to move beyond end of lines</i> option is
  858. enabled, pressing the left arrow key while the cursor is at the start
  859. of a line no longer moves the cursor to the end of the previous line
  860. unless the Ctrl key is also pressed, just like in Notepad++, Visual
  861. Studio, and RAD Studio.</li>
  862. <li>The New Script Wizard now offers an option to import a Windows registry .reg file.</li>
  863. <li>The New Script Wizard now automatically sets <tt>ArchitecturesInstallIn64BitMode</tt> and <tt>ArchitecturesAllowed</tt> to <tt>x64compatible</tt>
  864. if it detects that the chosen main executable file is 64-bit. The
  865. default main executable file is now the 64-bit MyProg-x64.exe example
  866. executable instead of 32-bit MyProg.exe.</li>
  867. <li>Added new <i>Generate [Registry] Entries</i> (Shift+Ctrl+R) menu item to the <i>Tools</i> menu to import a Windows registry .reg file as extra entries to the <tt>[Registry]</tt> section at the cursor position, or to a new section.</li>
  868. <li>Added new <i>Generate [Files] Entries</i> (Shift+Ctrl+I) menu item to the <i>Tools</i> menu to design and insert extra entries to the <tt>[Files]</tt> section at the cursor position, or to a new section.</li>
  869. <li>The <i>Generate MsgBox/TaskDialogMsgBox Call</i> tool (previously named <i>MsgBox/TaskDialogMsgBox Designer</i>)
  870. now respects the tab width and tab character settings, indents the
  871. generated Pascal script one extra level, and warns if the cursor
  872. position is not in the [Code] section.</li>
  873. <li>Minor theme color tweaks such as a different background color for the selected text.</li>
  874. </ul>
  875. <p><span class="head2">Support for logging improved</span></p>
  876. <ul>
  877. <li>Added new <tt>[Run]</tt> and <tt>[UninstallRun]</tt> section flag <tt>logoutput</tt>. Instructs Setup and Uninstall to log the output of the executed program or batch file. Cannot be combined with the <tt>nowait</tt>, <tt>runasoriginaluser</tt>, <tt>shellexec</tt>, and <tt>waituntilidle</tt> flags. Has no effect if logging is not enabled.</li>
  878. <li>Added new <tt>[Setup]</tt> section directive <tt>UninstallLogging</tt>, which defaults to <tt>no</tt>. If set to <tt>yes</tt>, the uninstaller will always create a log file if it is launched from the <i>Add/Remove Programs</i> Control Panel applet. Equivalent to passing /LOG on the command line.</li>
  879. <li>Digital signing change: Sign Tool output is now always logged in
  880. the Compiler IDE's "Compiler Output" view, making it easier to debug
  881. issues. Because of this, sign tools that are console programs will now
  882. always run hidden, as their output is being captured and they would
  883. display nothing in their window.</li>
  884. <li>Pascal Scripting change: Added new <tt>ExecAndLogOutput</tt>
  885. support function. Can be used to log the output of the executed program
  886. or batch file to Setup and Uninstall's log, or to receive the output
  887. line by line in your own <tt>[Code]</tt> function, for example to read the first non-empty line from the output as shown in the help file and the new <i>PowerShell.iss</i> example script.</li>
  888. <li>ISPP changes:
  889. <ul>
  890. <li>Output of programs or batch files executed using the <tt>Exec</tt> support function is now always logged in the Compiler IDE's "Compiler Output" view.</li>
  891. <li>Added new support function <tt>ExecAndGetFirstLine</tt> to
  892. execute a program or batch file and read the first non-empty line from
  893. its output which can then be placed or used in the script as shown in
  894. the new <i>PowerShell.iss</i> example script.</li>
  895. </ul>
  896. </li>
  897. </ul>
  898. <p><span class="head2">Other changes</span></p>
  899. <ul>
  900. <li>Console-mode compiler (ISCC) change: Added support for Unicode output.</li>
  901. <li>Added new <tt>[Files]</tt> section flag <tt>signcheck</tt>. Instructs the compiler to check the original source files for a digital signature before storing them.</li>
  902. <li>During startup Setup would always ask Windows to create any missing <tt>{usercf}</tt>, <tt>{userpf}</tt>, and <tt>{usersavedgames}</tt>
  903. folders. It no longer does until the script asks for the folder. Note
  904. that scripts running in administrative install mode should not do this
  905. because it violates the <a href="https://jrsoftware.org/ishelp/index.php?topic=setup_useduserareaswarning">used user areas warning</a>.</li>
  906. <li>Changes to further help protect against potential DLL preloading attacks.</li>
  907. <li>Added support for IIS group users identifiers (<tt>iisiusrs</tt>) for use in <tt>Permissions</tt> parameters.</li>
  908. <li>ISPP changes:
  909. <ul>
  910. <li>Added support function <tt>AddQuotes</tt> to add a quote
  911. character to the left and right sides of a string if the string contains
  912. a space and it didn't have quotes already.</li>
  913. <li>Support function <tt>Exec</tt> no longer requires the filename
  914. parameter to be quoted if it contains spaces. Additionally it now
  915. supports "&gt;" as a filename and now includes special
  916. platform-independent support for .bat and .cmd files, both just like for
  917. example the <tt>[Run]</tt> section.</li>
  918. </ul>
  919. </li>
  920. <li>Pascal Scripting changes:
  921. <ul>
  922. <li>Added support functions <tt>UTF8Encode</tt> and <tt>UTF8Decode</tt> to encode a Unicode string into a UTF-8 encoded ANSI string and vice versa.</li>
  923. <li>Added support functions <tt>LoadStringFromLockedFile</tt> and <tt>LoadStringsFromLockedFile</tt> to read strings from a file even if it's already opened for writing by another program.</li>
  924. <li>Added support class <tt>TNewLinkLabel</tt> which can display multi-line text with embedded links and internally uses a Windows SysLink control. See the <i>CodeClasses.iss</i> example script for examples.</li>
  925. <li><tt>TWizardForm</tt>: Added new <tt>AdjustLinkLabelHeight</tt> function.</li>
  926. <li><tt>TDownloadPage</tt>: Added new <tt>ShowBaseNameInsteadOfUrl</tt> property.</li>
  927. <li>It is now possible to write <tt>var S: set of AnsiChar; begin S := ['a', 'b']; end;</tt>. In previous versions this would result in a type mismatch error.
  928. </li><li>It is now possible to write <tt>Stream.ReadBuffer(S, Length(S));</tt> when S is of type <tt>AnsiString</tt>. In previous versions this would compile but not work at run time. Same applies to <tt>Read</tt>, <tt>Write</tt>, and <tt>WriteBuffer</tt>: all four functions now accept any type of string.</li>
  929. <li>Added example which downloads and unzips a Zip file to the <i>CodeAutomation.iss</i> example script.</li>
  930. <li>Type <tt>TShellFolderID</tt> was removed because it wasn't used by any support function.</li>
  931. </ul>
  932. </li>
  933. <li>Improved the icons used by the <i>Select Language</i> dialog and the <i>Select Destination Location</i>, <i>Select Start Menu Folder</i>, and <i>Preparing to Install</i> wizard pages at 150% DPI and at 200% DPI.</li>
  934. <li>Added modern icons to the MyProg example executables, now compiled with Visual Studio 2022.</li>
  935. <li>Added official Korean translation.</li>
  936. <li>Inno Setup is now built using Delphi 11.3 Alexandria instead of Delphi 10.3 Rio.</li>
  937. <li>Inno Setup's Delphi projects have been recreated as new clean projects and have been added to a <i>Projects\Projects.groupproj</i>
  938. project group. This makes it a lot easier to get started with working
  939. with the Inno Setup source code and making contributions, even with the
  940. free Delphi Community Edition.</li>
  941. <li>Minor tweaks and documentation improvements.</li>
  942. </ul>
  943. <p>Contributions via <a href="https://github.com/jrsoftware/issrc" target="_blank">GitHub</a>: Thanks to Achim Stuy, ser163, Jens Geyer, and Sergii Leonov for their contributions.</p>
  944. <p><a href="https://jrsoftware.org/files/is6.2-whatsnew.htm">Inno Setup 6.2 Revision History</a></p>
  945. </details>
  946. </details>
  947. </details>
  948. </details>
  949. </body>
  950. </html>