I've packaged MATLAB R2014a with Thinapp 5 normally as I package any other program. The result of this package was 5 files:
- MATLAB R2014a.exe (185 KB)
- MyApps003.dat (10,713,677 KB)
- MyApps003.dat.alt (139 KB)
- Polyspace Bug Finder R2014a.exe (150 KB)
- Polyspace Code Prover R2014a.exe (150 KB)
When I run MATLAB R2014a.exe, a black command prompt window appears and after while a message appears saying ERORR: Can't start MATLAB <starter line:1371> System Error: 0x00000005, Access is denied then the window closes and nothing happen.
I thought that the package needs Administrator privileges (Which shouldn't occur with any ThinApp Package) as I've given it a try to run MATLAB R2014a.exe as an Administrator. The result was a black command prompt window appears and after while a message appears saying ERORR: Unable o restore shield memory - disabling shield <starter line:1393> System Error: 0x000001e7, Attempt to access invalid address. As a result, a new folder named MyApps003 (I think it's for the application user data) is created which wasn't created on running MATLAB R2014a.exe as a normal user. Then the MATLAB program runs.
Now the program is running with standard user after MyApps003 folder has been created, but also it shows the same error message ERORR: Unable o restore shield memory - disabling shield <starter line:1393> System Error: 0x000001e7, Attempt to access invalid address in a command prompt window before the main program window opens every time.
Also, the program is showing strange behavior than the normally installed one, which is the Current Folder section on opening the program each time. On the normally installed, it shows C:\Users\VirtualUser1\Documents\MATLAB as the current folder by default. But on the ThinApp package, it shows C:\Program Files\VMware\VMware ThinApp\Captures\MyApps003\bin by default.
I think that I've packaged the MATLAB R2014a in a wrong way. I haven't tested the program enough to detect any additional up normal behavior.
I need your suggestions please in order to solve the problem, or to repeat the rebuilding MATLAB R2014a in the right way to run as the normally installed one.
Thanks in advance!