Links to specific topics

(See also under "Labels" at the bottom-left area of this blog)
[ Welcome post ] [ Installation issues ] [ WarpPLS.com ] [ Posts with YouTube links ] [ Model-driven data analytics ] [ PLS-SEM email list ]

Wednesday, April 27, 2022

Possible installation problems and the MATLAB Compiler Runtime


The vast majority of WarpPLS users do not have any installation problems, but some users do. One possible cause is an incompatibility between the MATLAB Compiler Runtime and their computer's operating system setup. This is explored in more detail below.

Another possible cause of installation problems is one or more software applications that interfere with the proper running of WarpPLS. There have been reports from users suggesting that the following software applications may do that: Panda Antivirus, Norton Antivirus, and XLSTAT.

Yet another possible cause of installation problems are security software tools (to stop malware) that prevent users from making modifications in the folders in their computers that store data about programs. Closely aligned with this cause are security restrictions placed on computers by their organizations' IT offices.

The MATLAB Compiler Runtime

The MATLAB Compiler Runtime is for MATLAB programs what the Java Runtime is for Java programs, and what the Microsoft .NET Framework is for .NET-based programs. That is, it is a set of executable modules that are called by executable files compiled using MATLAB.

WarpPLS is an executable file compiled using MATLAB, and thus requires the MATLAB Compiler Runtime (version 7.14) to run properly. Like many other runtime libraries, the MATLAB Compiler Runtime has originally been developed in C and C++.

MATLAB does not have to be installed for WarpPLS to run

The MATLAB Compiler Runtime is provided in the self-extracting executable file used for the installation of WarpPLS. It is free of charge. MATLAB does not have to be installed for WarpPLS to run, only the specific MATLAB Compiler Runtime that accompanies WarpPLS.

In theory, the MATLAB Compiler Runtime should allow for a “compile once, run everywhere” approach to programming. That is, code that uses the MATLAB Compiler Runtime would be developed on one operating system, compiled, and then deployed, together with the MATLAB Compiler Runtime, to computers running any operating system.

This approach works well in theory, but not always in practice. This comment applies not only to MATLAB but also to Java and .NET applications – you are probably well aware of this if you are a Java or .NET programmer.

Seek professional IT support if you are using an organizational computer

It is possible that a specific user’s computer configuration will prevent the proper installation of the MATLAB Compiler Runtime, by blocking certain operating system configuration changes (e.g., Windows registry changes), as a security measure. This is often the case when organizational computers are used.

Also, a user may not have administrator rights on a computer, or have limited administrator/power user rights, which may prevent certain operating system configuration changes necessary for the proper installation of the MATLAB Compiler Runtime. Having professional IT support in this type of scenario is a must.

Here are a few steps to take if you are having problems installing and running WarpPLS on a Windows computer:

1) Run WarpPLS as administrator.

Some users solved their installation problems by simply doing this: Right-clicking on the WarpPLS icon and choosing the option to run it as administrator.

2) Reinstall WarpPLS using the larger file containing the MATLAB Compiler Runtime (approximately 170 MB), choosing the option “Repair”.

There have been reported cases in which users cannot start WarpPLS or move beyond WarpPLS’s first screen. This may happen even if the user has a valid license, with the software behaving as though it is not licensed at all. This may also happen before the user acquires a valid license, while trying to use WarpPLS within the trial license period.

A possible solution here that has worked well in the past is to reinstall WarpPLS using the larger file containing the MATLAB Compiler Runtime. When the MATLAB Compiler Runtime installation software pops up, choose the option “Repair”, and proceed with the full reinstallation.

3) Do the above, but change the folder where the WarpPLS program is installed, choosing a folder that is not in a protected area.

As a possible variation to the above, you may change the folder where the WarpPLS program is installed, choosing a folder that is not in a protected area. For example, you may choose the folder “C:\WarpPLS” or the folder “C:\WarpPLS [version]”. Being outside a protected area prevents certain software, such as antivirus software and malware, from interfering with WarpPLS’s execution.

