User`s guide
4 Deployment Process
Deploying a Standalone Application on a Network Drive
You can deploy a compiled standalone a pp lica tion to a network d r iv e so that it
can be accessed by all network users without having them install the M CR
on their individual m achines.
1 On any Windows machine, execute MCRI nstaller.exe to install the
MATLAB Component Runtime (MCR).
2 Copy the entire MCR directory (the directory where MCR is installed) onto
anetworkdrive.
3 Copy the compi
led application into a separate directory in the network
drive and add t
he path
<mcr_root>\<ver>\run time\<a rch> to all client
machines. All
network users can then execute the application.
If you a re usin
g MATLAB Builder for E x cel, register
mwcomutil.dll and
mwcommgr.dll
on every client machine.
If you are usi
ng MATLAB Builder for .NET (to create CO M objects), register
mwcomutil.d
ll
on every client machine.
To register t
he DLLs, at the DOS prompt enter
regsvr32 <fully_qualified_pathname\dllname.dll>
These DLLs ar
e located in
<mcr_root>\<ver >\ru n time\< arc h>.
Note These li
braries are automatically registered on the machine on which
the installe
rwasrun.
4-24