开发者

Check firebird databases present

Our software installer install firebird if it is not present on the system and, as we are pursuing Win certificate the uninstaller should remove it but, we want to make sure that even if it was the installer that put it there, if any new software is using it now with a new database, we would not remove it (Firebird).

The question is: Is it possible to query the server and ask what are the databases r开发者_高级运维unning on it? This is it so that we can decide, automatically if we can remove the database or not.

A few extra info: Our installer is Innosetup and it does a good job already - we just trying to make it smarter because of the "Developed by" or "Compatible with" windows logo.


You can query server for other databases being connected through MON$ tables. Alas, it will work only if connection is active at the time of uninstaller execution.

I would recommend to install Firebird into custom directory and use custom port number. This way you can safely uninstall server later.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