Skip to content

Commit

Permalink
Fix: In 5.5.9 it was no longer possible to include a drive colon in […
Browse files Browse the repository at this point in the history
…Setup] section directive OutputManifestFile. Closes #226.
  • Loading branch information
martijnlaan committed May 9, 2016
1 parent 2d5b838 commit 7faf083
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Projects/Compile.pas
Original file line number Diff line number Diff line change
Expand Up @@ -8336,7 +8336,8 @@ procedure TSetupCompiler.Compile;


const
BadFileNameChars = '/:*?"<>|';
BadFilePathChars = '/*?"<>|';
BadFileNameChars = BadFilePathChars + ':';
var
SetupE32: TMemoryFile;
I: Integer;
Expand Down Expand Up @@ -8580,7 +8581,7 @@ procedure TSetupCompiler.Compile;
end else if OutputBaseFileName = 'setup' then
WarningsList.Add(SCompilerOutputBaseFileNameSetup);
if (SetupDirectiveLines[ssOutputManifestFile] <> 0) and
((OutputManifestFile = '') or (PathLastDelimiter(BadFileNameChars, OutputManifestFile) <> 0)) then begin
((OutputManifestFile = '') or (PathLastDelimiter(BadFilePathChars, OutputManifestFile) <> 0)) then begin
LineNumber := SetupDirectiveLines[ssOutputManifestFile];
AbortCompileOnLineFmt(SCompilerEntryInvalid2, ['Setup', 'OutputManifestFile']);
end;
Expand Down
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ rem Once done the 2 installers can be found in Output

setlocal

set VER=5.5.9
set VER=5.5.10

echo Building Inno Setup %VER%...
echo.
Expand Down
5 changes: 5 additions & 0 deletions whatsnew.htm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
For conditions of distribution and use, see <a href="http://www.jrsoftware.org/files/is/license.txt">LICENSE.TXT</a>.
</p>

<p><a name="5.5.10"></a><span class="ver">5.5.10 </span><span class="date">(?)</span></p>
<ul>
<li><i>Fix:</i>In 5.5.9 it was no longer possible to include a drive colon in [Setup] section directive <tt>OutputManifestFile</tt>.</li>
</ul>

<p><a name="5.5.9"></a><span class="ver">5.5.9 </span><span class="date">(2016-04-06)</span></p>
<ul>
<li>To <a href="#installerprotect1">further</a> help protect installers against potential <a href="http://msdn.microsoft.com/en-us/library/ff919712.aspx">DLL preloading attacks</a>, Setup/Uninstall now calls SetDefaultDllDirectories if available to remove the application directory from the DLL search order. If SetDefaultDllDirectories is not available or cannot be called, it now additionally preloads a set of system DLLs known to be loaded unsafely by older or unpatched versions of Windows.</li>
Expand Down

0 comments on commit 7faf083

Please sign in to comment.