Skip to content

Commit 3fa95d4

Browse files
committed
Added images to the Windows installer
1 parent df5bd78 commit 3fa95d4

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

packaging/windows/freelan.iss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ OutputBaseFilename={#NAME}-{#VERSION}-{#ARCH}-install
2525
Compression=lzma
2626
SolidCompression=yes
2727
ArchitecturesInstallIn64BitMode=x64
28+
WizardSmallImageFile=images\wizard_small.bmp
29+
WizardImageFile=images\wizard.bmp
2830

2931
[Languages]
3032
Name: english; MessagesFile: compiler:Default.isl
151 KB
Binary file not shown.
9.57 KB
Binary file not shown.

packaging/windows/innosetup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ def get_files(source, env):
108108
if f:
109109
result.append(env.File(f))
110110

111+
config = get_config(source, env)
112+
113+
for images in {'WizardSmallImageFile', 'WizardImageFile'}:
114+
image_file = config.get('Setup', 'WizardSmallImageFile')
115+
result.append(env.File(image_file))
116+
111117
return result
112118

113119

0 commit comments

Comments
 (0)