Comment 3 for bug 881203

Revision history for this message
Martin Packman (gz) wrote :

Unfortunately it seems this is not fixable without either a major change to the installed directory layout or moving away from including the runtime libraries in the bazaar directory at all.

This blocker for fixing this stems from Qt needing the cpp runtime library, but Bazaar itself does not. As we have a subdirectory 'lib' containing most of the modules when they get loaded they have a slightly different context to when the exe is initially run. If a library is already loaded (as is the case with the c runtime), the modules don't have any issue. But otherwise the required runtime *has* to be adjacent to the exe to be found.

The best way of fixing this is installing the runtimes to the shared Windows/WinSxS which is a convoluted process and can't practically be done without switching from Inno Setup to an .msi installer.