Index: trunk/windows/josm.nsi
===================================================================
--- trunk/windows/josm.nsi	(revision 11466)
+++ trunk/windows/josm.nsi	(revision 11467)
@@ -381,4 +381,5 @@
 SetShellVarContext current
 
+ClearErrors
 Delete "$INSTDIR\josm-tested.jar"
 IfErrors 0 NoJOSMErrorMsg
@@ -442,4 +443,5 @@
 SectionIn 1 2
 ; this test must be done after all other things uninstalled (e.g. Global Settings)
+IfSilent NoFinalErrorMsg
 IfFileExists "$INSTDIR" 0 NoFinalErrorMsg
     MessageBox MB_OK $(un.JOSM_INSTDIR_ERROR) IDOK 0 ; skipped if dir doesn't exist
