background image

82 

 

Novell ZENworks Application Virtualization 

 

9.7

 

R

UNNING NATIVE APPLICATIONS IN VIRTUAL ENVIRONMENTS

 

ZENworks Application Virtualization allows natively installed applications to launch in virtual 

sandboxed environments. This is helpful when a natively installed application can utilize resources 

contained in a virtual package. For example, a user virtualizing a plugin for Microsoft Outlook 

would want to enable a local version of Outlook to run in the same virtual sandbox as the plugin. 

This is accomplished in ZENworks Application Virtualization by setting the natively installed 

application as the startup file (or one of the startup files).  

To enable a natively installed application to launch in a virtual environment: 

 

In the 

Virtual Application

 tab, click on the 

Multiple

 button next to the 

Startup File

 

field 

 

In the 

File

 column, enter the local path of the natively installed application.  

 

(Optional) Check the 

Auto Start

 option to have your natively installed application 

automatically run when the virtual application is launched 

 

Click 

OK

 

This will enable your virtual application and natively installed application to interact with each 

other in the same virtual environment. 

A sample startup file path for Microsoft Word would look like this: 

@PROGRAMFILES@\Microsoft Office\Office12\WINWORD.exe 

If 

Auto Start

 has been enabled, Microsoft Word will launch with the virtual application, in the 

same virtual environment. 

Summary of Contents for ZENworks Application Virtualization 8.0.2

Page 1: ...Novell www novell com novdocx en 16 April 2010 AUTHORIZED DOCUMENTATION ZENworks Application Virtualization User Guide ZENworks Application Virtualization 8 0 2 November 30 2010 User Guide...

Page 2: ...works Application Virtualization 13 3 Getting Started 14 3 1 System requirements 15 3 2 Control Panel Overview 16 3 3 Methods of creating virtual applications 18 3 4 Creating your first virtual applic...

Page 3: ...ature 51 6 2 Registering virtual applications in the Windows shell 52 6 3 Client profiles 54 6 4 Sandbox management 55 6 5 Deploying in Active Directory environments 57 6 6 Deploying virtual applicati...

Page 4: ...Specifying additional SVM layers for a virtual application 85 9 10 Platform merge 87 9 11 Creating application streaming models 88 9 12 Launching streaming models using SpoonPlay 89 9 13 Application...

Page 5: ...and the trade laws of other countries You agree to comply with all export control regulations and to obtain any required licenses or classification to export re export or import deliverables You agre...

Page 6: ...Trademarks For Novell trademarks see the Novell Trademark and Service Mark list http www novell com company legal trademarks tmlist html Third Party Materials All third party trademarks are the prope...

Page 7: ...and run instantly on an end user device Unlike traditional deployment methods virtual applications do not require reboots administrative privileges or separate setup steps for external components and...

Page 8: ...ed execution environments it is possible to simultaneously execute multiple applications which would otherwise interfere with one another For example applications which overwrite system DLLs or requir...

Page 9: ...hird party setup dependencies Integrate third party components COM VB controls and content viewers such as Acrobat Flash and Shockwave directly into your application Eliminate Vista UAC prompts and co...

Page 10: ...ll ZENworks Application Virtualization 2 3 DO NOVELL VIRTUAL APPLICATIONS REQUIRE ANY DEVICE DRIVERS No Novell virtualization takes place entirely in user mode so no device drivers are installed or re...

Page 11: ...y basic subsystems that are already present on the end user device Each virtual machine may occupy several gigabytes of storage Ability to run multiple virtual applications Because of low overhead cha...

Page 12: ...r 2008 all editions Windows 7 ZENworks Application Virtualization supports these operating systems running within VMware and Microsoft hardware virtualization and hypervisor environments ZENworks Appl...

Page 13: ...re unsuitable for virtualization using Novell s user mode virtualization technology These include application features which contain or directly depend on interaction with specialized kernel mode devi...

Page 14: ...D This section describes the system requirements for installing and running ZENworks Application Virtualization provides an overview of the ZENworks Application Virtualization user interface and walks...

