36
Novell ZENworks Application Virtualization 8.0 Integration and Streaming Guide
n
ov
do
cx (e
n)
16
Ap
ril 20
10
6.3.3 Integrating ModelPlay with the XReg Command Line Tool
You can use the XReg command line tool to supply some shell integration such as Desktop
shortcuts, Start menu shortcuts and file associations
To use XReg with ModelPlay, you need to use the cache option and execute XReg only after the
caching is complete. When the application is completely cached, ModelPlay returns an exit code of
zero (0). Based on this, you could write a script to launch a streaming model and register the
application when caching is complete and the application is closed.
The following example shows the use of the command line options and the integration of XReg in a
script:
Modelplay.exe /run \\
path\to\model
\model.xm /cache
C:\
path\to\svm
\application.svm XReg.exe C:\
path\to\svm
\application.svm