Can't load package the specified module could not be found

I know there are multiple issues already posted regarding this and I've looked through all issues that I could find and nothing seems fix my issue.

I have this problem with a few packages but I'll go with BIZ Core because working with one file is easier.

When installing TMS BIZ Core Library using Smart Setup, I get the error message "Can't load package the specified module could not be found". When I use the old installer, it works.

What else can I do to troubleshoot?

  • Uninstalled via control panel
  • Removed all remaining folders from %localappdata%
  • Remove registry keys from HKLM/SOFTWARE/tms...
  • My user's PATH contains C:\Users\emile\AppData\Local\TMS Setup\.tmssetup\build\bpl\Win32.
  • Smart Setup built without any errors or warnings.
  • Using the old installer works and RAD Studio starts without any problems.'
  • EDIT: No duplicate files of dcltmsbcl290.bpl according to Everything.

Logs attached.
tms.log (78.0 KB)

Have you checked that there is a $(PATH) in the environment variables? This seems to be the most usual reason for this. The old installers didn't change the PATH, so it wasn't a problem for them.

Please look at Not able to load package - #2 by adrian

1 Like

Thanks, that was the problem.

The PATH variable for System had the correct one the one for User did not. I added the correct path to the PATH variable under the user section and I am now able to add the package.

(For reference, the correct path for me was C:\Users\emile\AppData\Local\TMS Setup.tmssetup\build\bpl\Win32)

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.