> Ok I got also the installer for the plugins working. 

Yay.
What I usually did to verify the created installers was a bit manual testing:
- uninstall previously Geany and Geany-Plugins (if it was installed)
- install Geany from installer
- start installed Geany and check Help->Debug Messages for warnings, errors, 
"file not found" messages or anything else which might look suspicious (sorry, 
I don't have a better description, it was to get sure everything what Geany 
expects was installed)
- open Help->Help to see the manual will be opened in a browser from the local 
installation
- quit Geany
- install Geany-Plugins from installer
- start Geany
- open Plugin Manager dialog
- check Help->Debug Messages if there are any plugin loading errors
- load a few plugins, especially those with dependencies or additional files 
installed: SpellCheck, GitChangeBar, GeanyLua, UpdateChecker
- check for error messages in Help->Debug Messages
- quit Geany
- uninstall Geany-Plugins
- install Geany-Plugins again but *not* in the Geany prefix but into a 
different path
- uninstall Geany-Plugins again and check that there are not much left overs in 
the installation path (I think share/licenses and share/locale are ok otherwise 
we would have to keep track on each installed single file) - the idea here was 
that at least the majority of files in bin/ and etc/ is removed

The last check is also done in the CI 
(https://github.com/geany/geany-plugins/blob/master/build/ci_mingw64_geany_plugins.sh#L292)
 and I usually checked this before releases as due to dependency updates it is 
common that the filenames of libraries change and it's tedious to do this more 
than necessary :).
If there are any left overs, then the list in 
https://github.com/geany/geany-plugins/blob/master/build/geany-plugins.nsi#L172 
can be updated.

This method can certainly be scrutinised.
My rationale was that it is nice when an uninstaller cleans (almost) anything 
which it installed before.
Unfortunately, we cannot just delete whole directories in most cases as usually 
G-P are installed in the same path as Geany and so we would potentially also 
delete files installed by Geany itself.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4189#issuecomment-2629352374
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/4189/[email protected]>

Reply via email to