Page 15: ...Application Virtualization requires a Windows XP Windows 2000 edition or higher operating system The ZENworks Application Virtualization graphical interface assumes a screen resolution of at least 80...

Page 16: ...ides a selection of auto configurable runtime engines which can be embedded into your application with a single click These include NET Framework Java Flash and Shockwave runtimes The Advanced tab pro...

Page 17: ...Application Virtualization Note ZENworks Application Virtualization users are individually responsible for assuring compliance with licensing for any third party redistributable components included us...

Page 18: ...efore and after an application is installed and automatically configures virtual application settings based on observed system changes This method is ideal for virtualizing off the shelf applications...

Page 19: ...the Virtual Application ribbon bar Click on the box labeled Build a virtual application from a template Select an application to virtualize from the Application dropdown Some applications may require...

Page 20: ...llowing files registry settings components and other application dependencies to be directly embedded into the application executable Use of Novell virtualization reduces setup complexity prevents DLL...

Page 21: ...ing iterates through the filesystem and registry and therefore may take several minutes to complete Optional Novell recommends you save the before snapshot before continuing This allows you to skip th...

Page 22: ...ppropriate filename and location and press Save Similarly to load a saved snapshot select the Load Snapshot menu item and navigate to the saved snapshot file To clear the current before snapshot image...

Page 23: ...4 0 component will allow your executable to run on machines without the NET Framework installed Note Depending on the size of the component selecting a component for inclusion can significantly incre...

Page 24: ...n configuration file By default configuration files use the extension xappl Note Configuration files do not store the contents of virtual filesystem files The configuration file specifies only the sou...

Page 25: ...the Startup File dropdown list This displays a list of all files in the virtual filesystem Select the file to be used as the startup file or navigate to the desired startup file in the virtual filesys...

Page 26: ...bar This displays the Startup Files selection dialog Click on the File column on the first empty row in the startup file list and select the desired file from the dropdown list Files located on the h...

Page 27: ...may be virtualized in Full Merge Write Copy and Hide mode Full mode Only files in the virtual filesystem will be visible to the application even if a corresponding directory exists on the host device...

Page 28: ...the file or folder contents To make a file or folder read only click on the checkbox in the Read Only column next to the desired file or folder 3 11 3 Sandbox Upgradeable Files By default ZENworks App...

Page 29: ...g blob data enter the values in hexadecimal format The Classes root Current user root Local machine and Users root folders correspond to the HKEY_CLASSES_ROOT HKEY_CURRENT_USER HKEY_LOCAL_MACHINE and...

Page 30: ...n Virtualization ZENworks Application Virtualization can import registry hive reg files into the virtual registry To import a reg file click the Import button in the Registry panel and select the regi...

Page 31: ...guration dialog provides an example of how to create a connection string for connecting to the user instance database that loads an mdf file from the virtual filesystem The virtualized SQL Server 2005...

Page 32: ...e Project type dropdown Press the Build button In Component mode the build process results in creation of an SVM file instead of an executable file An SVM contains the virtual application settings and...

Page 33: ...r the path of the sandbox to be merged into the current configuration Click OK For example to customize the home page of the Firefox virtual application template Use the Configuration Wizard to create...

Page 34: ...ation Virtualization 4 VIRTUAL APPLICATION CUSTOMIZATION This section describes advanced virtual application customization options such as executable metadata startup images command line arguments and...

Page 35: ...Component A component project produces an SVM output svm file SVM is a binary file format encoding all virtual application configuration and content into a single binary file SVMs cannot be executed...

Page 36: ...adata To manually override executable metadata Uncheck the Inherit properties option Enter the desired metadata in the appropriate fields in the Properties area To revert to the default inheritance be...

Page 37: ...se as the startup graphic and click Open If you wish to remove the current startup image click the Reset button 4 3 1 Transparency keying Transparency keying allows the startup image to contain transp...

Page 38: ...rking directory to the directory of the virtual application startup file In the case of a jukeboxed application the working directory is set to the directory of the startup file specified on the jukeb...

Page 39: ...tain Windows environment variables in order to function properly ZENworks Application Virtualization allows virtualization of environment variables to support such applications To add or modify virtua...

