01-12-2008, 10:59 AM
[HUN Wrote:Peti]No, I also don't think that having settings for each potential replacement is the way to go. Who would create them?
So when Integrator starts it should look for entries in Registry that mean e. g. PSPad is installed, and if it can find something, then add it to itself, OFTC, TC UP menu, TC UP buttonbars... eXtremely hard thing... we need separate configuration files for each software (PSPad.ini for example). Don't you think so?
I see 2 implementations, don't know which one would be better. Both assume that user will select a TC UP app to be replaced and select an executable meant to replace it.
1. Have a list of all references for each TC UP app. Then just replace them with the selected .exe path / name.
2. Search all text files in TC UP directories for references to selected app. Slower. Error prone (detection what part of "C:\MyBestTextEditor\MyBestTextEditor.exe" should be used in particular case). But more generic.

