On Thursday 17 September 2015 16:03:09 Jiří Činčura wrote: > Hi *, > > reading Paul's "instsvc and ServerMode" got me thinking whether we even > need the `instsvc` executable? The installer can install the services > directly and for batch files we can use PowerShell and the New-Service > etc. cmdlets. This will save some kB from the package. And also it will > remove the instsvc.exe itself, which has nothing to do with Firebird.
The installer calls instsvc and instsvc includes all the code we need to un/install services. And instsvc is only 250Kb. So I don't see a big win in terms of reducing the size of the installation package. And personally, I use instsvc.exe a lot on windows. And I don't really want to implement the service api calls in the installer, when we already have them. Unless MS change the way the services api works there is no reason that I can see to change a component that has existed in the kit since InterBase days. It works and can be called from scripts. What more could we want? The installer itself will now update fb.conf at install time but it does it in a rather clunky manner (ie, liable to fail.) I'll probably improve that before final release but personally I would rather a single programmatic way of making changes to fb.conf. Even so, that doesn't necessarily mean that instsvc should be able to update fb.conf. Hence my wider questions. Having said all that, it would be great if you could contribute some documentation and examples about using Powershell and cmdlets to control firebird. They can easily be added to the kit either as a readme in the doc section and/or in the quick start guide. But now is probably not the time to drastically change the installer :-) I'm really more concerned to know if we are losing a feature from instsvc that people rely on and expect. Paul -- Paul Reeves http://www.ibphoenix.com Supporting users of Firebird ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel