Install Matlab MCR as part of the C# Installer Wizard -


i have wrote program helloapp matlab , packaged .net assembly using deploytool described here. result have got helloapp.dll library, included visual studio 2015 reference, can run matlab methods directly c#. run code without matlab installed, end user needs matlab runtime (mcr) installed @ least.

now want create installer c# program. have came across visual studio 2015 installer projects provides tools create program setup wizard. problem is, don't know how include download , setup of mcr package step in installation process ensure user has required prerequisites in order program run.

well not answer, comment area in question short ...

i don't know vs2015 installer personnally use innosetup. anyway check if runtime installed on target machine can if following key exists in registry:

hkey_local_machine\software\mathworks\matlab runtime\9.0    

see posts here , here further details.

nb1: note installer matlab runtime large (about 1 gb). not package application deploy, warn user install separately.

nb2: think mathworks packaging c:\program files\matlab\r2015b\toolbox\compiler\deploy\win64\installagent.zip (~66mb) rather mcrinstall.exe (~1gb) when deploying standalone installer deploytool downloading runtime during install don't know how works.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -