dictation-toolbox / natlink

Natlink provides the interface between Dragon and python
https://dictation-toolbox.github.io/natlink/
Other
25 stars 17 forks source link

Registration Enhancement - COM Registration could tweak dragon ini files #68

Closed dougransom closed 2 years ago

dougransom commented 3 years ago

there is configuration done in natlinkconfig_cli that tweaks dragon naturually speaking ini files. The CLSID for natlink is added into one of those ini files, and that is how dragon knows to launch natlink through cocreateinstance (create the natlink object).

I think this would be one in DllInstall in natlinkc.pp.

quintijn commented 3 years ago

Doug, I don't see what your proposal for enhancement is. Now, via the Dragon ini file Natlink can be included or excluded from running, which is exactly what we want, IMO...

dougransom commented 3 years ago

IMO it would be a good idea to have the registration in the ini file done as part of the COM registration process (regsvr32) - this might make things easier to install as we proceed towards making installation easier. Just an idea. Maybe it is better the way it is with a script (natlinkconfig_cli).

quintijn commented 3 years ago

As far as I understand you, it is done in the natlinkconfig_cli (or natlinkconfig), together with the regsvr32 call.

For the moment I am in favour of natlinkconfig(_cli) for the com registration as well as for futher configuring things. Via this program anybody can also remove natlink from Dragon again. In the past there were frequent issues that natlink could influence the Dragon recognition process, accuracy, in a negative way. This is not heard for many years now, but still... the possibility of returning Dragon to the situation without Natlink seems good to have.

But, again, maybe I don't understand you...

quintijn commented 2 years ago

all done with the inno setup now.

I verified the Dragon inifiles are cleaned up, and the registry keys as well when we Uninstall Natlink (via C:\Program Files (x86)\Natlink\unins000.exe).

Closing this item, OK?