Deploytool Compiled Installer Issue
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Prem Ankur
el 5 de Feb. de 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 comentarios
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!