diff --git a/src/inst-kleopatra.nsi b/src/inst-kleopatra.nsi index 7cb25001..75cd7ef6 100644 --- a/src/inst-kleopatra.nsi +++ b/src/inst-kleopatra.nsi @@ -1,287 +1,294 @@ # inst-kleopatra.nsi - Installer snippet for kleopatra. -*- coding: latin-1; -*- # Copyright (C) 2005, 2007, 2008 g10 Code GmbH # # This file is part of GPG4Win. # # GPG4Win is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # GPG4Win is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA !ifdef prefix !undef prefix !endif !define prefix ${ipdir}/kleopatra-${gpg4win_pkg_kleopatra_version} ${MementoSection} "Kleopatra" SEC_kleopatra SetOutPath "$INSTDIR" !ifdef SOURCES # Kleopatra Source Package also contains kdepimlibs, kdelibs and # kde-runtime, as well as win-iconv and attica File "${gpg4win_pkg_kleopatra}" !else SetOutPath "$INSTDIR\bin" File ${prefix}/bin/kleopatra.exe #File ${prefix}/bin/kwatchgnupg.exe File ${prefix}/bin/libkleopatraclientcore.dll File ${prefix}/bin/libkleopatraclientgui.dll # The KCM lib is directly linked File ${prefix}/lib/plugins/kcm_kleopatra.dll SetOutPath "$INSTDIR\share\kleopatra\pics" File ${prefix}/share/kleopatra/pics/gpg4win.png File ${prefix}/share/kleopatra/pics/kleopatra_splashscreen.png File ${prefix}/share/kleopatra/pics/kleopatra_splashscreen.svgz File ${prefix}/share/kleopatra/pics/kleopatra_wizard.png File ${prefix}/share/kleopatra/pics/kleopatra_wizard.svgz SetOutPath "$INSTDIR\share\kservices5" File ${prefix}/share/kservices5/kleopatra_config_appear.desktop File ${prefix}/share/kservices5/kleopatra_config_gnupgsystem.desktop File ${prefix}/share/kservices5/kleopatra_config_cryptooperations.desktop File ${prefix}/share/kservices5/kleopatra_config_smimevalidation.desktop File ${prefix}/share/kservices5/kleopatra_config_dirserv.desktop # SetOutPath "$INSTDIR\share\apps\kwatchgnupg\pics" # File ${prefix}/share/apps/kwatchgnupg/pics/kwatchgnupg.png # File ${prefix}/share/apps/kwatchgnupg/pics/kwatchgnupg2.png # # TODO Can't mix localized and en commons when we install # # more then one kde langanuage # SetOutPath "$INSTDIR\share\doc\HTML\common" # # File ${prefix}/share/doc/HTML/en/common/1.png # File ${prefix}/share/doc/HTML/en/common/10.png # File ${prefix}/share/doc/HTML/en/common/2.png # File ${prefix}/share/doc/HTML/en/common/3.png # File ${prefix}/share/doc/HTML/en/common/4.png # File ${prefix}/share/doc/HTML/en/common/5.png # File ${prefix}/share/doc/HTML/en/common/6.png # File ${prefix}/share/doc/HTML/en/common/7.png # File ${prefix}/share/doc/HTML/en/common/8.png # File ${prefix}/share/doc/HTML/en/common/9.png # File ${prefix}/share/doc/HTML/en/common/artistic-license.html # File ${prefix}/share/doc/HTML/en/common/block_title_bottom.png # File ${prefix}/share/doc/HTML/en/common/block_title_mid.png # File ${prefix}/share/doc/HTML/en/common/block_title_top.png # File ${prefix}/share/doc/HTML/en/common/bottom-left.png # File ${prefix}/share/doc/HTML/en/common/bottom-middle.png # File ${prefix}/share/doc/HTML/en/common/bottom-right.png # File ${prefix}/share/doc/HTML/en/common/bsd-license.html # File ${prefix}/share/doc/HTML/en/common/doxygen.css # File ${prefix}/share/doc/HTML/en/common/favicon.ico # File ${prefix}/share/doc/HTML/en/common/fdl-license.html # File ${prefix}/share/doc/HTML/en/common/fdl-license # File ${prefix}/share/doc/HTML/en/common/fdl-notice.html # File ${prefix}/share/doc/HTML/en/common/kde-docs.css # File ${prefix}/share/doc/HTML/en/common/footer.html # File ${prefix}/share/doc/HTML/en/common/gpl-license.html # File ${prefix}/share/doc/HTML/en/common/gpl-license # File ${prefix}/share/doc/HTML/en/common/header.html # File ${prefix}/share/doc/HTML/en/common/kde-default.css # File ${prefix}/share/doc/HTML/en/common/kde-docs.css # File ${prefix}/share/doc/HTML/en/common/kde_logo_bg.png # File ${prefix}/share/doc/HTML/en/common/lgpl-license.html # File ${prefix}/share/doc/HTML/en/common/lgpl-license # File ${prefix}/share/doc/HTML/en/common/mainfooter.html # File ${prefix}/share/doc/HTML/en/common/mainheader.html # File ${prefix}/share/doc/HTML/en/common/qpl-license.html # File ${prefix}/share/doc/HTML/en/common/tabs.css # File ${prefix}/share/doc/HTML/en/common/top-kde.jpg # File ${prefix}/share/doc/HTML/en/common/top-left.jpg # File ${prefix}/share/doc/HTML/en/common/top-left.png # File ${prefix}/share/doc/HTML/en/common/top-middle.png # File ${prefix}/share/doc/HTML/en/common/top-right.jpg # File ${prefix}/share/doc/HTML/en/common/top-right.png # File ${prefix}/share/doc/HTML/en/common/top.jpg # File ${prefix}/share/doc/HTML/en/common/x11-license.html # File ${prefix}/share/doc/HTML/en/common/xml.dcl # # File ${prefix}/share/doc/HTML/de/common/fdl-translated.html # File ${prefix}/share/doc/HTML/de/common/gpl-translated.html # File ${prefix}/share/doc/HTML/de/common/kde-localised.css # File ${prefix}/share/doc/HTML/de/common/lgpl-translated.html # # SetOutPath "$INSTDIR\share\doc\HTML\de\kleopatra" # # File ${prefix}/share/doc/HTML/de/kleopatra/admin-archive-definitions.html # File ${prefix}/share/doc/HTML/de/kleopatra/admin-checksum-definitions.html # File ${prefix}/share/doc/HTML/de/kleopatra/admin-key-filters.html # File ${prefix}/share/doc/HTML/de/kleopatra/admin.html # File ${prefix}/share/doc/HTML/de/kleopatra/commandline-options.html # File ${prefix}/share/doc/HTML/de/kleopatra/configuration-appearance.html # File ${prefix}/share/doc/HTML/de/kleopatra/configuration-crypto-operations.html # File ${prefix}/share/doc/HTML/de/kleopatra/configuration-gnupg-system.html # File ${prefix}/share/doc/HTML/de/kleopatra/configuration-smime-validation.html # File ${prefix}/share/doc/HTML/de/kleopatra/configuration.html # File ${prefix}/share/doc/HTML/de/kleopatra/credits-and-license.html # File ${prefix}/share/doc/HTML/de/kleopatra/functions-newkey.html # File ${prefix}/share/doc/HTML/de/kleopatra/functions-search.html # File ${prefix}/share/doc/HTML/de/kleopatra/functions.html # File ${prefix}/share/doc/HTML/de/kleopatra/index.html # File ${prefix}/share/doc/HTML/de/kleopatra/introduction.html # File ${prefix}/share/doc/HTML/de/kleopatra/menu.html # File ${prefix}/share/doc/HTML/de/kleopatra/menucertificates.html # File ${prefix}/share/doc/HTML/de/kleopatra/menuhelp.html # File ${prefix}/share/doc/HTML/de/kleopatra/menusettings.html # File ${prefix}/share/doc/HTML/de/kleopatra/menutools.html # File ${prefix}/share/doc/HTML/de/kleopatra/menuview.html # File ${prefix}/share/doc/HTML/de/kleopatra/menuwindow.html # # SetOutPath "$INSTDIR\share\doc\HTML\en\kleopatra" # # File ${prefix}/share/doc/HTML/en/kleopatra/admin-archive-definitions.html # File ${prefix}/share/doc/HTML/en/kleopatra/admin-checksum-definitions.html # File ${prefix}/share/doc/HTML/en/kleopatra/admin-key-filters.html # File ${prefix}/share/doc/HTML/en/kleopatra/admin.html # File ${prefix}/share/doc/HTML/en/kleopatra/commandline-options.html # File ${prefix}/share/doc/HTML/en/kleopatra/configuration-appearance.html # File ${prefix}/share/doc/HTML/en/kleopatra/configuration-crypto-operations.html # File ${prefix}/share/doc/HTML/en/kleopatra/configuration-gnupg-system.html # File ${prefix}/share/doc/HTML/en/kleopatra/configuration-smime-validation.html # File ${prefix}/share/doc/HTML/en/kleopatra/configuration.html # File ${prefix}/share/doc/HTML/en/kleopatra/credits-and-license.html # File ${prefix}/share/doc/HTML/en/kleopatra/functions-newkey.html # File ${prefix}/share/doc/HTML/en/kleopatra/functions-search.html # File ${prefix}/share/doc/HTML/en/kleopatra/functions.html # File ${prefix}/share/doc/HTML/en/kleopatra/index.html # File ${prefix}/share/doc/HTML/en/kleopatra/introduction.html # File ${prefix}/share/doc/HTML/en/kleopatra/menu.html # File ${prefix}/share/doc/HTML/en/kleopatra/menucertificates.html # File ${prefix}/share/doc/HTML/en/kleopatra/menuhelp.html # File ${prefix}/share/doc/HTML/en/kleopatra/menusettings.html # File ${prefix}/share/doc/HTML/en/kleopatra/menutools.html # File ${prefix}/share/doc/HTML/en/kleopatra/menuview.html # File ${prefix}/share/doc/HTML/en/kleopatra/menuwindow.html SetOutPath "$INSTDIR\share\icons\hicolor\128x128\apps" File ${prefix}/share/icons/hicolor/128x128/apps/kleopatra.png SetOutPath "$INSTDIR\share\icons\hicolor\16x16\apps" File ${prefix}/share/kleopatra/pics/gpg4win-compact.png File ${prefix}/share/icons/hicolor/16x16/apps/kleopatra.png SetOutPath "$INSTDIR\share\icons\hicolor\22x22\apps" File ${prefix}/share/icons/hicolor/22x22/apps/kleopatra.png SetOutPath "$INSTDIR\share\icons\hicolor\256x256\apps" File ${prefix}/share/icons/hicolor/256x256/apps/kleopatra.png SetOutPath "$INSTDIR\share\icons\hicolor\32x32\apps" File ${prefix}/share/icons/hicolor/32x32/apps/kleopatra.png SetOutPath "$INSTDIR\share\icons\hicolor\48x48\apps" File ${prefix}/share/icons/hicolor/48x48/apps/kleopatra.png SetOutPath "$INSTDIR\share\icons\hicolor\64x64\apps" File ${prefix}/share/icons/hicolor/64x64/apps/kleopatra.png SetOutPath "$INSTDIR\share\icons\hicolor" File ${prefix}/share/icons/hicolor/icon-theme.cache File index.theme # In KDE 4.10 the locale detection in kdelibs is broken so we # install a kdeglobals with the language setting chosen in the # installer push $1 FileOpen $1 "$INSTDIR\share\kdeglobals" "w" # Writing out icon theme is important here otherwise you have # weird effects like no toolbar icons. FileWrite $1 '[Icons]$\r$\n' FileWrite $1 'Theme=breeze$\r$\n$\r$\n' FileClose $1 pop $1 SetOutPath "$INSTDIR\share\QtProject" # We want kleopatra logging for debugging push $1 FileOpen $1 "$INSTDIR\share\QtProject\qtlogging.ini" "w" FileWrite $1 '[Rules]$\r$\n' FileWrite $1 'org.kde.pim.*=true$\r$\n' FileClose $1 pop $1 SetOutPath "$INSTDIR\..\GnuPG\share\doc\gnupg\examples" # Install profiles push $1 FileOpen $1 "$INSTDIR\..\GnuPG\share\doc\gnupg\examples\VS-NfD.prf" "w" FileWrite $1 '# VS-NfD.prf - Configure options for the VS-NfD mode -*- conf -*-$\r$\n' FileWrite $1 '$\r$\n' FileWrite $1 '[gpg]$\r$\n' FileWrite $1 'compliance de-vs$\r$\n' FileWrite $1 'default-new-key-algo rsa3072/cert,sign+rsa3072/encr$\r$\n' FileWrite $1 '$\r$\n' FileWrite $1 '[gpgsm]$\r$\n' FileWrite $1 'enable-crl-checks$\r$\n' FileWrite $1 'compliance de-vs$\r$\n' FileWrite $1 '$\r$\n' FileWrite $1 '[gpg-agent]$\r$\n' FileWrite $1 'enable-extended-key-format$\r$\n' FileWrite $1 'default-cache-ttl 900$\r$\n' FileWrite $1 'max-cache-ttl 3600$\r$\n' FileWrite $1 'no-allow-mark-trusted$\r$\n' FileWrite $1 'no-allow-external-cache$\r$\n' FileWrite $1 'enforce-passphrase-constraints$\r$\n' FileWrite $1 'min-passphrase-len 9$\r$\n' FileWrite $1 'min-passphrase-nonalpha 0$\r$\n' FileWrite $1 '$\r$\n' FileWrite $1 '[dirmngr]$\r$\n' FileWrite $1 'allow-ocsp$\r$\n' FileClose $1 pop $1 push $1 FileOpen $1 "$INSTDIR\..\GnuPG\share\doc\gnupg\examples\Automatic.prf" "w" FileWrite $1 '# Automatic.prf - Configure options for a more automatic mode -*- conf -*-$\r$\n' FileWrite $1 '$\r$\n' FileWrite $1 '[gpg]$\r$\n' FileWrite $1 'auto-key-locate local,wkd,dane$\r$\n' FileWrite $1 'auto-key-retrieve$\r$\n' FileWrite $1 'trust-model tofu+pgp$\r$\n' FileWrite $1 '$\r$\n' FileClose $1 pop $1 WriteRegStr SHCTX "Software\Gpg4win\kleopatra\Capabilities" "ApplicationDescription" "$(DESC_SEC_kleopatra)" WriteRegStr SHCTX "Software\Gpg4win\kleopatra\Capabilities" "ApplicationIcon" "$INSTDIR\bin\kleopatra.exe,0" WriteRegStr SHCTX "Software\Gpg4win\kleopatra\Capabilities" "ApplicationName" "Kleopatra" # Openpgp4fpr URI scheme WriteRegStr SHCTX "Software\Classes\openpgp4fpr" "" "URL:OpenPGP master key fingerprint" WriteRegStr SHCTX "Software\Classes\openpgp4fpr" "URL Protocol" "" WriteRegStr SHCTX "Software\Classes\openpgp4fpr\DefaultIcon" "" "$INSTDIR\bin\kleopatra.exe,0" WriteRegStr SHCTX "Software\Classes\openpgp4fpr\shell\open\command" "" "$\"$INSTDIR\bin\kleopatra.exe$\" --query $\"%1$\"" + # p7s / p7m are special because they are already known + WriteRegExpandStr SHCTX "Software\Classes\P7MFile\shell\open\command" "" "$\"$INSTDIR\bin\kleopatra.exe$\" $\"%1$\"" + WriteRegStr SHCTX "Software\Classes\P7MFile\DefaultIcon" "" "$INSTDIR\share\gpg4win\file-ext.ico" + + WriteRegExpandStr SHCTX "Software\Classes\P7SFile\shell\open\command" "" "$\"$INSTDIR\bin\kleopatra.exe$\" $\"%1$\"" + WriteRegStr SHCTX "Software\Classes\P7SFile\DefaultIcon" "" "$INSTDIR\share\gpg4win\file-ext.ico" + !endif ${MementoSectionEnd} LangString DESC_SEC_kleopatra ${LANG_ENGLISH} \ "Keymanager for OpenPGP and X.509 and common crypto dialogs." LangString DESC_Menu_kleopatra ${LANG_ENGLISH} \ "Run the Kleopatra key management tool." diff --git a/src/uninst-kleopatra.nsi b/src/uninst-kleopatra.nsi index 797aaf73..d6d96aaa 100644 --- a/src/uninst-kleopatra.nsi +++ b/src/uninst-kleopatra.nsi @@ -1,244 +1,249 @@ # uninst-kleopatra.nsi - Installer snippet for kleopatra. -*- coding: latin-1; -*- # Copyright (C) 2005, 2007, 2008 g10 Code GmbH # # This file is part of GPG4Win. # # GPG4Win is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # GPG4Win is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA !ifdef prefix !undef prefix !endif !define prefix ${ipdir}/kleopatra-${gpg4win_pkg_kleopatra_version} ; Uninstaller section. Section "-un.kleopatra" !ifdef SOURCES Push "${gpg4win_pkg_kleopatra}" Call un.SourceDelete !else Delete "$INSTDIR\bin\kleopatra.exe" Delete "$INSTDIR\bin\kcm_kleopatra.dll" # Delete "$INSTDIR\bin\kwatchgnupg.exe" RMDir "$INSTDIR\bin" Delete "$INSTDIR\share\icons\hicolor\64x64\apps\kleopatra.png" Delete "$INSTDIR\share\icons\hicolor\48x48\apps\kleopatra.png" Delete "$INSTDIR\share\icons\hicolor\32x32\apps\kleopatra.png" Delete "$INSTDIR\share\icons\hicolor\256x256\apps\kleopatra.png" Delete "$INSTDIR\share\icons\hicolor\22x22\apps\kleopatra.png" Delete "$INSTDIR\share\icons\hicolor\16x16\apps\kleopatra.png" Delete "$INSTDIR\share\icons\hicolor\16x16\apps\gpg4win-compact.png" Delete "$INSTDIR\share\icons\hicolor\128x128\apps\kleopatra.png" Delete "$INSTDIR\share\icons\hicolor\icon-theme.cache" Delete "$INSTDIR\share\icons\hicolor\index.theme" RMDir "$INSTDIR\share\icons\hicolor\64x64\apps" RMDir "$INSTDIR\share\icons\hicolor\64x64" RMDir "$INSTDIR\share\icons\hicolor\48x48\apps" RMDir "$INSTDIR\share\icons\hicolor\48x48" RMDir "$INSTDIR\share\icons\hicolor\32x32\apps" RMDir "$INSTDIR\share\icons\hicolor\32x32" RMDir "$INSTDIR\share\icons\hicolor\256x256\apps" RMDir "$INSTDIR\share\icons\hicolor\256x256" RMDir "$INSTDIR\share\icons\hicolor\22x22\apps" RMDir "$INSTDIR\share\icons\hicolor\22x22" RMDir "$INSTDIR\share\icons\hicolor\16x16\apps" RMDir "$INSTDIR\share\icons\hicolor\16x16" RMDir "$INSTDIR\share\icons\hicolor\128x128\apps" RMDir "$INSTDIR\share\icons\hicolor\128x128" RMDir "$INSTDIR\share\icons\hicolor" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\menuwindow.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\menuview.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\menutools.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\menusettings.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\menuhelp.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\menucertificates.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\menu.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\introduction.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\index.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\functions.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\functions-search.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\functions-newkey.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\functions-keybox-management.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\credits-and-license.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\configuration.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\configuration-dn-order.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\configuration-smime-validation.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\configuration-gnupg-system.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\configuration-crypto-operations.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\configuration-appearance.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\commandline-options.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\admin.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\admin-key-filters.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\admin-checksum-definitions.html" # Delete "$INSTDIR\share\doc\HTML\en\kleopatra\admin-archive-definitions.html" # # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\menuwindow.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\menuview.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\menutools.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\menusettings.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\menuhelp.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\menucertificates.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\menu.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\introduction.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\index.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\functions.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\functions-search.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\functions-newkey.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\functions-keybox-management.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\credits-and-license.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\configuration.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\configuration-dn-order.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\configuration-smime-validation.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\configuration-gnupg-system.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\configuration-crypto-operations.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\configuration-appearance.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\commandline-options.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\admin.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\admin-key-filters.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\admin-checksum-definitions.html" # Delete "$INSTDIR\share\doc\HTML\de\kleopatra\admin-archive-definitions.html" # # Delete "$INSTDIR\share\doc\HTML\common\xml.dcl" # Delete "$INSTDIR\share\doc\HTML\common\x11-license.html" # Delete "$INSTDIR\share\doc\HTML\common\top.jpg" # Delete "$INSTDIR\share\doc\HTML\common\top-right.png" # Delete "$INSTDIR\share\doc\HTML\common\top-right.jpg" # Delete "$INSTDIR\share\doc\HTML\common\top-middle.png" # Delete "$INSTDIR\share\doc\HTML\common\top-left.png" # Delete "$INSTDIR\share\doc\HTML\common\top-left.jpg" # Delete "$INSTDIR\share\doc\HTML\common\top-kde.jpg" # Delete "$INSTDIR\share\doc\HTML\common\tabs.css" # Delete "$INSTDIR\share\doc\HTML\common\qpl-license.html" # Delete "$INSTDIR\share\doc\HTML\common\print.css" # Delete "$INSTDIR\share\doc\HTML\common\mainheader.html" # Delete "$INSTDIR\share\doc\HTML\common\mainfooter.html" # Delete "$INSTDIR\share\doc\HTML\common\lgpl-license.html" # Delete "$INSTDIR\share\doc\HTML\common\lgpl-license" # Delete "$INSTDIR\share\doc\HTML\common\kde_logo_bg.png" # Delete "$INSTDIR\share\doc\HTML\common\kde_logo.png" # Delete "$INSTDIR\share\doc\HTML\common\kde.css" # Delete "$INSTDIR\share\doc\HTML\common\kde-localised.css.template" # Delete "$INSTDIR\share\doc\HTML\common\kde-docs.css" # Delete "$INSTDIR\share\doc\HTML\common\kde-default.css" # Delete "$INSTDIR\share\doc\HTML\common\header.html" # Delete "$INSTDIR\share\doc\HTML\common\gpl-license.html" # Delete "$INSTDIR\share\doc\HTML\common\gpl-license" # Delete "$INSTDIR\share\doc\HTML\common\footer.html" # Delete "$INSTDIR\share\doc\HTML\common\flat.css" # Delete "$INSTDIR\share\doc\HTML\common\fdl-notice.html" # Delete "$INSTDIR\share\doc\HTML\common\fdl-license.html" # Delete "$INSTDIR\share\doc\HTML\common\fdl-license" # Delete "$INSTDIR\share\doc\HTML\common\favicon.ico" # Delete "$INSTDIR\share\doc\HTML\common\doxygen.css" # Delete "$INSTDIR\share\doc\HTML\common\bsd-license.html" # Delete "$INSTDIR\share\doc\HTML\common\bottom-right.png" # Delete "$INSTDIR\share\doc\HTML\common\bottom-middle.png" # Delete "$INSTDIR\share\doc\HTML\common\bottom-left.png" # Delete "$INSTDIR\share\doc\HTML\common\block_title_top.png" # Delete "$INSTDIR\share\doc\HTML\common\block_title_mid.png" # Delete "$INSTDIR\share\doc\HTML\common\block_title_bottom.png" # Delete "$INSTDIR\share\doc\HTML\common\artistic-license.html" # Delete "$INSTDIR\share\doc\HTML\common\9.png" # Delete "$INSTDIR\share\doc\HTML\common\8.png" # Delete "$INSTDIR\share\doc\HTML\common\7.png" # Delete "$INSTDIR\share\doc\HTML\common\6.png" # Delete "$INSTDIR\share\doc\HTML\common\5.png" # Delete "$INSTDIR\share\doc\HTML\common\4.png" # Delete "$INSTDIR\share\doc\HTML\common\3.png" # Delete "$INSTDIR\share\doc\HTML\common\2.png" # Delete "$INSTDIR\share\doc\HTML\common\10.png" # Delete "$INSTDIR\share\doc\HTML\common\1.png" # Delete "$INSTDIR\share\doc\HTML\common\fdl-translated.html" # Delete "$INSTDIR\share\doc\HTML\common\gpl-translated.html" # Delete "$INSTDIR\share\doc\HTML\common\lgpl-translated.html" # Delete "$INSTDIR\share\doc\HTML\common\kde-localised.css" Delete "$INSTDIR\share\kservices5\kleopatra_config_appear.desktop" Delete "$INSTDIR\share\kservices5\kleopatra_config_gnupgsystem.desktop" Delete "$INSTDIR\share\kservices5\kleopatra_config_cryptooperations.desktop" Delete "$INSTDIR\share\kservices5\kleopatra_config_smimevalidation.desktop" Delete "$INSTDIR\share\kservices5\kleopatra_config_dirserv.desktop" RmDir "$INSTDIR\share\kservices5\" Delete "$INSTDIR\share\kdeglobals" Delete "$INSTDIR\share\QtProject\qtlogging.ini" # Delete "$INSTDIR\share\apps\kwatchgnupg\pics\kwatchgnupg2.png" # Delete "$INSTDIR\share\apps\kwatchgnupg\pics\kwatchgnupg.png" # Delete "$INSTDIR\share\apps\kwatchgnupg\kwatchgnupgui.rc" Delete "$INSTDIR\share\kleopatra\pics\kleopatra_wizard.svgz" Delete "$INSTDIR\share\kleopatra\pics\kleopatra_wizard.png" Delete "$INSTDIR\share\kleopatra\pics\kleopatra_splashscreen.svgz" Delete "$INSTDIR\share\kleopatra\pics\kleopatra_splashscreen.png" Delete "$INSTDIR\share\kleopatra\pics\gpg4win.png" Delete "$INSTDIR\share\kleopatra\kleopatra.rc" Delete "$INSTDIR\bin\libkleopatraclientgui.dll" Delete "$INSTDIR\bin\libkleopatraclientcore.dll" Delete "$INSTDIR\bin\libkleopatraclientgui.dll" Delete "$INSTDIR\..\GnuPG\share\doc\gnupg\examples\VS-NfD.prf" Delete "$INSTDIR\..\GnuPG\share\doc\gnupg\examples\Automatic.prf" # RMDir "$INSTDIR\share\doc\HTML\en\kleopatra" # RMDir "$INSTDIR\share\doc\HTML\en" # RMDir "$INSTDIR\share\doc\HTML\common" # RMDir "$INSTDIR\share\doc\HTML\de\kleopatra" # RMDir "$INSTDIR\share\doc\HTML\de" # RMDir "$INSTDIR\share\doc\HTML" # RMDir "$INSTDIR\share\doc" RMDir "$INSTDIR\..\GnuPG\share\doc\gnupg\examples" RMDir "$INSTDIR\..\GnuPG\share\doc\gnupg" RMDir "$INSTDIR\..\GnuPG\share\doc" RMDir "$INSTDIR\..\GnuPG" RMDir "$INSTDIR\share\QtProject" RMDir "$INSTDIR\share\kleopatra\pics" RMDir "$INSTDIR\share\kleopatra" RMDir "$INSTDIR\share" RMDir "$INSTDIR" DetailPrint "Unregistering file extensions" DeleteRegKey SHCTX "Software\Classes\gpg4win.AssocFile.kleopatra.GPG" DeleteRegKey SHCTX "Software\Classes\gpg4win.AssocFile.kleopatra.ASC" DeleteRegKey SHCTX "Software\Classes\gpg4win.AssocFile.kleopatra.CMS" DeleteRegKey SHCTX "Software\Classes\gpg4win.AssocFile.kleopatra.X509" DeleteRegKey SHCTX "Software\Classes\gpg4win.AssocFile.kleopatra.PGPSIG" DeleteRegKey SHCTX "Software\Classes\gpg4win.AssocFile.kleopatra.PGPKEY" DeleteRegKey SHCTX "Software\Gpg4win\kleopatra" DeleteRegValue SHCTX "Software\RegisteredApplications" "Gpg4win.kleopatra" DeleteRegValue SHCTX "Software\Classes\.gpg" "gpg4win.AssocFile.kleopatra.GPG" DeleteRegValue SHCTX "Software\Classes\.asc" "gpg4win.AssocFile.kleopatra.ASC" DeleteRegValue SHCTX "Software\Classes\.pgp" "gpg4win.AssocFile.kleopatra.PGP" DeleteRegValue SHCTX "Software\Classes\.pem" "gpg4win.AssocFile.kleopatra.CMS" DeleteRegValue SHCTX "Software\Classes\.p7s" "gpg4win.AssocFile.kleopatra.CMS" DeleteRegValue SHCTX "Software\Classes\.p7m" "gpg4win.AssocFile.kleopatra.CMS" DeleteRegValue SHCTX "Software\Classes\.arl" "gpg4win.AssocFile.kleopatra.CMS" DeleteRegValue SHCTX "Software\Classes\.crl" "gpg4win.AssocFile.kleopatra.CMS" DeleteRegValue SHCTX "Software\Classes\.crl" "gpg4win.AssocFile.kleopatra.CMS" + DeleteRegKey SHCTX "Software\Classes\P7SFile\DefaultIcon" + DeleteRegKey SHCTX "Software\Classes\P7SFile\shell\open\command" + DeleteRegKey SHCTX "Software\Classes\P7MFile\DefaultIcon" + DeleteRegKey SHCTX "Software\Classes\P7MFile\shell\open\command" + DeleteRegKey SHCTX "Software\Classes\openpgp4fpr" DeleteRegKey /ifempty SHCTX "Software\Classes\.gpg" DeleteRegKey /ifempty SHCTX "Software\Classes\.asc" DeleteRegKey /ifempty SHCTX "Software\Classes\.pgp" DeleteRegKey /ifempty SHCTX "Software\Classes\.sig" DeleteRegKey /ifempty SHCTX "Software\Classes\.pem" DeleteRegKey /ifempty SHCTX "Software\Classes\.p7m" DeleteRegKey /ifempty SHCTX "Software\Classes\.p7s" DeleteRegKey /ifempty SHCTX "Software\Classes\.crl" DeleteRegKey /ifempty SHCTX "Software\Classes\.arl" !endif SectionEnd