Browse Source

Will need the flag on the file location entry as well.

Martijn Laan 4 months ago
parent
commit
c07b743201
2 changed files with 3 additions and 1 deletions
  1. 2 0
      Projects/Src/Compiler.SetupCompiler.pas
  2. 1 1
      Projects/Src/Shared.Struct.pas

+ 2 - 0
Projects/Src/Compiler.SetupCompiler.pas

@@ -4912,6 +4912,8 @@ type
         end;
         if Touch then
           Include(NewFileLocationEntry^.Flags, floApplyTouchDateTime);
+        if foISSigVerify in NewFileEntry^.Options then
+          Include(NewFileLocationEntry^.Flags, floISSigVerify);
         { Note: "nocompression"/"noencryption" on one file makes all merged
           copies uncompressed/unencrypted too }
         if NoCompression then

+ 1 - 1
Projects/Src/Shared.Struct.pas

@@ -268,7 +268,7 @@ type
     FileVersionMS, FileVersionLS: DWORD;
     Flags: set of (floVersionInfoValid, floVersionInfoNotValid, floTimeStampInUTC,
       floIsUninstExe, floCallInstructionOptimized, floApplyTouchDateTime,
-      floChunkEncrypted, floChunkCompressed, floSolidBreak);
+      floChunkEncrypted, floChunkCompressed, floSolidBreak, floISSigVerify);
     Sign: TSetupFileLocationSign;
   end;
 const