diff options
author | Daniel Molkentin <danimo@owncloud.com> | 2013-01-09 19:29:50 +0400 |
---|---|---|
committer | Daniel Molkentin <danimo@owncloud.com> | 2013-01-10 20:16:59 +0400 |
commit | 5c495265f4f0fc49d23519b198f0f6b2d1606a03 (patch) | |
tree | 373f4b07e617118b9c8743dd6f178f865421b0f1 /cmake | |
parent | 9cdf2d815086eb716a00591f8583e5d993522b12 (diff) |
Consolidate theming support.
This implements out-of-repository-theming, and removes the old
custom.ini theming that never worked on all platforms and had
no straight deployment story.
The new approach requires the CMAKE variable OEM_THEME_DIR to
point to a directory that must at least contain an OEM.cmake file
(check OWNCLOUD.cmake for possible options) as well as a themes.qrc
and a themes/ directory that directly correspond to the ones in
the source tree.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/NSIS.template.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cmake/modules/NSIS.template.in b/cmake/modules/NSIS.template.in index 705db6154..d9a233fb6 100644 --- a/cmake/modules/NSIS.template.in +++ b/cmake/modules/NSIS.template.in @@ -6,6 +6,7 @@ !define APPLICATION_EXECUTABLE "@APPLICATION_EXECUTABLE@.exe" !define APPLICATION_DOMAIN "@APPLICATION_DOMAIN@" !define APPLICATION_LICENSE "@APPLICATION_LICENSE@" +!define WIN_SETUP_BITMAP_PATH "@WIN_SETUP_BITMAP_PATH@" !define MUI_FINISHPAGE_LINK_LOCATION "http://www.${APPLICATION_DOMAIN}" @@ -103,11 +104,11 @@ ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll" !define MUI_ABORTWARNING !define MUI_ICON ${NSI_PATH}\installer.ico !define MUI_UNICON ${NSI_PATH}\installer.ico -!define MUI_WELCOMEFINISHPAGE_BITMAP ${NSI_PATH}\welcome_${APPLICATION_SHORTNAME}.bmp +!define MUI_WELCOMEFINISHPAGE_BITMAP ${WIN_SETUP_BITMAP_PATH}/welcome.bmp !define MUI_WELCOMEPAGE_TITLE "Welcome to the @CPACK_PACKAGE_NAME@ ${VERSION} Setup Wizard" !define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation.$\r$\n$\r$\n$_CLICK" !define MUI_HEADERIMAGE -!define MUI_HEADERIMAGE_BITMAP ${NSI_PATH}\page_header_${APPLICATION_SHORTNAME}.bmp +!define MUI_HEADERIMAGE_BITMAP ${WIN_SETUP_BITMAP_PATH}/page_header.bmp !define MUI_COMPONENTSPAGE_SMALLDESC !define MUI_FINISHPAGE_TITLE "@CPACK_PACKAGE_NAME@ Setup Completed" !define MUI_FINISHPAGE_LINK "Click here to visit the @CPACK_PACKAGE_NAME@ website." @@ -128,7 +129,7 @@ ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll" ;----------------------------------------------------------------------------- !insertmacro MUI_PAGE_WELCOME !ifdef OPTION_LICENSE_AGREEMENT - !insertmacro MUI_PAGE_LICENSE "${source_path}/${APPLICATION_LICENSE}" + !insertmacro MUI_PAGE_LICENSE "${APPLICATION_LICENSE}" !endif Page custom PageReinstall PageLeaveReinstall !insertmacro MUI_PAGE_COMPONENTS |