aboutsummaryrefslogtreecommitdiff
path: root/packages/win32_inno
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-23 04:52:13 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-23 04:52:13 +0000
commit0212f0b9d09525f82d08abe19e3c72cfc29916ce (patch)
tree0574b24c7b847773cac14fa37b41f6d041d86588 /packages/win32_inno
parent9f79b40c3c940c3b0c3db45b2203236404a5f4b5 (diff)
new and improved zip package that doesn't need admin to generate, based on 'innounp' aka Inno Setup Unpacker
svn path=/trunk/; revision=16484
Diffstat (limited to 'packages/win32_inno')
-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!"