Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VMT Self-Installer not seeing MCR v9.0 (r2015b) during setup, and will not allow installation #8

Closed
frank-engel-usgs opened this issue Sep 28, 2017 · 2 comments

Comments

@frank-engel-usgs
Copy link
Owner

commented Sep 28, 2017

This issue raised by cees-meijer on this WMA Forums post (authentication required to view).

The user was unable to install VMT v4.08, since the self-installer did not detect the correct MCR version. User has verified that the correct registry keys and Environmental Path variables are present.

@frank-engel-usgs

This comment has been minimized.

Copy link
Owner Author

commented Sep 28, 2017

I sent the user a ZIP archive containing VMT v4.08 without the self installer. When the user ran VMT.exe, it still crashed. The reply from the user:

The .exe still did not solve the issue, but this time I got an error that showed me the problem:
'Attempting to load mclmcrrt9_0.dll'
And the Matlab site shows the solution to this: the path to the 64 bit runtime folder should be added to the %PATH%variable.
https://nl.mathworks.com/help/compiler_sdk/cxx/mcr-path-settings-for-run-time-deployment.html
After I did this, the program starts fine.
Problem solved. Thanks for your support.

For some reason, the MCR installation process did not modify the user's %PATH% variable correctly.

I think the best approach for VMT is to allow the self-installer to continue the installation, even if the MCR is not present, and present the user with a warning.

@frank-engel-usgs

This comment has been minimized.

Copy link
Owner Author

commented Oct 5, 2017

I have changed the self-installer to allow users to still install VMT in the case that the MCR was not detected. The installer still allows the user to chose to download the MCR if desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.