Explorar o código

Install .issig files. No yet tested.

Martijn Laan hai 5 meses
pai
achega
cf78de6bdd
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  1. 3 1
      issig.bat
  2. 1 0
      setup.iss

+ 3 - 1
issig.bat

@@ -5,7 +5,7 @@ rem  Copyright (C) 1997-2024 Jordan Russell
 rem  Portions by Martijn Laan
 rem  Portions by Martijn Laan
 rem  For conditions of distribution and use, see LICENSE.TXT.
 rem  For conditions of distribution and use, see LICENSE.TXT.
 rem
 rem
-rem  Batch file to create .issig files required by Inno Setup
+rem  Batch file to create .issig files required by Inno Setup (and delete any unwanted ones)
 
 
 setlocal
 setlocal
 
 
@@ -31,6 +31,8 @@ rem -------------------------------------------------------------------------
 
 
 cd Files
 cd Files
 if errorlevel 1 goto failed
 if errorlevel 1 goto failed
+del *.issig
+if errorlevel 1 goto failed
 ISSigTool sign isbzip.dll ISCmplr.dll islzma.dll ISPP.dll isscint.dll iszlib.dll
 ISSigTool sign isbzip.dll ISCmplr.dll islzma.dll ISPP.dll isscint.dll iszlib.dll
 if errorlevel 1 goto failed
 if errorlevel 1 goto failed
 cd ..
 cd ..

+ 1 - 0
setup.iss

@@ -191,6 +191,7 @@ Source: "Examples\MyDll\Delphi\MyDll.dpr"; DestDir: "{app}\Examples\MyDll\Delphi
 #endif
 #endif
 Source: "files\{#isppdll}"; DestName: "ISPP.dll"; DestDir: "{app}"; Flags: ignoreversion signonce touch
 Source: "files\{#isppdll}"; DestName: "ISPP.dll"; DestDir: "{app}"; Flags: ignoreversion signonce touch
 Source: "files\ISPPBuiltins.iss"; DestDir: "{app}"; Flags: ignoreversion touch
 Source: "files\ISPPBuiltins.iss"; DestDir: "{app}"; Flags: ignoreversion touch
+Source: "files\*.issig"; DestDir: "{app}"; Flags: ignoreversion touch
 
 
 [INI]
 [INI]
 Filename: "{app}\isfaq.url"; Section: "InternetShortcut"; Key: "URL"; String: "https://jrsoftware.org/isfaq.php" 
 Filename: "{app}\isfaq.url"; Section: "InternetShortcut"; Key: "URL"; String: "https://jrsoftware.org/isfaq.php"