Deploytool Compiled Installer Issue
1 view (last 30 days)
Show older comments
I am compiling an installer (Linux) using deploytool with MCR packaged in the installer (x.install) file. Trying to install on client machine with no Matlab MCR Library, which I did package with the installer, gives an error message "error while loading shared libraries: libssl.so.1.0.0". So the solution is to make the following link: libcrypto.so.1.0.0 -> /usr/lib64/libcrypto.so.1.0.1e and libssl.so.1.0.0 -> /usr/lib64/libssl.so.1.0.1e manually, is there a way to embed .sh file in the deploytool that will automatically create this link before it starts the installation process.
The second issue is in Windows there is the option to create a shortcut to the deployed executable, but for Linux there is not. But, I generated x.desktop file and added to the files compiled in the deploytool, after the installation I can copy and paste the x.desktop file on to the Desktop and run it, is there a way to embed a comand which will copy and paste x.dektop that will run at the final stage of the installation. I do appreciate your help.
0 Comments
Answers (1)
Prem Ankur
on 5 Feb 2019
Hi Eshetu,
Regarding your first question, there isn't a way to embed a shell script that would run before the installer executes. Any files added to the package would be inside the installer, which would need to run to extract the contents.
Regarding your second question, I believe this can be done from within your app. You can create a custom function in MATLAB - which copy and pastes x.dektop file in the required location (Desktop in this case) and you can call this function at the end of your app. But even in this case you have to run it manually after installation.
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!