Microsoft Application Virtualization 4.5 Sequencing Guide: White Paper Descriptor
Microsoft Application Virtualization 4.5 Sequencing Guide: White Paper Descriptor
Microsoft Application Virtualization 4.5 Sequencing Guide: White Paper Descriptor
5
Sequencing Guide
1
Copyright © 2008 MICROSOFT CORPORATION
2
Contents
1 Introduction to Application Sequencing........................................................................5
5 Sequencing Limitations.............................................................................................. 11
6 Sequencing Phases................................................................................................... 12
6.1 Installation Phase........................................................................................12
6.2 Launch Phase.............................................................................................13
6.3 Customization Phase..................................................................................14
6.4 Save Phase.................................................................................................14
7 Sample Sequencing................................................................................................... 15
7.1 Package Information...................................................................................15
7.2 Advanced Options.......................................................................................16
7.3 Monitor Installation......................................................................................17
7.4 Adding Files................................................................................................18
7.1 Configure Applications................................................................................18
7.2 Launch Applications....................................................................................19
7.3 Package Deployment..................................................................................20
7.4 Saving the package....................................................................................21
Appendix A................................................................................................................................................ 38
Appendix B................................................................................................................................................ 46
1 Introduction to Application Sequencing
The Microsoft Application Virtualization (or App-V) Sequencer is a component of the App-V suite used to
package your applications to be deployed to systems using the App-V client. Properly sequencing applications
is the key to a successful App-V implementation. As such, it’s important to follow Microsoft’s recommended
practices and be aware of the different options when sequencing. This document covers setting up the
sequencer, sequencing best practices, an example of sequencing, important information related to updating
packages, and finally examples of advanced OSD scripting.
5
2 Sequencer Workstation Configuration
Proper configuration of the sequencing station is imperative to ensure that applications will function
properly when streamed to a client. Microsoft recommends the following configuration when sequencing:
Sequence on a machine that matches the Operating System and configuration level for the
target clients. Microsoft has clarified its support stance since 4.2. Sequencing on Windows XP
and deploying to Windows Vista is not a supported scenario. If you choose to sequence on one
Operating System and deploy to another then you do so at your own risk. In addition to the
Operating System, you want to make sure your sequencer is at the same service pack and hot fix
level of your deployed workstations.
If Microsoft Office is part of the base image of the client, then include it as part of the base
image of the sequencer. Many applications will install differently if they recognize that Microsoft
Office is already installed on the machine. Thus, if an application is expected to integrate with
Microsoft Office, it’s best to attempt sequencing on a machine with Office already installed and
activated. This assumes that a Microsoft Office suite will be installed locally on all client PCs. In
addition you may want to install any other programs that could be used by the application you
are sequencing if they are not going to be a part of the sequence.
Create an ODBC DSN setting as part of the Sequencer base image. If no ODBC DSN setting exists
on the base Sequencer image and the application being packaged creates one, the entire registry
key associated with ODBC settings will become virtualized. This will prohibit the packaged
application from seeing any ODBC DSN settings that exist on the base client machine. If an ODBC
entry already exists on the Sequencer machine, only the ODBC settings will become virtualized,
and the ODBC settings on the Client will be merged with the ODBC settings in the package.
The following locations can be checked to determine ODBC information was captured:
o Search for odbc.ini: It will be located in the VFS\%CSIDL_WINDOWS% folder
o HKLM\Software\ODBC\ODBC.INI\ODBC Data Sources
o HKCU\%SFT_SID%\Software\ODBC\ODBC.INI
For step by step instructions on how to setup a dummy ODBC entry see Appendix A.
Add a dummy printer device as part of the Sequencer base image. Printers act in the same
manner as ODBC settings. It is necessary to include a dummy printer device in the sequencer PC
image. For step by step instruction on how to create a dummy printer device refer to Appendix
B.
Setup your sequencer machine with multiple partitions. It is recommended that the sequencer
machine be configured with at least two primary partitions. The first partition C:, should have the
operating system installed and should be formatted as NTFS. The second partition Q:, is used as
the destination path for the application installation and should also be formatted as NTFS.
Temp Directory. The sequencer uses the %TMP%, %TEMP%, and its own Scratch directory for
temporary files. These locations should contain free disk space equivalent to the estimated
installation size. The scratch directory is where the sequencer will temporarily store files
generated during the sequencing process. You can check the location of the Scratch directory by
launching the sequencer, clicking Options from the Tools menu, clicking the Paths tab, and then
6
noting the Scratch Directory box. Placing the temp directories and the scratch directory on
different hard drive spindles can improve performance during sequencing.
Sequence using Virtual PC. Most applications will be sequenced more than once. This may be
due to additional configuration changes or simply starting over to correct a mistake. The point is
that you will be going back to your original configuration on the PC several times. To help
facilitate this you may want to use a Virtual Machine. This will let you sequence an application
and with a simple click of a button revert back to a clean state so you can continue sequencing
with no down time. Additionally whenever you start a new sequence you will want to do so on a
clean system.
Shutdown Other Programs. Processes and scheduled tasks that normally run on your computer
can slow down the sequencing process and cause irrelevant data to be gathered during
sequencing. These programs should be shutdown before you begin sequencing. Some of these
programs include:
o Windows Defender
o Antivirus Software
o Disk defragmentation software
o Windows Search
o Microsoft update
o Any open Windows Explorer session
Note: The sequencer workstation should be fully scanned for viruses and malware and then the
anti-virus and anti-malware software should be disabled before creating a snapshot image of the
sequencer workstation.
7
3 Recommended Best Practices for Sequencing
This section covers Microsoft’s recommended best practices for sequencing applications.
It is recommended that you familiarize yourself with the installation and execution of the application
prior to sequencing. Be sure to read all installation instructions associated with the application. It is
also recommended that you learn how the application runs and the components of the application
the user will need. To improve the process of sequencing an application, one should document step
by step the installation and post-configuration procedures for the application. Step-by-step
documentation will ensure that no unnecessary troubleshooting occurs during the sequencing
process since no important steps will be skipped. Items to document include:
o What application components are needed and will be required to complete the installation of the
application?
o What updates such as adding new files to the package need to be performed in the sequencer
after the installation?
o What post-installation configuration steps need to take place in the sequencer?
o How do users commonly use this application immediately after its launch?
o Does this application do something that App-V currently does not support? If so, check the
Microsoft Knowledge Base to see if there is a workaround available.
When sequencing on Windows Vista ensure sure you have UAC enabled on the sequencing machine if
the client machine you are deploying the application to will have UAC enabled as well.
Always document the sequencing process step-by-step creating a “recipe” using a standardized
template. Documenting the sequencing process step-by-step will allow you to hand the recipe to
someone else in your organization and have them recreate the same package. Step-by-step
documentation will ensure that no unnecessary troubleshooting occurs since no important steps will
be skipped.
Use the Comments field in the sequencer (Abstract Tag) any details about the package you may want
to include. This will allow you to revisit the sequence later and have a record of this information.
The installation drive on your sequencer should match the virtual drive on the client. In some cases
this may not be possible (if say, packaging for multiple organizations), and you may be required to go
back and edit the virtual registry or some individual files to point to the correct locations.
Sequence to a unique, 8.3 directory name. This applies to both the Asset and Installation directories.
(‘Q:\MYAPP’ is correct, ‘Q:\My Application’ is incorrect. Q:\MYAPP.001 is also correct.)
Sequence to a folder in the root of the drive, not to a subdirectory. (‘Q:\MYAPP’ is correct; ‘Q:\’ is
incorrect; ‘Q:\Temp_Junk\MYFOLD’ is incorrect). If the suite has multiple parts, install each
application in a subdirectory of the Asset Directory. For example, if a package contains a Line of
Business Application along with the Oracle Client, use Q:\AppSuite as the Asset Directory; sequence
the LOB application to Q:\AppSuite\LOB; and sequence the Oracle Client to
Q:\AppSuite\OracleClient.
Always use globally unique paths and Package names across the set of application sequencings. Do
not install, for example, multiple Microsoft Office sequencings to the same Asset Directory name. Use
a standardized naming scheme for the Asset Directory that can be incremented for new revisions, for
example Q:\OFFXP.v1 or Q:\OFFXP.001. Failure to make these unique cause conflicts with your
applications
8
Configure and test the application in the Installation Phase. Completing the installation of an
application often times requires performing several manual steps that are not part of the application
installation process. These steps can involve configuring a connection to a ‘back-end’ database,
copying updated files, etc. Do this configuration in the Installation Phase and run the application to
make sure it works.
Execute the application, multiple times if necessary, until the program is in a static state in the
Installation Phase. For example, run the application multiple times to get past all registration and
dialog box requests. Some applications perform different tasks on first launch, second launch, and
sometimes subsequent launches. The multiple launches will make sure only the relevant application
code into Feature Block 1 during the execution phase.
Use the Application Wizard to launch each executable in a suite of applications. This will ensure that
each application will have the required initial launch data on the App-V Client.
Disable “Install on First Use”. Some applications have the option to “Install on First Use” for certain
components. It is required that none of the components are sequenced with this option. It is
necessary to choose either “Run from My Computer” (install this component) or “Not Available” (do
not install this component). For application components that will not be used by any of the targeted
users it is recommended that the components not be installed.
Disable “Auto Update” features. Some applications have the ability to check a web site or a server for
the latest application updates. This feature should be turned off, as version control should be
performed via sequencing new versions.
Operations made during the step six will be included in Feature Block 1. As a general rule when
building feature block 1 make sure you execute the applications most common operations so that
they are included in the initial streaming of the application and you have an accurate feature block 1.
If this is not done then users will see delays as they start to use the application and will regard it as
being slow if many of the features they use are not in feature block 1. Additionally if you are in an
environment where bandwidth is limited then you want to have an accurate feature block 1 so that
users are not constantly making calls to the server to download additional files in cache.
There are several online articles relating to sequencing best practices you should examine as well:
o Microsoft Support: http://support.microsoft.com/kb/932137
o App-V Team Blog:
http://blogs.technet.com/App-V/archive/2007/07/12/sequencing-best-practices.aspx
9
4 Gauging Applications for Sequencing
All applications are different and therefore no application will require the same amount of time to sequence.
However, sequencing estimates can be put into four different categories based on the complexity of the
application, size (in both size on disk and number of files), and finally reliance on resources outside of the
virtual application. Another item to take special note of before sequencing begins: nothing will slow down
the sequencing process more than not having access to someone who inherently understands the full
functionality of the application.
This section includes approximate sequencing times. However, these are very general in nature. Every
application will be different, and the times are present only to assist in estimating the time required for a
project.
t
i
m
e
b
e
t
w
e
e
n
10
-
4
h
o
u
r
s
Complex These are large applications or applications that take four or Typi
more hours to install, significant amounts of customization to c
function in the virtual environment, or both. Packages like this a
will normally be 3-4 GB in size and may require compression l
to get the package under the 4GB App-V limit. Other hurdles
you may encounter are the applications reliance on files being S
in a specific place and functions hard coded to that install. e
These applications may require you to manually edit batch q
and command files to point to resources in the virtual u
environment. If this is the case it is highly recommended e
utilizing a program that can scan multiple files and make n
several changes at once. You also may be required to install a c
device driver separately since drivers cannot be virtualized. i
Applications of this complexity can be sequenced however it is n
imperative that before you begin that all the pieces are in g
place. All knowledgeable resources should be engaged and
available, sequencing hardware should be better than t
average, and finally sequencing applications such as these i
should be done by an experienced sequencer who has m
experience with the App-V product. e
b
e
t
w
e
e
n
4
-
8
h
o
u
r
s
b
u
t
11
o
u
l
d
b
e
l
o
n
g
e
r
d
e
p
e
n
d
i
n
g
o
n
t
h
e
s
i
z
e
a
n
d
n
u
m
b
e
r
o
f
f
i
12
l
e
s
5 Sequencing Limitations
Sometimes there are applications that cannot or should not be sequenced. Also there are certain limitations
with App-V. Here is a short list of application functions and limitations of the software.
Limitation Description
Applications that when sequenced are over 4GB in size • By utilizing compression within the sequencer
it’s possible to take applications that are larger
than 4GB and get them below the limit.
• However after compression the application
must be smaller than 4GB.
• If the application is too large then the
sequencer will not save the application. It will
however attempt to compress the file.
Applications that start services at boot time • App-V requires a logged in user to initiate the
launch of an application.
Applications that require device drivers • App-V cannot virtualize drivers. It is possible to
bypass this issue and install the driver locally
on the target computer.
• Some user-mode device drivers can be
virtualized.
Applications that are required by several applications • For example a program that will initiate a
for information or access command and launch another program.
Normally you would include both programs in
the same suite however if this application
launches or initiates commands in several
applications it may not be feasible for you to
include all of the applications in the same
suite.
• This is especially true if one of the reasons you
are deploying App-V is to avoid application
conflicts. Always remember the virtual
“bubble” can see the OS and what’s installed
on it but the OS cannot see the “bubble” and
interact with it. On the same note remember
that one “bubble” cannot see another.
Applications that are a part of the OS • Such as Internet Explorer
13
6 Sequencing Phases
There are four phases to sequencing a package; Installation, Launch, Customization, and Save. In
this section I’ll give a high level overview of each phase.
Figure 1: A walkthrough and brief description the different steps of the installation phase
14
6.2 Launch Phase
Figure 2: A walkthrough and brief description of the different steps of the launch phase
15
6.3 Customization Phase
During this phase you can make customizations to your package in the OSD files. The following is
a brief example of what is in the OSD file. A more detailed description can be found in the
“Advanced OSD Scripting” section later in this document.
16
7 Sample Sequencing
This section describes some of the key points to remember during sequencing. To begin click file
and select “new package”.
17
7.2 Advanced Options
18
7.3 Monitor Installation
19
7.4 Adding Files
20
7.6 Launch Applications
21
7.7 Package Deployment
22
7.8 Saving the package
23
8 Application Package Upgrade
Throughout the lifecycle of an application, applications will need to be updated on occasion. It is important to
understand the options associated with updating an application, and when to use the different options.
24
8.2 Updating a Package that will run at the same time as the existing package
Sometimes, a package needs to be updated, but the business community still wants access to the
existing package. In this scenario, follow these steps:
25
9 Dynamic Suite Composition
In previous versions of App-V if you wanted virtual applications to talk to one another it was necessary to include
them in the same package. In version 4.5 it is now possible to allow two virtual applications to talk to one another
by making one dependent upon another. The other major benefit of this is it allows you to update packages
separately. If you had a plug-in that was used by twenty different applications in the past you would have had to
package the plug-in with every suite and if you needed to update it all twenty packages would need to be updated.
Now with DSC you sequence the plug-in separately and only need to update it once.
Let’s use the example of Microsoft Office and Snagit (a plug-in for office).
2. Go back to a clean sequencer and create your Snagit package. However before you start monitoring make
sure you install Office.
3. With Notepad.exe open the OSD file for the Snagit package and copy the line that begins with CODEBASE
and copy the following bits
a. HREF
b. GUID
c. SYSGUARDFILE
d. MANDATORY - this you will type yourself. If MANDATORY=”TRUE” then the plugin will be
required to run the main application so access must be given to it to allow the main application
to run.
<CODEBASE HREF="RTSPS://%SFT_SOFTGRIDSERVER%:322/Snagit_Techsmith_9_MNT.sft"
GUID="E4DE8DA8-87BB-4200-BFE1-8F88E4863034" SYSGUARDFILE="snagit.001\osguard.cp"
MANDATORY=”TRUE"/>
4. Next open the OSD file for each of your Office apps that you want to use Snagit. Above the line that says
</VIRTUALENV> type the following
a. <DEPENDENCIES>
c. </DEPENDENCIES>
5. So in the end what you typed would look something like this:
<VIRTUALENV TERMINATECHILDREN="FALSE">
<ENVLIST/>
<DEPENDANCIES>
<CODEBASE HREF="RTSPS://%SFT_SOFTGRIDSERVER%:322/Snagit_Techsmith_9_MNT.sft" GUID="E4DE8DA8-
87BB-4200-BFE1-8F88E4863034" SYSGUARDFILE="snagit.001\osguard.cp" MANDATORY=”TRUE"/>
</DEPENDANCIES>
</VIRTUALENV>
26
The above diagram shows four different scenarios on how you might use DSC in your
environment.
Before we talk about scripting here is a generalized look at a typical OSD file.
<SOFTPKG GUID="application GUID" NAME="application name" VERSION="version string">
<IMPLEMENTATION>
<CODEBASE HREF="location“ GUID="package" FILENAME="application“
PARAMETERS=“parameters” SYSGUARDFILE="state file"/>
<OS VALUE="platform"/>...<OS VALUE="platform"/>
<WORKINGDIR>optional working directory</WORKINGDIR>
<VIRTUALENV virtual environment configuration options>
<ENVLIST>optional variables</ENVLIST> <REGISTRY>optional values</REGISTRY>
<POLICIES>optional policies</POLICIES>
27
<DEPENDENCIES>
<CODEBASE ... MANDATORY="TRUE|FALSE"/>...<CODEBASE ... MANDATORY="TRUE|
FALSE"/>
</DEPENDENCIES>
</VIRTUALENV>
</IMPLEMENTATION>
<DEPENDENCY>
<CLIENTVERSION VERSION="4.5.0.0"/> <SCRIPT>optional scripts</SCRIPT>
</DEPENDENCY>
<MGMT_SHORTCUTLIST><SHORTCUT definition>…<SHORTCUT …></MGMT_SHORTCUTLIST>
<MGMT_FILEASSOCIATIONS>
<PROGIDLIST>shell integration</PROGIDLIST><FILEEXTENSIONLIST>FTAs</FILEEXTENSIONLIST>
</MGMT_FILEASSOCIATIONS>
</SOFTPKG>
When creating a script it is important to understand when scripting events occur so you know when you will want
your script executed. The following information is helpful to understand how the virtual environment is
constructed and torn down and where the various scripting event triggers occur:
Virtual Application Launch / Shutdown Progression
Note that the client does not support a SHUTDOWN event with Timing of PRE.
The PROTECT attribute specifies if the script runs inside or outside of the virtual environment.
The WAIT attribute specifies if the client waits for the script to finish before proceeding to the next phase.
Scripts can be written in any language but their language must be installed locally on the client machine. For
example if they are using PERL, the PERL runtime must be locally installed on the client machine.
28
11.1 <SCRIPTBODY> Examples
If ABORTRESULT is specified, the client will check the script's exit code when it completes. If SUCCESSRESULT is
specified (and if ABORTRESULT is not or it does not match the script's exit code), the client will check the script's
exit code to see if it matches the value in SUCCESSRESULT.
http://support.microsoft.com/kb/930973/en-us
Example 5 – Pre-Launching a Data File (e.g. AVI file) from within the Sequence
<DEPENDENCY>
<SCRIPT TIMING="PRE" EVENT="LAUNCH" WAIT="TRUE" PROTECT="TRUE">
29
<SCRIPTBODY>%SFT_MNT%\\App\\Data\\Sequencing.avi</SCRIPTBODY>
</SCRIPT>
</DEPENDENCY>
NOTE: In this example, the sequencing.avi launches the locally installed Media Player.
NOTE: A data file (e.g. sequencing.avi) cannot be specified within the FILENAME entry of the CODEBASE tag as
shown below.
<CODEBASE
FILENAME="App\Data\Sequencing.avi"
SYSGUARDFILE="App\osguard.cp"
HREF="rtsp://App-V:554/app.sft"
GUID="A2A6D95E-8898-41C0-8020-797B23A1E917"
SIZE="33363442"/>
NOTE: HREF tag cannot be used with %SFT_MNT% or to launch EXE from within virtual environment.
30
NOTE: The PARAMETERS tag will not support environment variables (e.g. %SFT_MNT%).
Example 2
<IMPLEMENTATION>
<WORKINGDIR>C:\program files\internet explorer</WORKINGDIR>
<CODEBASE HREF="rtsp://ds1-soft1:554/np_ecj.sft?Customer=Sequencer"
FILENAME="np_ecj\notepad.exe" PARAMETERS="cjm.txt"
GUID="D47C0A23-32CF-11D6-990A-00A0CC6413D5"/>
<OS VALUE="WinXP"/>
</IMPLENENTATION>
31
11.5 <REGISTRY> Examples – Registry Customizations
<IMPLEMENTATION>
<CODEBASE … />
<VIRTUALENV>
<REGISTRY>
<REGKEY HIVE="HKLM" KEY="Software\Test">
<REGVALUE REGTYPE="REG_SZ" NAME="string">Holas</REGVALUE>
<REGVALUE REGTYPE="REG_DWORD" NAME="dword">5051</REGVALUE>
<REGVALUE REGTYPE="REG_BINARY" NAME="hex">50,51,52</REGVALUE>
<REGVALUE REGTYPE="REG_SZ">Value of Default Key</REGVALUE>
</REGKEY>
</REGISTRY>
</VIRTUALENV>
</IMPLENENTATION>
<CODEBASE
FILENAME=" C:\Program Files\Windows Media Player\wmplayer.exe"
PARAMETERS=" q:\app\data\sequencing.avi"
SYSGUARDFILE="App\osguard.cp"
HREF="rtsp://App-V:554/app.sft"
GUID="A2A6D95E-8898-41C0-8020-797B23A1E917"
SIZE="33363442"/>
<VM VALUE="Win32">
<SUBSYSTEM VALUE=”Windows”/>
</VM>
<ENVLIST>
32
<ENVIRONMENT VARIABLE="W2K3DDK">%SFT_MNT%\vs2005\winddk\3790~1.183</ENVIRONMENT>
<ENVIRONMENT VARIABLE="W2K3SP1DDK">%SFT_MNT%\vs2005\winddk\3790~1.181</ENVIRONMENT>
</ENVLIST>
</VIRTUALENV>
33
SYSGUARDFILE="Winzip.v1\osguard.cp" SIZE="6225393" />
<OS VALUE="Win2K" />
<OS VALUE="Win2KSvr" />
<OS VALUE="Win2KTS" />
<OS VALUE="Win2003Svr" />
<OS VALUE="Win2003TS" />
<OS VALUE="WinXP" />
- <VM VALUE="Win32">
<SUBSYSTEM VALUE="windows" />
</VM>
- <VIRTUALENV>
<ENVLIST />
</VIRTUALENV>
</IMPLEMENTATION>
- <DEPENDENCY>
<CLIENTVERSION VERSION="2.0.5.0" />
</DEPENDENCY>
<SUITE NAME="Winzip_Winzip_901_MNT" />
<TITLE />
<ABSTRACT>Win XP Sp1, IE 6.0 Seq Build 300</ABSTRACT>
- <MGMT_SHORTCUTLIST>
<SHORTCUT LOCATION="%CSIDL_STARTMENU%" WORKINGDIR=""
DISPLAY="WinZip" ICON="%SFT_MIME_SOURCE%/WinZip90.ico" />
<SHORTCUT LOCATION="%CSIDL_DESKTOPDIRECTORY%" WORKINGDIR=""
DISPLAY="WinZip" ICON="%SFT_MIME_SOURCE%/WinZip90.ico" />
</MGMT_SHORTCUTLIST>
</SOFTPKG>
34
12 Advanced Sequencing Techniques
This section will briefly cover some sequencing challenges and how to overcome them. It is also recommended to
be aware of the logs created when sequencing, a list of the log files related to the sequencer process and their
purpose will be .
When you hit the “Start Monitoring” button you will browse to the root of Q:\.
Make a directory for your application using the 8.3 naming convention and select this
directory as the asset directory
There is a reason that this technique is at the end of the guide. There are pro’s and con’s when
sequencing with this method.
Pro's Cons
You can sequence applications that will not More files in the VFS means your sequencing
install to Q:\ process will slow down. For most applications
You can use existing installation packages for you will not notice a difference however when
your sequencing. Hence many configurations sequencing applications over 1GB in size you
and settings will already be included. will notice a definite slow down in the
sequencing process.
Some files may not translate well to being
placed in the VFS. Sometimes an application
uses batch files that look in a specific place to
execute a command or an INI file does the
same for a configuration. These files do not
always translate well to being placed in the
VFS and may need to be manually edited to
reflect their correct location.
Performance on the client will be affected as
well as more files are added to the VFS.
35
12.2 Sequencing Web Based Applications
Internet Explorer is NOT supported in a sequenced application. However you can sequence plug-ins or ActiveX
controls for Internet Explorer.
On the “Configure
Applications” page of
sequencing add a shortcut After the Iexplore.exe enter
and point to the local the web site that you want
Internet Explorer (i.e. to launch (i.e.
C:\Program Files\Internet http://www.microsoft.com)
Explorer\iexplore.exe)
This pulls the locally installed application into the virtual environment with the additions you have specified. In this
case it was a web plug-in. This lets you have a clean and secure Internet Explorer that you can lock down on a users
machine and then allow them to use the plug-ins that you define.
12.3 Sequencing applications that require access to local devices and or resources
In many ways you sequence these applications no different than you would any other. The applications inside the
virtual environment can see the local resources on the OS and can access them. Devices are another matter. App-V
cannot virtualize drivers. If you can install the driver separately from the application then the application will fall
through to the OS to look for the driver and see that it is installed.
36
SFTCallBack.txt
Description: Records all process starts and stops seen by SystemGuard.
Path: %ProgramFiles%\Microsoft Application Virtualization Sequencer \App-V Sequencer\Logs\
SFTCallBack.txt
Filter.log
Description: A binary log that stores file activity during sequencing.
Path: %ProgramFiles%\Microsoft Application Virtualization Sequencer \App-V Sequencer\Logs\
Filter.1.log
Files.txt
Description: Logs all files in the VFS. It must be enabled by setting
HKLM\Software\Softricity\App-V
Sequencer\CurrentVersion\Configuration\FileManifest to “1”. (REG_DWORD)
Path: %ProgramFiles%\Microsoft Application Virtualization Sequencer\App-V Sequencer\Logs\ File.txt
37
13 Finding Additional Information
http://support.microsoft.com
Error Code Formats: When searching the knowledge base for error codes, be aware that the first 12 digits are
unique to the version of the App-V client software. The ending 8 digits of the error code remain constant between
all client versions.
When you search for an error code, enter the last 8 digits such as 000DF004.
or
The First block of 6 characters are around the Version build of the platform/client. Basically when you see these its
information based and will vary depending on;
Major Version
Minor Version
Patch Version
Build
File ID
Line
Info
Problem Code
38
The Last 10 digits of the error code are constant between the SoftGrid Builds. Because the last 10 digits are
consistent we tend to use these for identify and searching our errors as regardless of the Version, Builds, etc we
can use this knowledge to identify problems and issues as these codes are reused between modules .
In addition, Justin Zarb from Premiere Field Engineering in the UK has written an excellent article relating to the
App-V error codes and what they mean. The article can be found at:
http://blogs.technet.com/virtualworld/archive/2007/07/27/so-what-do-all-these-errors-actually-mean.aspx
http://www.softgridguru.com/
http://www.brianmadden.com
http://blogs.technet.com/virtualworld
http://forums.microsoft.com/TechNet/default.aspx?ForumGroupID=497&SiteID=17
39
Appendix A
3. Click Add…
40
5. For Name, enter “dummy”.
6. For Description, enter “Required for application sequencing”.
7. For Server, enter “dummy”.
8. Click Next.
41
11. Click Next.
42
13. Click OK. Note: Do not click “Test Data Source…” since this test would fail.
Create an ODBC System DSN setting as part of the Sequencer base image as follows:
1. Select the System DSN tab.
43
14. Click Add…
15. For “Select a driver…”, select SQL Server and click Finish.
44
16. For Name, enter “dummy”.
17. For Description, enter “Required for application sequencing”.
18. For Server, enter “dummy”.
19. Click Next.
45
21. Click Next.
46
23. Click OK. Note: Do not click “Test Data Source…” since this test would fail.
47
Appendix B
Step by step instructions for setting up a dummy printer.
3. Click Next.
48
4. Select “Local printer attached to this computer”.
5. Deselect the “Automatically detect and install my Plug and Play printer” checkbox.
6. Click Next.
7. Click Next.
49
8. For Manufacturer, select “HP”.
9. For Printers, “HP LaserJet 4”.
10. Click Next.
50
13. For “Do you want to print a test page?”, select No and click Next.
51
15. Wait for the printer driver installation to complete.
52