2012-11-20 10:41:29 +01:00
|
|
|
; QupZilla Windows Installer NSIS Script
|
2014-01-11 16:11:42 +01:00
|
|
|
; Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com>
|
2014-01-29 00:11:51 +01:00
|
|
|
; 2012-2013 S. Razi Alavizadeh <s.r.alavizadeh@gmail.com>
|
2012-11-20 10:41:29 +01:00
|
|
|
;
|
|
|
|
; For compiling this script you need following plugins:
|
|
|
|
; FindProcDLL_plug-in, KillProcDLL_plug-in and 'AllAssociation.nsh' needs
|
2013-01-29 14:23:10 +01:00
|
|
|
; Registry_plug-in, Application_Association_Registration_plug-in
|
2012-11-20 10:41:29 +01:00
|
|
|
; Unicode version of them can be downloaded from:
|
|
|
|
; http://sourceforge.net/projects/findkillprocuni/files/bin/
|
|
|
|
; http://nsis.sourceforge.net/Application_Association_Registration_plug-in
|
|
|
|
; http://nsis.sourceforge.net/Registry_plug-in
|
|
|
|
|
|
|
|
RequestExecutionLevel admin
|
2012-11-19 19:29:04 +01:00
|
|
|
|
|
|
|
; WinVer.nsh was added in the same release that RequestExecutionLevel so check
|
|
|
|
; if ___WINVER__NSH___ is defined to determine if RequestExecutionLevel is
|
|
|
|
; available.
|
|
|
|
!include /NONFATAL WinVer.nsh
|
|
|
|
|
2012-11-19 18:06:39 +01:00
|
|
|
!addplugindir "wininstall\"
|
|
|
|
|
|
|
|
!include "FileFunc.nsh"
|
2012-11-19 19:29:04 +01:00
|
|
|
!include "wininstall\AllAssociation.nsh"
|
2011-05-06 20:05:49 +02:00
|
|
|
SetCompressor /SOLID /FINAL lzma
|
|
|
|
|
|
|
|
!define PRODUCT_NAME "QupZilla"
|
2016-10-24 17:35:49 +02:00
|
|
|
!define /date PRODUCT_VERSION "2.0.2"
|
2011-05-06 20:05:49 +02:00
|
|
|
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\qupzilla.exe"
|
|
|
|
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
|
|
|
|
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
|
2012-11-19 19:29:04 +01:00
|
|
|
!define PRODUCT_CAPABILITIES_KEY "Software\${PRODUCT_NAME}\Capabilities"
|
2011-05-06 20:05:49 +02:00
|
|
|
|
|
|
|
!include "MUI.nsh"
|
|
|
|
!define MUI_ABORTWARNING
|
|
|
|
!define MUI_ICON "wininstall\install.ico"
|
|
|
|
!define MUI_UNICON "wininstall\uninstall.ico"
|
|
|
|
!define MUI_WELCOMEFINISHPAGE_BITMAP "wininstall\welcome.bmp"
|
|
|
|
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "wininstall\welcome.bmp"
|
|
|
|
|
|
|
|
!insertmacro MUI_PAGE_WELCOME
|
|
|
|
!insertmacro MUI_PAGE_LICENSE COPYRIGHT.txt
|
|
|
|
!insertmacro MUI_PAGE_COMPONENTS
|
|
|
|
!insertmacro MUI_PAGE_DIRECTORY
|
|
|
|
!insertmacro MUI_PAGE_INSTFILES
|
|
|
|
|
|
|
|
!define MUI_FINISHPAGE_RUN "$INSTDIR\qupzilla.exe"
|
|
|
|
!insertmacro MUI_PAGE_FINISH
|
|
|
|
|
|
|
|
!insertmacro MUI_UNPAGE_WELCOME
|
|
|
|
!insertmacro MUI_UNPAGE_CONFIRM
|
|
|
|
!insertmacro MUI_UNPAGE_INSTFILES
|
|
|
|
!insertmacro MUI_UNPAGE_FINISH
|
|
|
|
|
|
|
|
!insertmacro MUI_LANGUAGE "English"
|
|
|
|
!insertmacro MUI_LANGUAGE "Czech"
|
|
|
|
!insertmacro MUI_LANGUAGE "Slovak"
|
|
|
|
!insertmacro MUI_LANGUAGE "German"
|
2012-03-31 23:58:51 +02:00
|
|
|
!insertmacro MUI_LANGUAGE "Dutch"
|
2012-01-05 19:43:30 +01:00
|
|
|
!insertmacro MUI_LANGUAGE "Portuguese"
|
2012-03-31 23:58:51 +02:00
|
|
|
!insertmacro MUI_LANGUAGE "Greek"
|
2011-11-09 16:58:25 +01:00
|
|
|
!insertmacro MUI_LANGUAGE "French"
|
2012-03-31 23:58:51 +02:00
|
|
|
!insertmacro MUI_LANGUAGE "Italian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Romanian"
|
2016-11-05 14:17:11 +01:00
|
|
|
!insertmacro MUI_LANGUAGE "Hongkongese"
|
2012-03-31 23:58:51 +02:00
|
|
|
!insertmacro MUI_LANGUAGE "Tradchinese"
|
|
|
|
!insertmacro MUI_LANGUAGE "Simpchinese"
|
|
|
|
!insertmacro MUI_LANGUAGE "Indonesian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Georgian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Japanese"
|
|
|
|
!insertmacro MUI_LANGUAGE "Swedish"
|
2012-09-28 20:54:15 +02:00
|
|
|
!insertmacro MUI_LANGUAGE "Polish"
|
2012-06-30 21:49:36 +02:00
|
|
|
!insertmacro MUI_LANGUAGE "Ukrainian"
|
2013-03-12 12:22:34 +01:00
|
|
|
!insertmacro MUI_LANGUAGE "Catalan"
|
2013-04-27 15:22:34 +02:00
|
|
|
!insertmacro MUI_LANGUAGE "Serbian"
|
2013-05-18 23:37:50 +02:00
|
|
|
!insertmacro MUI_LANGUAGE "SerbianLatin"
|
|
|
|
!insertmacro MUI_LANGUAGE "Farsi"
|
|
|
|
!insertmacro MUI_LANGUAGE "Hebrew"
|
2013-05-25 10:31:54 +02:00
|
|
|
!insertmacro MUI_LANGUAGE "Spanish"
|
2014-01-03 20:08:24 +01:00
|
|
|
!insertmacro MUI_LANGUAGE "Arabic"
|
|
|
|
!insertmacro MUI_LANGUAGE "Basque"
|
2012-02-11 19:02:44 +01:00
|
|
|
|
2011-05-06 20:05:49 +02:00
|
|
|
!insertmacro MUI_RESERVEFILE_LANGDLL
|
|
|
|
|
|
|
|
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
|
|
|
|
OutFile "${PRODUCT_NAME} ${PRODUCT_VERSION} Installer.exe"
|
|
|
|
InstallDir "$PROGRAMFILES\${PRODUCT_NAME}\"
|
|
|
|
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
|
|
|
|
ShowInstDetails show
|
|
|
|
ShowUnInstDetails show
|
|
|
|
|
|
|
|
!include "wininstall\languages.nsh"
|
|
|
|
|
|
|
|
Section !$(TITLE_SecMain) SecMain
|
|
|
|
SectionIn RO
|
2012-11-19 18:06:39 +01:00
|
|
|
FindProcDLL::FindProc "qupzilla.exe"
|
|
|
|
IntCmp $R0 1 0 notRunning
|
|
|
|
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION "$(MSG_RunningInstance)" /SD IDOK IDCANCEL AbortInstallation
|
|
|
|
KillProcDLL::KillProc "qupzilla.exe"
|
|
|
|
Sleep 100
|
|
|
|
Goto notRunning
|
|
|
|
AbortInstallation:
|
|
|
|
Abort "$(MSG_InstallationCanceled)"
|
|
|
|
|
|
|
|
notRunning:
|
2011-05-06 20:05:49 +02:00
|
|
|
SetOverwrite on
|
|
|
|
|
|
|
|
SetOutPath "$INSTDIR"
|
|
|
|
File "COPYRIGHT.txt"
|
|
|
|
File "qupzilla.exe"
|
2012-04-02 19:33:05 +02:00
|
|
|
File "qupzilla.dll"
|
2011-05-06 20:05:49 +02:00
|
|
|
File "libeay32.dll"
|
|
|
|
File "ssleay32.dll"
|
2015-10-21 16:55:32 +02:00
|
|
|
File "Microsoft.VC120.CRT.manifest"
|
|
|
|
File "qt.conf"
|
|
|
|
File "msvcp120.dll"
|
|
|
|
File "msvcr120.dll"
|
|
|
|
File "vccorlib120.dll"
|
|
|
|
File "icudt54.dll"
|
|
|
|
File "icuin54.dll"
|
|
|
|
File "icuuc54.dll"
|
2016-03-30 13:16:43 +02:00
|
|
|
File "libEGL.dll"
|
|
|
|
File "libGLESv2.dll"
|
|
|
|
File "opengl32sw.dll"
|
2016-04-08 20:42:48 +02:00
|
|
|
File "D3Dcompiler_47.dll"
|
2015-10-21 16:55:32 +02:00
|
|
|
File "Qt5Core.dll"
|
|
|
|
File "Qt5Gui.dll"
|
|
|
|
File "Qt5Network.dll"
|
|
|
|
File "Qt5Positioning.dll"
|
|
|
|
File "Qt5PrintSupport.dll"
|
|
|
|
File "Qt5Qml.dll"
|
|
|
|
File "Qt5Quick.dll"
|
2016-03-30 13:16:43 +02:00
|
|
|
File "Qt5QuickWidgets.dll"
|
2015-10-21 16:55:32 +02:00
|
|
|
File "Qt5Sql.dll"
|
2016-03-30 13:16:43 +02:00
|
|
|
File "Qt5Svg.dll"
|
|
|
|
File "Qt5WebEngine.dll"
|
|
|
|
File "Qt5WebEngineCore.dll"
|
|
|
|
File "Qt5WebEngineWidgets.dll"
|
2015-10-21 16:55:32 +02:00
|
|
|
File "Qt5WebChannel.dll"
|
|
|
|
File "Qt5Widgets.dll"
|
2016-03-30 13:16:43 +02:00
|
|
|
File "QtWebEngineProcess.exe"
|
2015-10-21 16:55:32 +02:00
|
|
|
|
|
|
|
SetOutPath "$INSTDIR\iconengines"
|
|
|
|
File "iconengines\qsvgicon.dll"
|
|
|
|
|
2011-05-06 20:05:49 +02:00
|
|
|
SetOutPath "$INSTDIR\imageformats"
|
2015-10-21 16:55:32 +02:00
|
|
|
File "imageformats\*.dll"
|
|
|
|
|
|
|
|
SetOutPath "$INSTDIR\platforms"
|
|
|
|
File "platforms\qwindows.dll"
|
2012-02-11 19:02:44 +01:00
|
|
|
|
2015-10-21 16:55:32 +02:00
|
|
|
SetOutPath "$INSTDIR\printsupport"
|
|
|
|
File "printsupport\windowsprintersupport.dll"
|
2016-03-30 13:16:43 +02:00
|
|
|
|
2016-04-18 09:37:53 +02:00
|
|
|
SetOutPath "$INSTDIR\qml\QtQuick.2"
|
|
|
|
File "qml\QtQuick.2\*"
|
|
|
|
|
|
|
|
SetOutPath "$INSTDIR\qml\QtWebEngine"
|
|
|
|
File "qml\QtWebEngine\*"
|
|
|
|
|
2016-03-30 13:16:43 +02:00
|
|
|
SetOutPath "$INSTDIR\resources"
|
|
|
|
File "resources\*"
|
2015-10-21 16:55:32 +02:00
|
|
|
|
|
|
|
SetOutPath "$INSTDIR\sqldrivers"
|
|
|
|
File "sqldrivers\qsqlite.dll"
|
2016-03-30 13:16:43 +02:00
|
|
|
|
|
|
|
SetOutPath "$INSTDIR\translations\qtwebengine_locales"
|
|
|
|
File "translations\qtwebengine_locales\*"
|
2012-01-13 23:07:04 +01:00
|
|
|
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell\doc"
|
|
|
|
File "wininstall\hunspell\doc\*"
|
2011-05-06 20:05:49 +02:00
|
|
|
|
2012-11-19 19:29:04 +01:00
|
|
|
call RegisterCapabilities
|
2011-05-06 20:05:49 +02:00
|
|
|
SectionEnd
|
|
|
|
|
2011-09-13 18:21:34 +02:00
|
|
|
SectionGroup $(TITLE_SecThemes) SecThemes
|
2014-01-29 00:11:51 +01:00
|
|
|
|
2011-09-13 18:21:34 +02:00
|
|
|
Section Default SecDefault
|
2012-02-11 19:02:44 +01:00
|
|
|
SectionIn RO
|
2011-09-13 18:21:34 +02:00
|
|
|
SetOutPath "$INSTDIR\themes\windows"
|
2012-02-11 19:02:44 +01:00
|
|
|
File "themes\windows\*"
|
2011-09-13 18:21:34 +02:00
|
|
|
SetOutPath "$INSTDIR\themes\windows\images"
|
|
|
|
File "themes\windows\images\*"
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
Section Chrome SecChrome
|
|
|
|
SetOutPath "$INSTDIR\themes\chrome"
|
|
|
|
File "themes\chrome\*"
|
|
|
|
SetOutPath "$INSTDIR\themes\chrome\images"
|
|
|
|
File "themes\chrome\images\*"
|
|
|
|
SectionEnd
|
2012-02-11 19:02:44 +01:00
|
|
|
|
2011-09-13 18:21:34 +02:00
|
|
|
Section Mac SecMac
|
|
|
|
SetOutPath "$INSTDIR\themes\mac"
|
|
|
|
File "themes\mac\*"
|
|
|
|
SetOutPath "$INSTDIR\themes\mac\images"
|
|
|
|
File "themes\mac\images\*"
|
|
|
|
SectionEnd
|
|
|
|
|
2014-09-25 16:30:36 +02:00
|
|
|
Section Breathe SecBreathe
|
|
|
|
SetOutPath "$INSTDIR\themes\breathe"
|
|
|
|
File "themes\breathe\*"
|
|
|
|
SetOutPath "$INSTDIR\themes\breathe\images"
|
|
|
|
File "themes\breathe\images\*"
|
|
|
|
SectionEnd
|
|
|
|
|
2011-09-13 18:21:34 +02:00
|
|
|
Section Old SecOld
|
|
|
|
SetOutPath "$INSTDIR\themes\default"
|
|
|
|
File "themes\default\*"
|
|
|
|
SetOutPath "$INSTDIR\themes\default\images"
|
|
|
|
File "themes\default\images\*"
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
SectionGroupEnd
|
|
|
|
|
2011-05-06 20:05:49 +02:00
|
|
|
SectionGroup $(TITLE_SecTranslations) SecTranslations
|
2014-01-29 00:11:51 +01:00
|
|
|
|
2011-10-23 15:12:04 +02:00
|
|
|
Section "English"
|
2012-02-11 19:02:44 +01:00
|
|
|
SectionIn RO
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
|
|
|
File "wininstall\hunspell\en_US.aff"
|
|
|
|
File "wininstall\hunspell\en_US.dic"
|
2011-05-06 20:05:49 +02:00
|
|
|
SectionEnd
|
|
|
|
|
2014-01-29 00:11:51 +01:00
|
|
|
Section "Arabic"
|
|
|
|
SetOutPath "$INSTDIR\locale"
|
|
|
|
File "locale\ar_SA.qm"
|
|
|
|
File "locale\qt_ar.qm"
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
Section "Bulgarian"
|
|
|
|
SetOutPath "$INSTDIR\locale"
|
|
|
|
File "locale\bg_BG.qm"
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
Section "Catalan"
|
|
|
|
SetOutPath "$INSTDIR\locale"
|
|
|
|
File "locale\ca_ES.qm"
|
|
|
|
File "locale\qt_ca.qm"
|
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
|
|
|
File "wininstall\hunspell\ca_ES.aff"
|
|
|
|
File "wininstall\hunspell\ca_ES.dic"
|
|
|
|
SectionEnd
|
|
|
|
|
2011-10-23 15:12:04 +02:00
|
|
|
Section "Czech"
|
2011-05-06 20:05:49 +02:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
|
|
|
File "locale\cs_CZ.qm"
|
|
|
|
File "locale\qt_cs.qm"
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
|
|
|
File "wininstall\hunspell\cs_CZ.aff"
|
|
|
|
File "wininstall\hunspell\cs_CZ.dic"
|
2011-05-06 20:05:49 +02:00
|
|
|
SectionEnd
|
2012-02-11 19:02:44 +01:00
|
|
|
|
2011-10-23 15:12:04 +02:00
|
|
|
Section "German"
|
|
|
|
SetOutPath "$INSTDIR\locale"
|
|
|
|
File "locale\de_DE.qm"
|
|
|
|
File "locale\qt_de.qm"
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
|
|
|
File "wininstall\hunspell\de_DE.aff"
|
|
|
|
File "wininstall\hunspell\de_DE.dic"
|
2011-10-23 15:12:04 +02:00
|
|
|
SectionEnd
|
|
|
|
|
2014-01-29 00:11:51 +01:00
|
|
|
Section "Greek"
|
2011-11-06 17:01:23 +01:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\el_GR.qm"
|
|
|
|
File "locale\qt_el.qm"
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "wininstall\hunspell\el_GR.aff"
|
|
|
|
File "wininstall\hunspell\el_GR.dic"
|
2012-01-05 19:43:30 +01:00
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
Section "Spanish"
|
|
|
|
SetOutPath "$INSTDIR\locale"
|
|
|
|
File "locale\es_ES.qm"
|
2012-04-02 19:33:05 +02:00
|
|
|
File "locale\es_VE.qm"
|
2012-01-05 19:43:30 +01:00
|
|
|
File "locale\qt_es.qm"
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
|
|
|
File "wininstall\hunspell\es_ES.aff"
|
|
|
|
File "wininstall\hunspell\es_ES.dic"
|
|
|
|
File "wininstall\hunspell\es_VE.aff"
|
|
|
|
File "wininstall\hunspell\es_VE.dic"
|
2012-01-05 19:43:30 +01:00
|
|
|
SectionEnd
|
2012-02-11 19:02:44 +01:00
|
|
|
|
2014-01-29 00:11:51 +01:00
|
|
|
Section "Basque"
|
2012-01-05 19:43:30 +01:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\eu_ES.qm"
|
|
|
|
File "locale\qt_eu.qm"
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
Section "Persian"
|
|
|
|
SetOutPath "$INSTDIR\locale"
|
|
|
|
File "locale\fa_IR.qm"
|
|
|
|
File "locale\qt_fa.qm"
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "wininstall\hunspell\fa_IR.aff"
|
|
|
|
File "wininstall\hunspell\fa_IR.dic"
|
2012-01-05 19:43:30 +01:00
|
|
|
SectionEnd
|
2012-02-11 19:02:44 +01:00
|
|
|
|
2012-01-05 19:43:30 +01:00
|
|
|
Section "French"
|
|
|
|
SetOutPath "$INSTDIR\locale"
|
|
|
|
File "locale\fr_FR.qm"
|
|
|
|
File "locale\qt_fr.qm"
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
|
|
|
File "wininstall\hunspell\fr_FR.aff"
|
|
|
|
File "wininstall\hunspell\fr_FR.dic"
|
2012-01-05 19:43:30 +01:00
|
|
|
SectionEnd
|
2012-02-11 19:02:44 +01:00
|
|
|
|
2014-01-29 00:11:51 +01:00
|
|
|
Section "Galician"
|
2012-01-05 19:43:30 +01:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\gl_ES.qm"
|
|
|
|
File "locale\qt_gl.qm"
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
Section "Hebrew"
|
|
|
|
SetOutPath "$INSTDIR\locale"
|
|
|
|
File "locale\he_IL.qm"
|
|
|
|
File "locale\qt_he.qm"
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
Section "Hungarian"
|
|
|
|
SetOutPath "$INSTDIR\locale"
|
|
|
|
File "locale\hu_HU.qm"
|
|
|
|
File "locale\qt_hu.qm"
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "wininstall\hunspell\hu_HU.aff"
|
|
|
|
File "wininstall\hunspell\hu_HU.dic"
|
2012-01-05 19:43:30 +01:00
|
|
|
SectionEnd
|
2012-02-11 19:02:44 +01:00
|
|
|
|
2014-01-29 00:11:51 +01:00
|
|
|
Section "Indonesian"
|
2012-01-05 19:43:30 +01:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\id_ID.qm"
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "wininstall\hunspell\id_ID.aff"
|
|
|
|
File "wininstall\hunspell\id_ID.dic"
|
2012-01-05 19:43:30 +01:00
|
|
|
SectionEnd
|
2012-02-11 19:02:44 +01:00
|
|
|
|
2014-01-29 00:11:51 +01:00
|
|
|
Section "Italian"
|
2012-01-17 21:20:09 +01:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\it_IT.qm"
|
|
|
|
File "locale\qt_it.qm"
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "wininstall\hunspell\it_IT.aff"
|
|
|
|
File "wininstall\hunspell\it_IT.dic"
|
2012-01-17 21:20:09 +01:00
|
|
|
SectionEnd
|
2012-01-05 19:43:30 +01:00
|
|
|
|
2012-03-19 05:57:39 +01:00
|
|
|
Section "Japanese"
|
|
|
|
SetOutPath "$INSTDIR\locale"
|
|
|
|
File "locale\ja_JP.qm"
|
|
|
|
File "locale\qt_ja.qm"
|
|
|
|
SectionEnd
|
|
|
|
|
2012-04-02 19:33:05 +02:00
|
|
|
Section "Georgian"
|
|
|
|
SetOutPath "$INSTDIR\locale"
|
|
|
|
File "locale\ka_GE.qm"
|
|
|
|
SectionEnd
|
|
|
|
|
2014-01-29 00:11:51 +01:00
|
|
|
Section "Ganda"
|
2012-04-02 19:33:05 +02:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\lg.qm"
|
2012-04-02 19:33:05 +02:00
|
|
|
SectionEnd
|
|
|
|
|
2014-01-29 00:11:51 +01:00
|
|
|
Section "Dutch"
|
2012-04-02 19:33:05 +02:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\nl_NL.qm"
|
|
|
|
File "locale\qt_nl.qm"
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "wininstall\hunspell\nl_NL.aff"
|
|
|
|
File "wininstall\hunspell\nl_NL.dic"
|
2012-04-02 19:33:05 +02:00
|
|
|
SectionEnd
|
|
|
|
|
2014-01-29 00:11:51 +01:00
|
|
|
Section "N'ko"
|
2012-04-02 19:33:05 +02:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\nqo.qm"
|
2012-04-02 19:33:05 +02:00
|
|
|
SectionEnd
|
|
|
|
|
2014-01-29 00:11:51 +01:00
|
|
|
Section "Polish"
|
2012-04-02 19:33:05 +02:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\pl_PL.qm"
|
|
|
|
File "locale\qt_pl.qm"
|
2012-04-02 19:33:05 +02:00
|
|
|
SectionEnd
|
|
|
|
|
2014-01-29 00:11:51 +01:00
|
|
|
Section "Portuguese"
|
2012-07-12 12:55:22 +02:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\pt_PT.qm"
|
|
|
|
File "locale\pt_BR.qm"
|
|
|
|
File "locale\qt_pt.qm"
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "wininstall\hunspell\pt_PT.aff"
|
|
|
|
File "wininstall\hunspell\pt_PT.dic"
|
|
|
|
File "wininstall\hunspell\pt_BR.aff"
|
|
|
|
File "wininstall\hunspell\pt_BR.dic"
|
2012-07-12 12:55:22 +02:00
|
|
|
SectionEnd
|
|
|
|
|
2014-01-29 00:11:51 +01:00
|
|
|
Section "Romanian"
|
2012-09-28 20:54:15 +02:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\ro_RO.qm"
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "wininstall\hunspell\ro_RO.aff"
|
|
|
|
File "wininstall\hunspell\ro_RO.dic"
|
2012-09-28 20:54:15 +02:00
|
|
|
SectionEnd
|
2013-03-11 17:45:48 +01:00
|
|
|
|
2014-01-29 00:11:51 +01:00
|
|
|
Section "Russian"
|
2013-02-23 16:19:25 +01:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\ru_RU.qm"
|
|
|
|
File "locale\qt_ru.qm"
|
2013-03-12 12:22:34 +01:00
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "wininstall\hunspell\ru_RU.aff"
|
|
|
|
File "wininstall\hunspell\ru_RU.dic"
|
2014-01-03 20:08:24 +01:00
|
|
|
SectionEnd
|
|
|
|
|
2014-01-29 00:11:51 +01:00
|
|
|
Section "Slovak"
|
2014-01-03 20:08:24 +01:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\sk_SK.qm"
|
|
|
|
File "locale\qt_sk.qm"
|
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
|
|
|
File "wininstall\hunspell\sk_SK.aff"
|
|
|
|
File "wininstall\hunspell\sk_SK.dic"
|
2014-01-03 20:08:24 +01:00
|
|
|
SectionEnd
|
2014-01-29 00:11:51 +01:00
|
|
|
|
|
|
|
Section "Serbian"
|
2014-01-03 20:08:24 +01:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\sr_BA.qm"
|
|
|
|
File "locale\sr_RS.qm"
|
|
|
|
File "locale\qt_sr_BA.qm"
|
|
|
|
File "locale\qt_sr_RS.qm"
|
|
|
|
File "locale\sr_BA@latin.qm"
|
|
|
|
File "locale\sr_RS@latin.qm"
|
|
|
|
File "locale\qt_sr_BA@latin.qm"
|
|
|
|
File "locale\qt_sr_RS@latin.qm"
|
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
|
|
|
File "wininstall\hunspell\sr.aff"
|
|
|
|
File "wininstall\hunspell\sr.dic"
|
|
|
|
File "wininstall\hunspell\sh.aff"
|
|
|
|
File "wininstall\hunspell\sh.dic"
|
2014-01-03 20:08:24 +01:00
|
|
|
SectionEnd
|
2014-01-29 00:11:51 +01:00
|
|
|
|
|
|
|
Section "Swedish"
|
2014-01-03 20:08:24 +01:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\sv_SE.qm"
|
|
|
|
File "locale\qt_sv.qm"
|
2014-01-03 20:08:24 +01:00
|
|
|
SectionEnd
|
2014-01-29 00:11:51 +01:00
|
|
|
|
|
|
|
Section "Ukrainian"
|
2014-01-03 20:08:24 +01:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\uk_UA.qm"
|
|
|
|
File "locale\qt_uk.qm"
|
|
|
|
SetOutPath "$INSTDIR\hunspell"
|
|
|
|
File "wininstall\hunspell\uk_UA.aff"
|
|
|
|
File "wininstall\hunspell\uk_UA.dic"
|
2014-01-03 20:08:24 +01:00
|
|
|
SectionEnd
|
2014-01-29 00:11:51 +01:00
|
|
|
|
|
|
|
Section "Uzbek"
|
2014-01-03 20:08:24 +01:00
|
|
|
SetOutPath "$INSTDIR\locale"
|
2014-01-29 00:11:51 +01:00
|
|
|
File "locale\uz@Latn.qm"
|
2014-01-03 20:08:24 +01:00
|
|
|
SectionEnd
|
2012-09-28 20:54:15 +02:00
|
|
|
|
2011-05-06 20:05:49 +02:00
|
|
|
SectionGroupEnd
|
|
|
|
|
2012-03-31 23:58:51 +02:00
|
|
|
Section $(TITLE_SecPlugins) SecPlugins
|
|
|
|
SetOutPath "$INSTDIR\plugins"
|
|
|
|
File "plugins\*.dll"
|
|
|
|
SectionEnd
|
2011-05-06 20:05:49 +02:00
|
|
|
|
2012-11-19 19:29:04 +01:00
|
|
|
SectionGroup $(TITLE_SecSetASDefault) SecSetASDefault
|
|
|
|
Section $(TITLE_SecExtensions) SecExtensions
|
|
|
|
SetOutPath "$INSTDIR"
|
|
|
|
${RegisterAssociation} ".htm" "$INSTDIR\qupzilla.exe" "QupZilla.HTM" $(FILE_Htm) "$INSTDIR\qupzilla.exe,1" "file"
|
|
|
|
${RegisterAssociation} ".html" "$INSTDIR\qupzilla.exe" "QupZilla.HTML" $(FILE_Html) "$INSTDIR\qupzilla.exe,1" "file"
|
|
|
|
${UpdateSystemIcons}
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
Section $(TITLE_SecProtocols) SecProtocols
|
2012-11-20 09:00:17 +01:00
|
|
|
${RegisterAssociation} "http" "$INSTDIR\qupzilla.exe" "QupZilla.HTTP" "URL:HyperText Transfer Protocol" "$INSTDIR\qupzilla.exe,0" "protocol"
|
|
|
|
${RegisterAssociation} "https" "$INSTDIR\qupzilla.exe" "QupZilla.HTTPS" "URL:HyperText Transfer Protocol with Privacy" "$INSTDIR\qupzilla.exe,0" "protocol"
|
2013-01-29 17:33:56 +01:00
|
|
|
${RegisterAssociation} "ftp" "$INSTDIR\qupzilla.exe" "QupZilla.FTP" "URL:File Transfer Protocol" "$INSTDIR\qupzilla.exe,0" "protocol"
|
2012-11-19 19:29:04 +01:00
|
|
|
${UpdateSystemIcons}
|
|
|
|
SectionEnd
|
|
|
|
SectionGroupEnd
|
2011-05-06 20:05:49 +02:00
|
|
|
|
2012-01-17 21:20:09 +01:00
|
|
|
Section -StartMenu
|
2011-05-06 20:05:49 +02:00
|
|
|
SetOutPath "$INSTDIR"
|
|
|
|
SetShellVarContext all
|
|
|
|
CreateDirectory "$SMPROGRAMS\QupZilla"
|
|
|
|
CreateShortCut "$SMPROGRAMS\QupZilla\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
|
|
|
|
CreateShortCut "$SMPROGRAMS\QupZilla\QupZilla.lnk" "$INSTDIR\qupzilla.exe"
|
|
|
|
CreateShortCut "$SMPROGRAMS\QupZilla\License.lnk" "$INSTDIR\COPYRIGHT.txt"
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
Section $(TITLE_SecDesktop) SecDesktop
|
|
|
|
SetOutPath "$INSTDIR"
|
2012-02-11 19:02:44 +01:00
|
|
|
CreateShortCut "$DESKTOP\QupZilla.lnk" "$INSTDIR\qupzilla.exe" ""
|
2011-05-06 20:05:49 +02:00
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecMain} $(DESC_SecMain)
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecTranslations} $(DESC_SecTranslations)
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecPlugins} $(DESC_SecPlugins)
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecDesktop} $(DESC_SecDesktop)
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecExtensions} $(DESC_SecExtensions)
|
2011-09-13 18:21:34 +02:00
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecThemes} $(DESC_SecThemes)
|
2012-11-19 19:29:04 +01:00
|
|
|
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecSetASDefault} $(DESC_SecSetASDefault)
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecProtocols} $(DESC_SecProtocols)
|
2011-05-06 20:05:49 +02:00
|
|
|
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
|
|
|
|
2012-01-17 21:20:09 +01:00
|
|
|
Section -Uninstaller
|
2011-05-06 20:05:49 +02:00
|
|
|
WriteUninstaller "$INSTDIR\uninstall.exe"
|
|
|
|
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\qupzilla.exe"
|
|
|
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
|
|
|
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\Uninstall.exe"
|
|
|
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\qupzilla.exe"
|
|
|
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
|
2012-11-19 18:06:39 +01:00
|
|
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "QupZilla Team"
|
|
|
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "HelpLink" "https://github.com/QupZilla/qupzilla/wiki"
|
|
|
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "InstallLocation" "$INSTDIR"
|
|
|
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "InstallSource" "$EXEDIR"
|
|
|
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "http://www.qupzilla.com"
|
|
|
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLUpdateInfo" "http://blog.qupzilla.com/"
|
|
|
|
${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2
|
|
|
|
WriteRegDWORD ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "EstimatedSize" "$0"
|
2011-05-06 20:05:49 +02:00
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
Section Uninstall
|
2012-11-19 18:06:39 +01:00
|
|
|
FindProcDLL::FindProc "qupzilla.exe"
|
|
|
|
IntCmp $R0 1 0 notRunning
|
|
|
|
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION "$(MSG_RunningInstance)" /SD IDOK IDCANCEL AbortInstallation
|
|
|
|
KillProcDLL::KillProc "qupzilla.exe"
|
|
|
|
Sleep 100
|
|
|
|
Goto notRunning
|
|
|
|
AbortInstallation:
|
|
|
|
Abort "$(MSG_InstallationCanceled)"
|
|
|
|
|
|
|
|
notRunning:
|
2011-05-06 20:05:49 +02:00
|
|
|
SetShellVarContext all
|
|
|
|
Delete "$DESKTOP\QupZilla.lnk"
|
|
|
|
RMDir /r "$INSTDIR"
|
|
|
|
RMDir /r "$SMPROGRAMS\QupZilla"
|
|
|
|
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
|
|
|
|
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
|
2012-11-19 19:29:04 +01:00
|
|
|
|
|
|
|
DeleteRegKey HKLM "Software\${PRODUCT_NAME}"
|
|
|
|
DeleteRegValue HKLM "SOFTWARE\RegisteredApplications" "${PRODUCT_NAME}"
|
|
|
|
|
|
|
|
${UnRegisterAssociation} ".htm" "QupZilla.HTM" "$INSTDIR\qupzilla.exe" "file"
|
|
|
|
${UnRegisterAssociation} ".html" "QupZilla.HTML" "$INSTDIR\qupzilla.exe" "file"
|
2012-11-20 09:00:17 +01:00
|
|
|
${UnRegisterAssociation} "http" "QupZilla.HTTP" "$INSTDIR\qupzilla.exe" "protocol"
|
|
|
|
${UnRegisterAssociation} "https" "QupZilla.HTTPS" "$INSTDIR\qupzilla.exe" "protocol"
|
2013-01-29 17:33:56 +01:00
|
|
|
${UnRegisterAssociation} "ftp" "QupZilla.FTP" "$INSTDIR\qupzilla.exe" "protocol"
|
2012-11-19 19:29:04 +01:00
|
|
|
${UpdateSystemIcons}
|
2011-05-06 20:05:49 +02:00
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
BrandingText "${PRODUCT_NAME} ${PRODUCT_VERSION} Installer"
|
|
|
|
|
|
|
|
Function .onInit
|
2013-01-29 14:23:10 +01:00
|
|
|
;Prevent Multiple Instances
|
2012-11-19 18:06:39 +01:00
|
|
|
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "QupZillaInstaller-4ECB4694-2C39-4f93-9122-A986344C4E7B") i .r1 ?e'
|
|
|
|
Pop $R0
|
|
|
|
StrCmp $R0 0 +3
|
|
|
|
MessageBox MB_OK|MB_ICONEXCLAMATION "QupZilla installer is already running!" /SD IDOK
|
|
|
|
Abort
|
|
|
|
|
2012-09-28 20:54:15 +02:00
|
|
|
;Language selection dialog¨
|
|
|
|
;Return when running silent instalation
|
2013-01-29 14:23:10 +01:00
|
|
|
|
2012-09-07 15:16:54 +02:00
|
|
|
IfSilent 0 +2
|
|
|
|
return
|
2011-05-06 20:05:49 +02:00
|
|
|
|
2012-02-11 19:02:44 +01:00
|
|
|
Push ""
|
2012-03-31 23:58:51 +02:00
|
|
|
Push ${LANG_ENGLISH}
|
2012-02-11 19:02:44 +01:00
|
|
|
Push English
|
|
|
|
Push ${LANG_CZECH}
|
|
|
|
Push Czech
|
|
|
|
Push ${LANG_SLOVAK}
|
|
|
|
Push Slovak
|
2012-03-31 23:58:51 +02:00
|
|
|
Push ${LANG_GERMAN}
|
|
|
|
Push German
|
2012-02-11 19:02:44 +01:00
|
|
|
Push ${LANG_DUTCH}
|
|
|
|
Push Dutch
|
|
|
|
Push ${LANG_PORTUGUESE}
|
|
|
|
Push Portuguese
|
2012-03-31 23:58:51 +02:00
|
|
|
Push ${LANG_GREEK}
|
|
|
|
Push Greek
|
|
|
|
Push ${LANG_FRENCH}
|
|
|
|
Push French
|
2012-02-11 19:02:44 +01:00
|
|
|
Push ${LANG_ITALIAN}
|
|
|
|
Push Italian
|
2012-03-31 23:58:51 +02:00
|
|
|
Push ${LANG_ROMANIAN}
|
|
|
|
Push Romanian
|
2016-11-05 14:17:11 +01:00
|
|
|
Push ${LANG_HONGKONG}
|
|
|
|
Push Hongkongese
|
2012-03-31 23:58:51 +02:00
|
|
|
Push ${LANG_TRADCHINESE}
|
|
|
|
Push TraditionalChinese
|
|
|
|
Push ${LANG_SIMPCHINESE}
|
|
|
|
Push SimplifiedChinese
|
|
|
|
Push ${LANG_INDONESIAN}
|
|
|
|
Push Indonesian
|
|
|
|
Push ${LANG_GEORGIAN}
|
|
|
|
Push Georgian
|
|
|
|
Push ${LANG_JAPANESE}
|
|
|
|
Push Japanese
|
|
|
|
Push ${LANG_SWEDISH}
|
|
|
|
Push Swedish
|
2012-09-28 20:54:15 +02:00
|
|
|
Push ${LANG_POLISH}
|
|
|
|
Push Polish
|
2012-06-30 21:49:36 +02:00
|
|
|
Push ${LANG_UKRAINIAN}
|
|
|
|
Push Ukrainian
|
2013-03-12 12:22:34 +01:00
|
|
|
Push ${LANG_CATALAN}
|
|
|
|
Push Catalan
|
2013-04-27 15:22:34 +02:00
|
|
|
Push ${LANG_SERBIAN}
|
|
|
|
Push Serbian
|
2013-05-18 23:37:50 +02:00
|
|
|
Push ${LANG_SERBIANLATIN}
|
2013-05-19 00:08:13 +02:00
|
|
|
Push SerbianLatin
|
2013-05-18 23:37:50 +02:00
|
|
|
Push ${LANG_FARSI}
|
2012-09-30 17:38:48 +02:00
|
|
|
Push Persian
|
2013-05-18 23:37:50 +02:00
|
|
|
Push ${LANG_HEBREW}
|
|
|
|
Push Hebrew
|
2013-05-25 10:31:54 +02:00
|
|
|
Push ${LANG_SPANISH}
|
|
|
|
Push Spanish
|
2012-02-11 19:02:44 +01:00
|
|
|
Push A ; A means auto count languages
|
|
|
|
; for the auto count to work the first empty push (Push "") must remain
|
|
|
|
LangDLL::LangDialog "Installer Language" "Please select the language of the installer"
|
|
|
|
|
|
|
|
Pop $LANGUAGE
|
|
|
|
StrCmp $LANGUAGE "cancel" 0 +2
|
|
|
|
Abort
|
2011-05-06 20:05:49 +02:00
|
|
|
FunctionEnd
|
2012-11-19 19:29:04 +01:00
|
|
|
|
|
|
|
Function RegisterCapabilities
|
|
|
|
!ifdef ___WINVER__NSH___
|
|
|
|
${If} ${AtLeastWinVista}
|
|
|
|
; even if we don't associate QupZilla as default for ".htm" and ".html"
|
|
|
|
; we need to write these ProgIds for future use!
|
|
|
|
;(e.g.: user uses "Default Programs" on Win7 or Vista to set QupZilla as default.)
|
|
|
|
${CreateProgId} "QupZilla.HTM" "$INSTDIR\qupzilla.exe" $(FILE_Htm) "$INSTDIR\qupzilla.exe,1"
|
|
|
|
${CreateProgId} "QupZilla.HTML" "$INSTDIR\qupzilla.exe" $(FILE_Html) "$INSTDIR\qupzilla.exe,1"
|
2012-11-20 09:00:17 +01:00
|
|
|
${CreateProgId} "QupZilla.HTTP" "$INSTDIR\qupzilla.exe" "URL:HyperText Transfer Protocol" "$INSTDIR\qupzilla.exe,0"
|
|
|
|
${CreateProgId} "QupZilla.HTTPS" "$INSTDIR\qupzilla.exe" "URL:HyperText Transfer Protocol with Privacy" "$INSTDIR\qupzilla.exe,0"
|
2013-01-29 17:33:56 +01:00
|
|
|
${CreateProgId} "QupZilla.FTP" "$INSTDIR\qupzilla.exe" "URL:File Transfer Protocol" "$INSTDIR\qupzilla.exe,0"
|
2012-11-19 19:29:04 +01:00
|
|
|
|
|
|
|
; note: these lines just introduce capabilities of QupZilla to OS and don't change defaults!
|
|
|
|
WriteRegStr HKLM "${PRODUCT_CAPABILITIES_KEY}" "ApplicationDescription" "$(PRODUCT_DESC)"
|
|
|
|
WriteRegStr HKLM "${PRODUCT_CAPABILITIES_KEY}" "ApplicationIcon" "$INSTDIR\qupzilla.exe,0"
|
|
|
|
WriteRegStr HKLM "${PRODUCT_CAPABILITIES_KEY}" "ApplicationName" "${PRODUCT_NAME}"
|
|
|
|
WriteRegStr HKLM "${PRODUCT_CAPABILITIES_KEY}\FileAssociations" ".htm" "QupZilla.HTM"
|
|
|
|
WriteRegStr HKLM "${PRODUCT_CAPABILITIES_KEY}\FileAssociations" ".html" "QupZilla.HTML"
|
2012-11-20 09:00:17 +01:00
|
|
|
WriteRegStr HKLM "${PRODUCT_CAPABILITIES_KEY}\URLAssociations" "http" "QupZilla.HTTP"
|
|
|
|
WriteRegStr HKLM "${PRODUCT_CAPABILITIES_KEY}\URLAssociations" "https" "QupZilla.HTTPS"
|
2013-01-29 17:33:56 +01:00
|
|
|
WriteRegStr HKLM "${PRODUCT_CAPABILITIES_KEY}\URLAssociations" "ftp" "QupZilla.FTP"
|
2012-11-19 19:29:04 +01:00
|
|
|
WriteRegStr HKLM "${PRODUCT_CAPABILITIES_KEY}\Startmenu" "StartMenuInternet" "$INSTDIR\qupzilla.exe"
|
|
|
|
WriteRegStr HKLM "SOFTWARE\RegisteredApplications" "${PRODUCT_NAME}" "${PRODUCT_CAPABILITIES_KEY}"
|
|
|
|
${EndIf}
|
|
|
|
!endif
|
|
|
|
FunctionEnd
|