Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 64fc849

Browse files
committed
Add support for code-signing the installer
1 parent 15530f0 commit 64fc849

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/elixir
2-
/Output
2+
/Output
3+
signtool_args.txt

ElixirWeb.iss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ AppVersion=1.00
3030
OutputBaseFilename=elixir-websetup
3131
SolidCompression=yes
3232

33+
; Sign the installer using signtool.exe from VS and arguments from signtool_args.txt
34+
#ifexist 'signtool_args.txt'
35+
#define FileHandle = FileOpen('signtool_args.txt')
36+
#emit 'SignTool=signtool ' + FileRead(FileHandle)
37+
#expr FileClose(FileHandle)
38+
#endif
39+
3340
; This installer doesn't install anything itself, it just runs other installers
3441
CreateAppDir=no
3542
Uninstallable=no

0 commit comments

Comments
 (0)