Typo
[gpg4win.git] / src / uninst-gpgee.nsi
index 8231b79..c47c234 100644 (file)
 ; Uninstaller section.
 Section "-un.gpgee"
 !ifdef SOURCES
-  Push "${gpg4win_pkg_gpgee}"
+  Push "${gpg4win_pkg_gpgee_src}"
   Call un.SourceDelete
 !else
-  # Unregister the DLL
-  Exec 'regsvr32.exe /s /u "$INSTDIR\GPGee.dll"'
 
-  Delete "$INSTDIR\GPGee.dll"
-  Delete "$INSTDIR\GPGee.DEU"
+  UnRegDLL "$INSTDIR\GPGee.dll"
+
+  Delete /REBOOTOK "$INSTDIR\GPGee.dll"
+  Delete /REBOOTOK "$INSTDIR\GPGee.DEU"
   Delete "$INSTDIR\GPGee.hlp"
 
   Delete "$INSTDIR\share\gpgee\gpl.txt"