4) Completely uninstall the MATLAB Compiler Runtime and WarpPLS, disable any antivirus software currently running, reinstall the MATLAB Compiler Runtime and WarpPLS, and then re-enable the antivirus software.

To uninstall the MATLAB Compiler Runtime, follow the following procedure (or a similar procedure, depending on the version of Windows you are using): go the “Control Panel”, click on “Add or Remove Programs” or “Programs and Features”, and uninstall the MATLAB Compiler Runtime.

To uninstall the main software program (i.e., WarpPLS), simply delete the main software installation folder. This folder is usually “C:\Program Files\WarpPLS [version]” or “C:\Program Files (x86)\WarpPLS [version]”, unless you chose a different folder for the main software program during the installation process. Then delete the shortcut created by the software from the desktop.

5) Check the "Program Files" and the "Program Files (x86)" directories (assuming that the MATLAB Compiler Runtime is installed on the C drive), to see if one of the following folders is there.

C:\Program Files\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32

C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32

If not, make sure that you are logged into your computer with full administrator rights, and reinstall the MATLAB Compiler Runtime. You can do that running the self-installing .exe file (approximately 170 MB) for WarpPLS, which includes the MATLAB Compiler Runtime. Or, contact your local IT support, and ask them to help you do so.

6) Go to the Command Prompt and type “PATH”, to see if one of the following paths shows on the list provided.

C:\Program Files\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32

C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32

If not, on the Command Prompt, type one of the following commands, depending on the folder in which the MATLAB Compiler Runtime is installed:

set PATH=C:\Program Files\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32;%PATH%

set PATH=C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\runtime\win32;%PATH%

Then type “PATH” again, and make sure that the new path has been added. This will change the Windows registry; a minor and pretty harmless change. If you are concerned about making registry changes yourself, or cannot do that due to limited rights or any other reason, please contact your local IT support, and ask them to help you do so.

7) Try to install WarpPLS on a different computer, and see if it runs well there.

This last step is annoying but important because there are certain computer-specific configuration setups, or even malware allowed in by those setups, that may prevent the MATLAB Compiler Runtime from properly installing or executing. This is rare, but does happen sometimes. Comparing computers can help solve problems like these.

If you can install and run WarpPLS on one computer, but not on another, there may be a computer configuration or malware problem that is preventing you from doing so. If you have access to good-quality local IT support, you should contact it, and ask them to help you identify and solve the problem.

22 comments:

Anonymous said...

I have installed WarpPLS and the compiler. I am getting a "WarpPLS_1_0.exe - System Error" that says the "program can't start because mclmcrrt710.dll is missing" from your computer." The error message recommends a reinstall to fix teh program, which I have done, but the problem persists & I continue to get the same error message.

I suspect that WarpPLS is looking for the Matlab compiler based on the file name in the error message, but I am unsure.

I have confirmed that both WarpPLS and the compiler are installed. I'm on a new Win7 machine. By default, WarpPls installs to "Program Files" and Matlab Compiler installs to "Program Files (x86)."

Please advise on next steps. Thanks!

Anonymous said...

PS - I'm on a 64-bit machine, which is why a 32-bit app goes to a different directory.

Ned Kock said...

Hi Anonymous.

If the Runtime is being installed in a different directory, try using that directory in the set path command.

That is, instead of:

set PATH=C:\Program Files\MATLAB\MATLAB Compiler Runtime\v710\runtime\win32;%PATH%

Use:

set PATH=;%PATH%

Ned Kock said...

Above, I meant to say:

set PATH="directory where Runtime is installed";%PATH%

The blogger system cut off my previous text, because of formatting problems.

Anonymous said...

Hi,

I've tried to add the set PATH not with the command line because it wasn't working ("set is for handle...") so I added the PATH with file->set PATH->add folder then the path to ...\win32 Now when I type path in the command line it appears in the list but when I type "deploytool" the answer is "??? Undefined function or variable 'deploytool'."
Could you give me a hint on the problem ? I would be grateful.

