Martijn Laan 3 ay önce
ebeveyn
işleme
59998c0e85
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      Projects/Src/Setup.Install.pas

+ 1 - 1
Projects/Src/Setup.Install.pas

@@ -4007,7 +4007,7 @@ begin
       FreeAndNil(HandleStream);
       FreeAndNil(HandleStream);
 
 
       { Check verification if specified, otherwise check everything else we can check }
       { Check verification if specified, otherwise check everything else we can check }
-      if Verification.Typ = fvNone then begin
+      if Verification.Typ <> fvNone then begin
         var ExpectedFileHash: TSHA256Digest;
         var ExpectedFileHash: TSHA256Digest;
         if Verification.Typ = fvHash then
         if Verification.Typ = fvHash then
           ExpectedFileHash := Verification.Hash
           ExpectedFileHash := Verification.Hash