Hello Paul, >Obviously it is possible to add support for multiple installs, although it >does add complexity to the installer and we don't really have a way at the >moment to deal with uninstallation because we don't have a mechanism in >place >to track what instances of firebird are running on which ports. I recall >discussing some of this with Dmitry a while back and we started going in >circles and failed to find an exit point.
I know next to nothing about Firebird engine development, but at least in Windows, many applications set a mutex (or other shared structure) that's being checked against in the Uninstaller (like InnoSetup can do automagically for you, Database Workbench is detected as running, for example). I'm unsure how this would work for a specific instance, but perhaps you can keep track of the instance name you used during Service Registration (for multiple instances, like InterBase is doing) and make the Uninstaller check if the service is running? (obviously not the case for test-runs with a command line start). >Another issue with multiple installs is that we would need to update the >gui >to maintain the installs. The cpl applet is currently only designed to >support a single installation. It needs some work to make it compatible >with What is - currently - the reason to keep supporting the cpl applet? Does it do anything more than just starting/stopping the service? >There is also the fact that we can't easily track Firebird running as an >app. >And neither the task bar icons nor the dialogue indicates anything about >the >port or the architecture the fb app is using. So work would be needed >there, >too. Are you sure? On the development machine that I used to install Fb 3.0, there were two instances running, both as an application instead of a service, and the installer responded saying there's an existing server running. With regards, Martijn Tonies Upscene Productions ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel