aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/win32_inno/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/packages/win32_inno/Makefile b/packages/win32_inno/Makefile
index 4cebc31f..f795f367 100755
--- a/packages/win32_inno/Makefile
+++ b/packages/win32_inno/Makefile
@@ -52,14 +52,16 @@ zippackagefolder = $(zipfolder)/$(zippackage)
zip:
# this fake installs the above into a folder to be zipped up
install -d "$(zipfolder)"
- cp "$(packages_src)/win32_inno/Output/Pd-$(PD_VERSION).exe" $(zipfolder)
- install -d "$(zippackagefolder)"
- cd "$(zippackagefolder)" && \
- "../$(zippackage).exe" //DIR=".\\" //LOG="..\\$(zippackage).log" \
- //VERYSILENT //SP- //NORESTART //NOICONS //SUPPRESSMSGBOXES \
- //TASKS=""
- install -p $(DESTDIR)$(prefix)/*.dll "$(zippackagefolder)/bin/"
+ cp "$(packages_src)/win32_inno/Output/Pd-$(PD_VERSION).exe" "$(zipfolder)"
+# test the inno exe
+ innounp -v -t -b -y zip/$(zippackage).exe -d"$(zipfolder)"
+# extract the inno exe
+ innounp -v -x -b -y zip/$(zippackage).exe -d"$(zipfolder)"
cd "$(zipfolder)" && \
+ mv \{app\} $(zippackagefolder) && \
+ mv \{fonts\} $(zippackagefolder)/fonts && \
+ install -p \{sys\}/*.dll $(zippackagefolder)/bin/ && \
+ install -p \{sys\}/*.exe $(zippackagefolder)/bin/ && \
zip -9r --no-wild "$(zippackage).zip" "$(zippackage)"
@echo " "
@echo "win32_inno install succeeded!"