diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-10-15 21:27:16 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-10-15 21:27:16 -0700 |
commit | fada2f6bc65272d66022b562ce3197cb14fabf59 (patch) | |
tree | b5dc89bb1ced51cccc66f7a3b7da6261a90facfe | |
parent | ac3124b8d0985cb052e7db254269fcc643526dbe (diff) | |
download | subsurface-fada2f6bc65272d66022b562ce3197cb14fabf59.tar.gz |
Better Windows installer .nsi file
This still requires on carefully staged files in the packaging/windows
directory. Specifically:
- the dll directory (or symlink) points to the installed gtk Windows DLLs
- the mydll directory (or symlink) contains six other DLLs (where the
cross built DLLs from Fedora for some reason file, but can be
transparently replaced with the ones from the upstream binary
package
- the share directory contains the Windows gtk locale files (but only for
the locales that we support, anyway)
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | packaging/windows/subsurface.nsi | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/packaging/windows/subsurface.nsi b/packaging/windows/subsurface.nsi index 5a63f3733..9037c07c6 100644 --- a/packaging/windows/subsurface.nsi +++ b/packaging/windows/subsurface.nsi @@ -109,6 +109,8 @@ Section File dll\libffi-6.dll File dll\libfontconfig-1.dll File dll\libfreetype-6.dll + File mydll\freetype6.dll + File mydll\freetype-config File dll\libgdk-win32-2.0-0.dll File dll\libgdk_pixbuf-2.0-0.dll File dll\libgio-2.0-0.dll @@ -120,20 +122,22 @@ Section File dll\libintl-8.dll File dll\libjasper-1.dll File dll\libjpeg-62.dll - File dll\libpango-1.0-0.dll - File dll\libpangocairo-1.0-0.dll - File dll\libpangoft2-1.0-0.dll - File dll\libpangowin32-1.0-0.dll + File mydll\libpango-1.0-0.dll + File mydll\libpangocairo-1.0-0.dll + File mydll\libpangoft2-1.0-0.dll + File mydll\libpangowin32-1.0-0.dll File dll\libpixman-1-0.dll File dll\libpng15-15.dll File dll\libtiff-3.dll File dll\libusb-1.0.dll File dll\libxml2-2.dll File dll\libxslt-1.dll + File dll\libexpat-1.dll File dll\pthreadGC2.dll File dll\zlib1.dll File subsurface.ico File /r ..\..\locale + File /r share # Store installation folder in registry WriteRegStr HKCU "Software\Subsurface" "" $INSTDIR |