Page 40: ...spawn new child processes during the course of their execution Depending on the virtual application context it may be preferable for such child processes to be created either within the virtual appli...

Page 41: ...acts as the root process in the process tree 4 4 11 Compress Payload Both the application profiling and streaming processes require that packages be built uncompressed To build applications without c...

Page 42: ...The notification can also be monitored by a parent process within the virtual environment if a child process is being debugged 4 4 18 Force read share files The Force read share files option forces a...

Page 43: ...s should not be preserved between virtual application updates When publishing a new version of a virtual application direct the sandbox to the same location as the older version if you want user setti...

Page 44: ...ll version string in dotted quad format WEBSITE Publisher web site BUILDTIME Virtual application build time in a format similar to 2008 02 01T08 00 With the exception of the BUILDTIME variable set aut...

Page 45: ...zed applications In addition to deploying the virtual application executable file to the host filesystem ZENworks Application Virtualization generated MSI packages also allow creation of desktop and S...

Page 46: ...build the MSI package click the Build MSI button Note You must build the virtual application executable before the MSI package may be generated The Build MSI button will be disabled if the virtual app...

Page 47: ...lier application versions option to use side by side installation select the Allow side by side versions of the same application option Note Building with the Allow side by side versions of the same a...

Page 48: ...populated with the startup file list allowing shortcuts to be quickly connected to jukebox entry points To install additional folders and subfolders on the desktop click the Add Folder button and spec...

Page 49: ...enter an Extension and an optional MIME Type In the new file extension click Add Verb and enter a Verb Command and choose the Inherit behavior and Default Some common verbs are open edit print and vi...

Page 50: ...50 Novell ZENworks Application Virtualization 6 DEPLOYING VIRTUAL APPLICATIONS This section describes several different methods for deploying applications built in ZENworks Application Virtualization...

Page 51: ...from the host system To deploy virtual applications on USB devices Open an existing virtual application configuration Attach a USB storage device to the host system Click Publish to USB select the USB...

Page 52: ...ssociations that would generally be created during a standard install process Unlike performing an installation however registration and un registration can be performed almost instantaneously SpoonRe...

Page 53: ...o an existing sandbox If this parameter is specified and a sandbox with that name exists the application will be registered into that sandbox See the Sandbox management topic in this section for addit...

Page 54: ...ll Users profile affect all users on the device To register an application to the All Users profile execute the SpoonReg command with the allusers command line flag You must have administrative permis...

Page 55: ...To create an additional sandbox use one of the following commands SpoonReg exe Profile create SandboxName SandboxPath SpoonReg exe Profile c SandboxName SandboxPath If no path is provided a default p...

Page 56: ...6 Novell ZENworks Application Virtualization 6 4 4 Moving a sandbox You can use SpoonReg to move the sandbox location to a given path To move a sandbox SpoonReg exe Profile move SandboxSpec SandboxPat...

Page 57: ...Directory In an organization it is generally more desirable to manage a group of users rather than one at a time By combining Active Directory with SpoonReg you can manage the virtual environment for...

Page 58: ...AllVirtualApps AcrobatReader exe Whereas you might add the following for the graphic design group VirtualAppServer Tools SpoonReg exe VirtualAppServer AllVirtualApps AdobeIllustrator exe VirtualAppSe...

Page 59: ...e All Users profile VirtualAppServer Tools SpoonReg exe allusers VirtualAppServer AllVirtualApps Excel exe VirtualAppServer Tools SpoonReg exe allusers VirtualAppServer AllVirtualApps Firefox exe Virt...

Page 60: ...mechanisms are in place or for deploying applications with shell integration without the SpoonReg Virtual Desktop client tool Virtual application and component shell integration settings are shared be...

Page 61: ...r and choose Add RemoteApp Programs by right clicking inside the RemoteApp Programs list or through the Action drop down menu Click Next in the RemoteApp Wizard Click Browse and select the virtual app...

Page 62: ...fic ZENworks Configuration Management Zone check the Only allow devices registered in specific zone to execute the application checkbox in the ZENworks panel When prompted enter the ZENworks Server Ad...

