Page MenuHome GnuPG

No OneTemporary

diff --git a/src/nsis/uninst-gnupg-w32.nsi b/src/nsis/uninst-gnupg-w32.nsi
index 9751eca0..8f61a199 100644
--- a/src/nsis/uninst-gnupg-w32.nsi
+++ b/src/nsis/uninst-gnupg-w32.nsi
@@ -1,50 +1,50 @@
# inst-gnupg2.nsi - Uninstaller snippet for gnupg-w32. -*- coding: latin-1; -*-
# Copyright (C) 2015 Intevation 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., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
!ifdef prefix
!undef prefix
!endif
!define prefix ${ipdir}/gnupg-w32-${gpg4win_pkg_gnupg_w32_version}
# Uninstaller section.
Section "un.gnupg_w32"
!ifdef SOURCES
Push "${gpg4win_pkg_gnupg_w32}"
Call un.SourceDelete
!else
ClearErrors
ReadRegStr $0 SHCTX "Software\GnuPG" "Install Directory"
IfErrors gnupg_w32_not_installed 0
# It is possible that someone uninstalled gnupg without uninstalling
# gpg4win
StrCmp $0 "" gnupg_w32_not_installed
DetailPrint "$(T_Uninstalling_GnuPG) ${gpg4win_pkg_gnupg_w32_version}"
Delete "$0\bin\gpg-enable-keyboxd.bat"
- Delete "$0\bin\gpg-disable-keybox.bat"
+ Delete "$0\bin\gpg-disable-keyboxd.bat"
RmDir "$0\bin"
ExecWait '"$0\gnupg-uninstall.exe" /S _?=$0'
Delete "$0\gnupg-uninstall.exe"
RmDir "$0"
gnupg_w32_not_installed:
!endif
SectionEnd
LangString T_UnInstalling_GnuPG ${LANG_ENGLISH} \
"Uninstalling GnuPG"
diff --git a/src/nsis/uninst-okular.nsi b/src/nsis/uninst-okular.nsi
index 7677da02..34858fa0 100644
--- a/src/nsis/uninst-okular.nsi
+++ b/src/nsis/uninst-okular.nsi
@@ -1,116 +1,117 @@
# Copyright (C) 2023 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}/okular-${gpg4win_pkg_okular_version}
; Uninstaller section.
Section "-un.okular"
Delete "$INSTDIR\bin\okular.exe"
Delete "$INSTDIR\bin\libOkular6Core.dll"
- Delete "$INSTDIR\bin\plugins\okularpart.dll"
- Delete "$INSTDIR\bin\plugins\okular\generators\okularGenerator_poppler.dll"
- RmDir "$INSTDIR\bin\plugins\okular\generators"
- RmDir "$INSTDIR\bin\plugins\okular"
+ Delete "$INSTDIR\bin\plugins\kf6\parts\okularpart.dll"
+ Delete "$INSTDIR\bin\okular_generators\okularGenerator_poppler.dll"
+ RmDir "$INSTDIR\bin\okular_generators"
+ RmDir "$INSTDIR\bin\plugins\kf6\parts"
+ RmDir "$INSTDIR\bin\plugins\kf6"
RmDir "$INSTDIR\bin\plugins"
RmDir "$INSTDIR\bin"
Delete "$INSTDIR\share\kxmlgui5\okular\part.rc"
Delete "$INSTDIR\share\kxmlgui5\okular\part-viewermode.rc"
Delete "$INSTDIR\share\kxmlgui5\okular\shell.rc"
RmDir "$INSTDIR\share\kxmlgui5\okular"
RmDir "$INSTDIR\share\kxmlgui5"
Delete "$INSTDIR\share\okular\drawingtools.xml"
Delete "$INSTDIR\share\okular\toolsQuick.xml"
Delete "$INSTDIR\share\okular\tools.xml"
Delete "$INSTDIR\share\okular\pics\checkmark.png"
Delete "$INSTDIR\share\okular\pics\circle.png"
Delete "$INSTDIR\share\okular\pics\comment.png"
Delete "$INSTDIR\share\okular\pics\cross.png"
Delete "$INSTDIR\share\okular\pics\help.png"
Delete "$INSTDIR\share\okular\pics\insert.png"
Delete "$INSTDIR\share\okular\pics\key.png"
Delete "$INSTDIR\share\okular\pics\newparagraph.png"
Delete "$INSTDIR\share\okular\pics\note.png"
Delete "$INSTDIR\share\okular\pics\paperclip.png"
Delete "$INSTDIR\share\okular\pics\paragraph.png"
Delete "$INSTDIR\share\okular\pics\pushpin.png"
Delete "$INSTDIR\share\okular\pics\rightarrow.png"
Delete "$INSTDIR\share\okular\pics\rightpointer.png"
Delete "$INSTDIR\share\okular\pics\stamps.svg"
Delete "$INSTDIR\share\okular\pics\star.png"
Delete "$INSTDIR\share\okular\pics\tool-base-okular@2x.png"
Delete "$INSTDIR\share\okular\pics\tool-base-okular.png"
Delete "$INSTDIR\share\okular\pics\tool-highlighter-okular-colorizable@2x.png"
Delete "$INSTDIR\share\okular\pics\tool-highlighter-okular-colorizable.png"
Delete "$INSTDIR\share\okular\pics\tool-ink-okular-colorizable@2x.png"
Delete "$INSTDIR\share\okular\pics\tool-ink-okular-colorizable.png"
Delete "$INSTDIR\share\okular\pics\tool-note-inline-okular-colorizable@2x.png"
Delete "$INSTDIR\share\okular\pics\tool-note-inline-okular-colorizable.png"
Delete "$INSTDIR\share\okular\pics\tool-note-inline.png"
Delete "$INSTDIR\share\okular\pics\tool-note-okular-colorizable@2x.png"
Delete "$INSTDIR\share\okular\pics\tool-note-okular-colorizable.png"
Delete "$INSTDIR\share\okular\pics\tool-note.png"
Delete "$INSTDIR\share\okular\pics\tool-typewriter-okular-colorizable@2x.png"
Delete "$INSTDIR\share\okular\pics\tool-typewriter-okular-colorizable.png"
Delete "$INSTDIR\share\okular\pics\uparrow.png"
Delete "$INSTDIR\share\okular\pics\upleftarrow.png"
RmDir "$INSTDIR\share\okular\pics\"
RmDir "$INSTDIR\share\okular"
RmDir "$INSTDIR\share"
Delete "$INSTDIR\share\icons\hicolor\64x64\apps\okular.png"
Delete "$INSTDIR\share\icons\hicolor\48x48\apps\okular.png"
Delete "$INSTDIR\share\icons\hicolor\32x32\apps\okular.png"
Delete "$INSTDIR\share\icons\hicolor\22x22\apps\okular.png"
Delete "$INSTDIR\share\icons\hicolor\16x16\apps\okular.png"
Delete "$INSTDIR\share\icons\hicolor\128x128\apps\okular.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\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"
RMDir "$INSTDIR\share\icons"
RMDir "$INSTDIR\share"
RMDir "$INSTDIR"
DetailPrint "Unregistering file extensions"
DeleteRegValue SHCTX "Software\RegisteredApplications" "Okular - GnuPG Edition"
DeleteRegKey SHCTX "Software\Gpg4win\okular"
DeleteRegKey SHCTX "Software\Classes\gpgokular.AssocFile.PDF"
DeleteRegValue SHCTX "Software\Classes\.pdf\OpenWithProgIDs" "gpgokular.AssocFile.PDF"
DeleteRegValue SHCTX "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\OpenWithProgids" "gpgokular.AssocFile.PDF"
SectionEnd

File Metadata

Mime Type
text/x-diff
Expires
Tue, Apr 22, 3:59 AM (1 h, 7 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
46/b8/9baecddb296c6c649ddc5d4de573

Event Timeline