| Revision 633,
788 bytes
checked in by lowjoel, 4 years ago
(diff) |
|
Following the discussion that Authenticode should also be used when verifying plugins on first load, I've now changed the Compiling Eraser instructions http://eraser.heidi.ie/trac/wiki/CompilingEraser?version=4 so that a Strong Name Key file is used without password protection by default; Authenticode keys will be assumed to be in the Solution root folder, and the release binaries will be signed before the installer is compiled. Bootstrapper will be signed after linking.
|
| Line | |
|---|
| 1 | goto :Sign |
|---|
| 2 | |
|---|
| 3 | :: pass params to a subroutine |
|---|
| 4 | SET _params=%* |
|---|
| 5 | CALL :Sign "%_params%" |
|---|
| 6 | GOTO :eof |
|---|
| 7 | |
|---|
| 8 | :Sign |
|---|
| 9 | @rem Core binaries |
|---|
| 10 | signtool sign /f "%~1\Authenticode.pfx" "%~1\bin\Release\Eraser.exe" |
|---|
| 11 | signtool sign /f "%~1\Authenticode.pfx" "%~1\bin\Release\Eraser.Manager.dll" |
|---|
| 12 | signtool sign /f "%~1\Authenticode.pfx" "%~1\bin\Release\Eraser.Util.dll" |
|---|
| 13 | signtool sign /f "%~1\Authenticode.pfx" "%~1\bin\Release\Plugins\Eraser.DefaultPlugins.dll" |
|---|
| 14 | |
|---|
| 15 | @rem Internationalisations |
|---|
| 16 | signtool sign /f "%~1\Authenticode.pfx" "%~1\bin\Release\Eraser.exe" |
|---|
| 17 | signtool sign /f "%~1\Authenticode.pfx" "%~1\bin\Release\Eraser.Manager.dll" |
|---|
| 18 | signtool sign /f "%~1\Authenticode.pfx" "%~1\bin\Release\Eraser.Util.dll" |
|---|
| 19 | signtool sign /f "%~1\Authenticode.pfx" "%~1\bin\Release\Plugins\Eraser.DefaultPlugins.dll" |
|---|
Note: See
TracBrowser
for help on using the repository browser.