Page 63: ...ions To change the credentials used to publish the bundle click the Change Credentials button and enter the new credentials Username and Password To store the credentials in the XAPPL file check the S...

Page 64: ...64 Novell ZENworks Application Virtualization 7 WALKTHROUGHS This section provides step by step instructions for using ZENworks Application Virtualization in common scenarios...

Page 65: ...In ZENworks Application Virtualization Click on Add Files again navigate to your Desktop folder and select the hello txt file that you just created The display on the right should now show both notep...

Page 66: ...ation ribbon bar The snapshot process may take a few minutes Install OpenOffice and all of its necessary dependencies Capture the after snapshot by clicking Capture and Diff ZENworks Application Virtu...

Page 67: ...les Enter in command line arguments as needed Enter in a unique Trigger for that executable Triggers are command line arguments that are passed onto the virtual executable that specify which Startup F...

Page 68: ...be entered in the Application Folder field If neither is entered the virtual application will be installed under folders named Company Name Product Name 7 2 9 Creating Shortcuts To create shortcuts t...

Page 69: ...ation binary file where the Output File is defined The build process may take a few minutes To test the virtual application Execute the virtual application binary file The OpenOffice splash screen wil...

Page 70: ...ZENworks Application Virtualization 8 BEST PRACTICES This section describes various best practices for making use of Novell ZENworks Application Virtualization Note that these methods of use are all...

Page 71: ...hine virtualization tool such as Microsoft Virtual PC and saving a before snapshot based on this image allows many distinct virtual applications to be snapshotted in rapid succession by reverting the...

Page 72: ...app Install the necessary updates to the native application Click Capture and Diff to create the after snapshot of the app This will capture the deltas between the original version and the updated ver...

Page 73: ...em it was created on E g Application Version Snapshot_ OS xappl and copied to a network accessible folder The relative paths to files in the folder will be queried when the configurations are merged i...

Page 74: ...74 Novell ZENworks Application Virtualization 9 ADVANCED TOPICS This section deals with advanced topics you may encounter while using ZENworks Application Virtualization...

Page 75: ...server port and the type of authentication if any the proxy server uses Select the Bypass proxy server for local addresses option to bypass the proxy server when accessing resources located on the lo...

Page 76: ...ents It is strongly recommended that snapshotting be performed using the quick snapshot mode as this is compatible with the vast majority of applications Disabling quick snapshot mode significantly in...

Page 77: ...s mode ensures a more complete capture of the Internet Explorer portions of the registry and filesystem whereas a normal snapshot process ignores those parts of the registry and filesystem To use Inte...

Page 78: ...nstall location root SYSDRIVE The root folder of the drive containing the operating system installation PROGRAMFILES The Program Files folder PROGRAMFILESCOMMON The Program Files Common Files folder S...

Page 79: ...at are shared across applications STARTMENUCOMMON The folder containing the Start Menu contents for All Users DESKTOPCOMMON The shared Desktop folder TEMPLATESCOMMON The folder that serves as a common...

Page 80: ...h If no before snapshot path is specified the default snapshot folder is used The output XAPPL and snapshot files are saved to the optionally specified output path If no output path is specified the o...

Page 81: ...AXT snapshots To import a configuration from an external tool Click the Start menu button control menu or press Alt F Select Import Configuration This displays the configuration import wizard Click Br...

Page 82: ...up file or one of the startup files To enable a natively installed application to launch in a virtual environment In the Virtual Application tab click on the Multiple button next to the Startup File f...

Page 83: ...n sandbox XShellEx Command Specifies a shell execute command to be launched from within the virtual application environment This option overrides any startup files specified in the virtual application...

Page 84: ...tion Virtualization IndicateElevated all of which correspond to specific options in the Process Configuration tab In addition SuppressLogging can be specified to enable or disable diagnostic mode E g...

Page 85: ...work share virtual app exe XLayerPath network share patches svm An example using Microsoft Office MSOffice exe XLayerPath c Patches MSOffice_ svm This would do a wildcard match finding any files such...