Julien

Ned Kock said...

Hi Julien.

Why are you trying to use DEPLOYTOOL?

WarpPLS users do not need to use it.

Unknown said...

Dear Dr Kock
Thanks for your invaluable software and website. I'm new to both and downloaded the app. just 2 days ago. the app.(including RunTime) was installed successfully without any error and I got a desktop shortcut , not looking so normal though; it s black with some blue dots. but when I click on it I m getting an empty command prompt window and then nothing! Ive checked the path C:\Program Files\MATLAB\MATLAB Compiler Runtime\v710\runtime\win32 and it seems OK. i have "solving compatibility issue" option on right click, but the solving procedure doesn't work. I’m running a 32 bit Win 7 o.s. on my hp ProBook 4530s and haven’t try the app. out on any other sys. yet due to difficulties. By the way, I have SmartPLS and VPLS installed on my lap.
Would you please help me in the matter? I’m in need of WarpPLS. Many thanks for your time and efforts.

Les Paul Valdez said...

Dear Dr. Kock,
I recently installed a trial version and received an error message showing the following:

initialize component instance failed

could not access the MCR component cache

I would appreciate any help you can provide relative this matter. Thank you very much.

Les Paul Valdez RN MAN

Ned Kock said...

Hi Atefeh and Les Paul.

Atefeh, that is the WarpPLS program icon.

Installation problems tend to be rare and very user-specific. I suggest you contact Support with them (link below).

http://www.scriptwarp.com/contact

They have a well-defined set of steps that they go through with users. Normally it works quite well.

Best regards,

Ned

Eddie said...

hye I have a problem, when I want to run my project the error occur:

Error: Could not find or load main class java.library.path=C:\Program Files\MATLAB\MATLAB Compiler Runtime\v717\runtime\win64
Java Result: 1

please help me.

eddie

Ned Kock said...

Hi Eddie.

This type of issue, which seems to be highly individualized, is better handled by contacting Support directly:

http://www.scriptwarp.com/contact

Unknown said...
This comment has been removed by a blog administrator.
Farzana said...

I have a problem with warp pls 4.0.I used it for 1 week . but now eventhough the steps 1,2,3,4,5 are complete, the completed steps are in disable mode and i amnot able to make changes and see the newer results.

Ned Kock said...

Hi Farzana. This type of issue, which seems to be highly individualized and/or user-specific, is better handled by contacting Support directly:

http://www.scriptwarp.com/contact

Monika Gupta said...
This comment has been removed by a blog administrator.
Mo said...

Dear prof. Kock,

I tried to install (yesterday) Warp 5.0 but when I open the file I get the following message:

Error
---------------------------
Could not find version 7.14 of the MCR.
Attempting to load mclmcrrt7_14.dll.
Please install the correct version of the MCR.
Contact your vendor if you do not have an installer for the MCR.

Two of my colleagues tried it too on different machines and it gave the same message. Any idea what would be the problem?

Kind Regards

Ned Kock said...

Hi Yacine. This type of issue, which seems to be highly individualized and/or user-specific, is better handled by contacting Support directly:

http://www.scriptwarp.com/contact

It seems odd that this is happening on different machines. This is an indication that the different machines have similar settings, which may be preventing proper Runtime installation.

Ned Kock said...

One user who had MCR installation problems sent us this recently, which is one of the possible solutions: "My problem [was] solved when I re-installed and chose 'Repair' mode for the MATLAB Compiler Runtime".

Ned Kock said...

Important note - this post has been recently updated. It now incorporates information addressing the comments and inquiries above as well as other comments and inquiries handled by Support.

Ned Kock said...

Some spam comments above have been deleted.

Ned Kock said...

Important note - this post has again been recently updated. It now incorporates information addressing the comments and inquiries above as well as other more recent comments and inquiries handled by Support.

Ned Kock said...

Important note - this post has again been recently updated; a regular update. It now incorporates information addressing the comments and inquiries above as well as other more recent comments and inquiries handled by Support.