aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2016-04-09 11:44:03 +0100
committerSimon Tatham <anakin@pobox.com>2016-04-09 11:44:03 +0100
commit9d15092e7fe618aef2a2e04b57df4e24462ed83f (patch)
treeb7926a69ead6f4fb9b0d0f5a6bb97616bd9ea31a
parentc0bc13c3f207b12401d1948b230eeab94dd9aa55 (diff)
downloadpuzzles-9d15092e7fe618aef2a2e04b57df4e24462ed83f.zip
puzzles-9d15092e7fe618aef2a2e04b57df4e24462ed83f.tar.gz
puzzles-9d15092e7fe618aef2a2e04b57df4e24462ed83f.tar.bz2
puzzles-9d15092e7fe618aef2a2e04b57df4e24462ed83f.tar.xz
Update build script for Inno Setup 5.5.9.
Between 5.5.6 and 5.5.9 the default output file name changed. To defend against that potentially happening again, I'm now explicitly specifying the output file name in the .iss source file (or rather, in winiss.pl, which constructs it).
-rw-r--r--Buildscr6
-rwxr-xr-xwiniss.pl1
2 files changed, 4 insertions, 3 deletions
diff --git a/Buildscr b/Buildscr
index 51b0f1b..910981f 100644
--- a/Buildscr
+++ b/Buildscr
@@ -71,10 +71,10 @@ delegate windows
# Build installers.
in puzzles with wix do/win candle puzzles.wxs && light -ext WixUIExtension -sval puzzles.wixobj
in puzzles with innosetup do/win iscc puzzles.iss
- ifneq "$(winsigncode)" "" in puzzles do $(winsigncode) -i http://www.chiark.greenend.org.uk/~sgtatham/puzzles/ -n "Simon Tatham's Portable Puzzle Collection Installer" puzzles.msi Output/setup.exe
+ ifneq "$(winsigncode)" "" in puzzles do $(winsigncode) -i http://www.chiark.greenend.org.uk/~sgtatham/puzzles/ -n "Simon Tatham's Portable Puzzle Collection Installer" puzzles.msi Output/installer.exe
return puzzles/puzzles.chm
return puzzles/*.exe
- return puzzles/Output/setup.exe
+ return puzzles/Output/installer.exe
return puzzles/puzzles.msi
enddelegate
in puzzles do chmod +x *.exe
@@ -179,7 +179,7 @@ deliver puzzles/puzzles.hlp $@
deliver puzzles/puzzles.cnt $@
deliver puzzles/puzzles.zip $@
deliver puzzles/puzzles.msi puzzles-$(Version)-installer.msi
-deliver puzzles/Output/setup.exe puzzles-$(Version)-installer.exe
+deliver puzzles/Output/installer.exe puzzles-$(Version)-installer.exe
deliver puzzles/*.jar java/$@
deliver puzzles/js/*.js js/$@
deliver puzzles/html/*.html html/$@
diff --git a/winiss.pl b/winiss.pl
index 449916c..eca02d3 100755
--- a/winiss.pl
+++ b/winiss.pl
@@ -56,6 +56,7 @@ print 'DefaultGroupName=Simon Tatham\'s Puzzles'."\n";
print 'ChangesAssociations=no'."\n";
print 'Compression=zip/9'."\n";
print 'AllowNoIcons=yes'."\n";
+print 'OutputBaseFilename=installer'."\n";
print ''."\n";
print '[Files]'."\n";
for $exe (@exes) {