Page 86: ...re specified in one search pattern through the use of the wildcard the SVMs are applied in reverse alphabetical priority This means that items in MSOffice_002 svm have higher priority than items in MS...

Page 87: ...a configuration choose which configuration it should use by using the Inherit option When all configurations have been selected or set to Inherit click Browse in the Merge Settings area choose where...

Page 88: ...l application Click the Profile button on the Advanced tab Select the output location for transcripts and click OK After the virtual application launches use the application for approximately one minu...

Page 89: ...model from a web server which has been configured to stream applications SpoonPlay requires the config flag which specifies the location of the application configuration file that exists on the web se...

Page 90: ...ll ZENworks Application Virtualization config Specifies the location as a URL to an application configuration file cache Specifies the location to store the cached SVM file after the application has l...

Page 91: ...virtual application will expire Choose the Time Source the virtual application will use to validate the date For all expiration modes the System clock setting will use the host system s clock to vali...

Page 92: ...rged into the current configuration Click Yes to acknowledge that the Apply Configuration process cannot be undone Note The Apply Configuration feature is not intended for use as an installation proce...

Page 93: ...tion configuration Click on the Advanced tab In the App Certificates box click on the Create App Configuration button In the Name field enter the application name In the Version field enter the applic...

Page 94: ...solation can only be enabled by manually editing the XAPPL file for a virtual application In the following scenario OBJECT 1 and OBJECT 2 are named objects used by a virtual application that conflict...

Page 95: ...ments and Attributes OutputLocation The outputlocation attribute is the path to the folder where the virtual application executable will be created This can be a local path a UNC path or a mapped driv...

Page 96: ...r attribute denotes whether the MSI setup should be installed on a per user basis True or installed for all users False When installing per user the install root path is Application Data When installi...

Page 97: ...name of the component or runtime The platform attribute indicates the platforms that the component or runtime is supported on The following are the only available values Any platform Any x86 platform...

Page 98: ...table will be compressed True or not False The trimUACManifest attribute removes items from the virtual application manifest file that may require elevation and trigger UAC prompts True The enableArma...

Page 99: ...contain configuration pertaining to the individual startup files StartupFile The node attribute indicates the path of the startup file The tag attribute indicates the command line trigger used to spe...

Page 100: ...ational Condition The variable attribute indicates the host system setting that will be evaluated The operating system version OS is the only available option The operator attribute indicates the Bool...

Page 101: ...System Drive Root Directory SysDrive Program Files Common AllProgramsCommon Program Files AllPrograms Current User Start Menu StartMenu Current User Start Menu Programs Programs Current User Start Men...

Page 102: ...as hidden True or visible False File The name attribute indicates the name of the file The hide attribute denotes whether the file is marked as hidden True or visible False The source attribute indica...

Page 103: ...attribute indicates the isolation setting of the virtual folder The available values are Full isolation Full Merge isolation Merge Value The name attribute indicates the name of the value The type att...

Page 104: ...indicates the friendly name of the windows service The description attribute indicates the description of the windows service The objectName attribute indicates the account under which the windows ser...

Page 105: ...IconResource sub element contains an identifier of the icon that is used for the Shortcut ProgIds All sub elements contain settings pertaining to the configuration of the ProgId The name attribute ind...

Page 106: ...106 Novell ZENworks Application Virtualization The default attribute denotes whether this verb is the default verb True or not False...

Page 107: ...on errors that occur when using ZENworks Application Virtualization If you encounter a problem with a virtual application please carefully read this section or query the online knowledge base before u...

Page 108: ...filtered through a firewall or proxy server In these cases ZENworks Application Virtualization will attempt to automatically configure itself for Internet access based on the system Internet settings...

Page 109: ...stic mode executable check the Generate diagnostic mode executable option on the Output section of the Virtual Application ribbon bar Then click Build to generate the instrumented executable Execution...

Page 110: ...plication Virtualization THANK YOU FOR USING ZENWORKS APPLICATION VIRTUALIZATION We hope you enjoy using ZENworks Application Virtualization Please let us know any way we can improve your Novell exper...

Reviews: