Alexander Belchenko пишет:
> Alexander Belchenko пишет:
>> To get the full path to wordpad.exe one need to use get_app_path()
>> function from bzrlib.win32utils.
>
> Actually this function has problems to read REG_EXPAND_SZ string (for
> wordpad.exe) from registry.
>
> Things become more tricky...
OK, I've sent the patch for bzr. Once it will be merged to trunk we can
properly fix this problem in Bazaar Explorer itself.
I don't think reimplementing get_app_path() from bzrlib makes any sense,
because there is known workaround.
Alexander Belchenko пишет:
> Alexander Belchenko пишет:
>> To get the full path to wordpad.exe one need to use get_app_path()
>> function from bzrlib.win32utils.
>
> Actually this function has problems to read REG_EXPAND_SZ string (for
> wordpad.exe) from registry.
>
> Things become more tricky...
OK, I've sent the patch for bzr. Once it will be merged to trunk we can
properly fix this problem in Bazaar Explorer itself.
I don't think reimplementing get_app_path() from bzrlib makes any sense,
because there is known workaround.