This application has failed to start because the application configuration is incorrect

This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

xxxxxxx-xxxxxx2C-000036B1

This error indicates that certain components that needs to available to the application are not when running a virtualized application within App-V.

VC++ 2005: http://www.microsoft.com/download/en/details.aspx?id=3387
VC++ 2005 SP1: http://www.microsoft.com/download/en/details.aspx?id=5638
VC++ 2005 SP1 ATL security update: http://www.microsoft.com/download/en/details.aspx?id=14431
VC++ 2008: http://www.microsoft.com/downloads/details.aspx?familyid=9b2da534-3e03-4391-8a4d-074b9f2bc1bf
VC++ 2008 SP1: http://www.microsoft.com/download/en/details.aspx?id=5582
VC++ 2008 SP1 with ATL security update: http://www.microsoft.com/download/en/details.aspx?id=15303
VC++ 2010: http://www.microsoft.com/download/en/details.aspx?id=5555
VC++ 2010 SP1: http://www.microsoft.com/download/en/details.aspx?id=8328
Visual J# 2.0: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=4712
VS 2010 F# 2.0 SP1: http://www.microsoft.com/download/en/details.aspx?id=15834

Incase installing one of the above does not remedy the problem – you can manually setup the missing sidebyside-component. Review the error
message from the Application Log – see example below;

Log Name:      Application

Source:        SideBySide

Level:         Error

Keywords:      Classic

Description:

Activation context generation failed for “Q:\ecowin.002\VFS\CSIDL_PROGRAM_FILES\EcoWin\EcoWin.exe”. Dependent Assembly Vinga.vscom90u,processorArchitecture=”X86″,publicKeyToken=”e520fe831c9439c8″,type=”Win32″,version=”1.0.0.55″ could not be found. Please use sxstrace.exe for detailed diagnosis.

Locate the referenced file within the package and copy it to the same folder as the application.
Create the first manifest to tell Ecowin where it should get its above Vinga.vscom90u (named ecowin.exe.manifest)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Vinga.vscom90u" version="1.0.0.55" processorArchitecture="x86"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>

The second manifest telling Ecowin where VScom90u.dll was (named Vinga.vscom90u.manifest)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<noInheritable />
<assemblyIdentity type="win32" name="Vinga.vscom90u" publicKeyToken="e520fe831c9439c8" version="1.0.0.55" processorArchitecture="x86" />
<file name="vscom90u.dll" />
</assembly>

The version, name, type, processorArchitecture, publicKeyToken are all picked up from the original error message.

European App-V User Group – 18 Nov, 2011





Presentations PDFs will be available at; www.appvug.com

Presenters were;
Impact AppVirt on VDI (Project VRC phase IV) by Ruben Spruijt
Troubleshooting App-V & Common Issues by Madelinde Walraven and Sebastian Gernert
Future: App-V in Configuration Manager 2012 by  Ment van der Plas
Heavy Duty Sequencing by Nicke Källén
Server App-V by Jurjen van Leeuwen
Dynamic Suite Composition: Boon or Bane? by Falko Gräfe
User State Virtualization: Do I still need it when using App-V? by Rodney Medina
Top 10 Myths around App-V (all)

Shot and cut by Olle Källén, best quality available at his Vimeo account

Successful sequencing (or an interview with the guy who solved the excel.exe started by svchost.exe issue)

After a Microsoft support-case in which I was assisted by Sasha Loncarevic in resolving a problem where excel.exe initiated by a virtual application – had a parent process named SVCHOST.exe – an original solution came about. This solution could in a very short time be reused in a very similar scenario. Previously – only one similar thread had been posted in the forums describing a very spot on scenario. Excel is started outside of the virtual environment. Hopefully this interview can bring insight how Microsoft assists customers in resolving their issues and some insight to the details that caused it.

 

Hello Sasha,

sashalonFB (3)Can you please introduce yourself?

Hi, my name is Sasha Loncarevic and I am an Escalation Engineer at Microsoft UK.  I have been with Microsoft for 11 years, most of that time working with Enterprise customers to resolve complex issues in Remote Desktop Services and APP-V scenarios.  Besides working on the most political/severe problems, Escalation Engineers also work with the Product Groups and Sustained Engineering teams to debug problems and deliver Hotfixes for bugs in the source code.

How long have you been working with App-V / Softgrid?

I started working with APP-V in early 2007; shortly after Softricity was acquired by Microsoft.

Whats installed on your computer?

A full Microsoft stack as you can imagine!  I have several machines at work: three are running Hyper-V to host my repro environments, so around 10 guest VMs each at any one time.  My main tools machine has Office 2010 (OneNote and Lync being my favourite apps), Visual Studio 2008 and 2010, Platform SDKs, DDK, Debugging Tools for Windows, our internal CRM tools, and a loads more.

How are you assisting customers?

Around half of my time is reactive – working on support incidents raised by external customers.  The other half of my time is dedicated to building out our internal and external diagnostics capabilities: tools for data collection, automation of problem identification etc.  The third half of my time is spent mentoring junior engineers and working on business improvement projects.

Are you actively participating in the App-V Community – directly or indirect?

Unfortunately not as much as I would like.  With my work time already over-committed and having four beautiful and active children, I can never find time to maintain a blog, or regularly contribute to other blogs or newsgroups.  However, after resolving a reactive incident I will often promote the solution to a knowledge base (KB) article.  We do track how often our articles are viewed by the public, so I know that my contributions are making a difference (aggregated to >5000 views in the past year).

Since this interview came about after investigating OLE-calls and / or COM-objects – lets transition into that…

 

You assisted in investigating issues – where Excel and other locally installed applications were called from a virtual application, but not started within the virtual environment. Usually the parent process of those applications (excel as an example) was SVCHOST.exe

Can you tell us more about why SVCHOST.EXE starts Excel.exe among several other programs?

First some background: Excel is an OLE server.  OLE is an old technology that allowed you to embed content from different applications into a single document stream – for example if you embed an Excel spreadsheet into a Word document, you could double click the object to start editing the spreadsheet using Excel menus and functions, but whilst still in the Word window.  OLE evolved into COM, which defines a standard way of interfacing with objects.  Excel is a COM server, and Word (or any other application) can use COM to create Excel objects and control them, including what OLE originally enabled.  COM allows objects to support multiple interfaces, and many objects support the IDispatch interface, which allows them to be controlled via scripts e.g. vbscript.

COM also defined ways for objects to be created – either within the host process, or in a separate process.  In the early days of Office, it was possible for an embedded spreadsheet to be served (drawn, updated) by an Excel DLL loaded into the Word process.  Nowadays Office is too big and complex for that, and Excel objects are served by an external instance of Excel.exe.  This is called an ‘Out-of-process’ COM object, and the COM server process (Excel.exe) will be usually be launched by the DcomLaunch service, running in an svchost.exe process.

As we know, svchost.exe is not running within the APP-V virtual environment and this can therefore present problems for virtualized applications that use out-of-process COM.  APP-V examines all CoCreateInstance calls inside the virtualized processes, and will launch out-of-process server processes inside the virtual environment in most cases.  Recently we had a case where APP-V was fooled by SAP asking for an in-process Excel object, and mistakenly allowed Windows to handle the activation because the target object (Excel) had a legacy “InProcServer32” and “InProcHandler32” registry entry (i.e. it incorrectly appears to support in-process activation).  In this case Excel was launched by svchost.exe outside the virtual environment.  There are two potential solutions for this problem – change SAP to request an out-of-process Excel object, or delete the “InProcServer32” and “InProchandler32” registry value for Excel.

There often many questions regarding “the wrong” software starting when using a combination of virtual and locally installed applications – one scenario described by the App-V Team blog (1)

How can one avoid such issues – what can one do to resolve those if they show themselves?

I don’t believe there is a blanket rule, or general advice for this.  I expect that even armed with the knowledge from my earlier statement there will still be borderline scenarios that will require a live debug to resolve.  That being said, the tool that we almost always start off with when troubleshooting problems of this nature is Process Monitor (procmon) from SysInternals (now Microsoft).  The standard advice is to get traces from working (i.e. non-virtualised) and failing examples, and compare the two.  I usually start analysis by right clicking on process names in both traces that I am definitely not interested in, and then selecting ‘exclude’ in the dropdown menu – usually by process name but in some cases by process ID (we wouldn’t want to take out all svchost.exe’s for example, if we were troubleshooting an issue like the ‘wrong parent’ problem).

Is this the reason why the previous recommendation was that any virtualized program should not be installed natively?

I think you mean any application that will be need to be accessed by a virtualized application should also be virtualized…

APP-V does try its best to “marshal” interaction between locally installed and virtualized applications, however in some cases there are just too many brittle touch points, or different ways to exercise the Windows APIs to achieve the same result, that APP-V hasn’t catered for.

What does a registry key under HKEY_CLASSES_ROOT\CLSID represent (or HKLM\Software\Classes)?

COM objects are identified by GUIDs and friendly names e.g. {00030000-0000-0000-C000-000000000046} is also Excel.Worksheet.  The CLSID subkey of HKEY_CLASSES_ROOT is where every COM object is defined, listed by its GUID.  Here will be detailed whether the COM object supports in-process and/or out-of-process activation, and what executables encapsulate the object’s functionality.   If an object has a friendly name, it will also have an entry (using that name) in the base of HKEY_CLASSES_ROOT, where we map to its GUID.  The base of HKEY_CLASSES_ROOT also contains file association information used by the Windows shell.

Why does removing InprocHandler32 and InprocServer32 let us avoid having SVCHOST.exe starting a locally installed application outside of the virtual environment?

This should be answered earlier.

What tools did you use while troubleshooting?

Mostly WinDBG (Windows Debugger) and our source code explorer, but also Netmon, Perfmon, many SysInternals tools (Process Monitor being an important one).  I also use tools I have written myself, e.g. to gather and decode software traces (ETW)

How many applications have you sequenced?

Only around 20, and usually following customer recipes in order to reproduce problems that I can then debug or troubleshoot further.

Any special thanks you wish to send-out?

I work with really smart and motivated people at Microsoft; far too many to call out individually.  Often I also work with customers that deserve special mention, in that they partner well with us to find solutions to really tricky problems (e.g. willing to capture endless traces, enable remote debugging etc).

What improvements do you wish to see in App-V?

I believe that error handling and reporting could be improved to help customers resolve problems without coming back to Microsoft.  I would also love to see a Process Monitor Comparison tool, that would know what sort of differences to look for during sequencing, native execution and virtualised execution.  In fact I started writing such a tool, but it is currenlty somewhere in the middle of a huge ’to-do when I get time’ pile.

 

With that – we thank Sasha for the time taken to answer this and hope that it can provide insight for everyone using App-V!

 

(1) http://blogs.technet.com/b/appv/archive/2011/08/25/office-documents-may-not-open-in-the-expected-version-when-using-multiple-versions-of-office-with-microsoft-app-v.aspx

Adobe Photoshop Elements 10–sequence

Preparation

Read the very well written article regarding Adobe Photoshop Elements 9 that deals with traditional deployment– as it covers what is left out of both the official Adobe Photoshop Elements 9 / 10 (their headline says its only v 9 – but the applicable version-tag says both versions) article from Adobe and the Appdeploy.com notes. Basic preparation for any type of deployment should include the following as a good starting point;

1. Prepare an application.xml.override file
Contents;

<?xml version="1.0" encoding="utf-8"?>
<Configuration>
<Payload>
<Data key="EULADelay">0</Data>
<Data key="EULA">Suppress</Data>
<Data key="Registration">Suppress</Data>
<Data key="Updates">Suppress</Data>
</Payload>
</Configuration>

Should be placed in the same folder (two copies in the end) as Adobe Photoshop Elements 10.msi and Elements 10 Organizer.msi

2. Prepare setup.ini by altering the OEM-section to the below notes;

DISABLEEMSFEATURES=1
DISABLEOLSFEATURES=1
WATCHSERVICE=0

3. Install Visual C++ 2008 SP1 x86
That means you should install specifically that version. Available at Microsoft. Not any other version. Not a newer patch. Not a newer hotfix. But that specific version. Both at the sequencer and target client. That specific version is not included with the App-V Sequencer and App-V client.
The Programs and Features looks like this on a machine that works. The first one (.17) is the exact version that you need.

image

Installation

Begin the sequencing according to your naming standards and proceed with installing Adobe Photoshop Elements 10 during the monitoring phase. I do believe that there is no difference in performing a VFS v a mount point installation, but so far only a mount point installation has been tested.

Configuration

Do not start Adobe Photoshop Elements 10 at any given point.

Save your package

Deploy

When deploying this to the client you need the above mentioned version of Visual C++ installed natively to deploy it. See a list of all Visual C++ versions that are currently installed on the test-system see below;

image

CMCMarkets and horrible Java

Fellow MVP Jurjen van Leeuwen dropped me an application that hadn’t been so successful in sequencing – based on a specific version of java (1.6.0.10 I think) that is installed along with the application itself.

The end-result of a sequence, after implementing the runasinvoker-fix to avoid issues with UAC, is the following;

clip_image002

Not that fun – and doesn’t tell me a whole lot.

The installed folder containing the application (one level up only contains the jre160 folder and the installer.log) looks like this;

Q:\MM5 Norway\MM5>dir
Volume in drive Q is App Virt
Volume Serial Number is 1010-1010
Directory of Q:\MM5 Norway\MM5
2011-10-26  10:11    <DIR>          .
2011-10-26  10:13    <DIR>          ..
2011-10-26  10:11    <DIR>          logs
2011-10-26  14:17             1 558 lasterror.ser
2011-10-26  14:12                23 nfo.ver
2011-10-26  10:03    <DIR>          resources
2009-06-24  16:48            59 576 iiDownloader.exe
2009-06-24  16:21           348 160 msvcr71.dll
2011-10-26  10:06           575 216 iiLauncher.exe
2011-10-26  10:06                14 iiLauncher.ver
2011-10-26  10:06                14 iiAppStart.ver
2011-10-26  10:06         1 328 938 iiAppStart.exe
2011-10-26  10:11           309 435 file.db
2011-10-26  10:11        11 769 946 cfile.db
2009-06-24  16:21                16 jre.dat
2009-06-24  16:49                16 freshInstall.dat
12 File(s)     14 392 912 bytes
4 Dir(s)   7 321 260 032 bytes free
Q:\MM5 Norway\MM5>

As you can imagine – logs contain specific log-files and lasterror.ser contains the lasterror.

Reviewing what activity happens during the initial execution using the Count Value Occurrencesfrom Process Monitor we can have an overview of what is happening;

image

There seems to be several process running during the startup and if we take into account that iiLauncher.exe has the most occurrences we can assume that this one fails. Using Process Monitor to identify when it would attempt to write to lasterror.ser could be an indication of when the application fails and if iiLauncher.exe is the executable that is writing to the lasterror.ser.

image

The above screenshot shows the first time the lasterror.ser is accessed by a process directly and reviewing the activity around it reveals no direct failure. The file rt.jar is accessed heavily by iiLauncher.exe and an attempt to access a .log.lck file (probably a lock attempt on a log-file) is successful. Lets review lasterror.ser and see if we can determine what of the above activity is relevant.

Lasterror, after our failed start, looks like this;


&nbsp;

¬í sr (frontend.shutdown.error.ApplicationErrorXGõ®Ô*
L
m_creationTimet Ljava/util/Date;L   m_messaget Ljava/lang/String;L m_optionalThrowablet Ljava/lang/Throwable;[
m_stackTracet ‑[Ljava/lang/StackTraceElement;xpsr
java.util.DatehjKYt
xpw  3?NÀ6xt Failed to start launcher.sr .java.nio.channels.OverlappingFileLockExceptionkJJ5ñ^[1]  xr ­java.lang.IllegalStateExceptionæWUæšFòH[1]  xr java.lang.RuntimeExceptionž_G
4ƒå[1]  xr java.lang.ExceptionÐý­>;Ä[1]  xr java.lang.ThrowableÕÆ5'9w¸Ë
L causeq ~
L
detailMessageq ~ [1][
stackTraceq ~
xpq ~
pur ‑[Ljava.lang.StackTraceElement;[1]F*<<ý"9[1]  xp
sr java.lang.StackTraceElementa           Åš&6Ý…[1]
I
lineNumberL
declaringClassq ~ [1]L fileNameq ~ [1]L

methodNameq ~ [1]xpÿÿÿÿt .sun.nio.ch.FileChannelImpl$SharedFileLockTablept                                  checkListsq ~ ÿÿÿÿq ~ pt
addsq ~ ÿÿÿÿt sun.nio.ch.FileChannelImplpt tryLocksq ~ ÿÿÿÿt java.nio.channels.FileChannelpq ~ sq ~ ÿÿÿÿt java.util.logging.FileHandlerpt                                             openFilessq ~ ÿÿÿÿq ~ pt <init>sq ~    ¢t .frontend.remote.logging.DownloadLoggingDefaultt DownloadLoggingDefault.javat setUpDefaultLoggersq ~   !t 2frontend.remote.logging.DownloadLoggingInitialisert ­DownloadLoggingInitialiser.javat createDefaultJavaLoggersq ~    ¹q ~ &q ~ 't resetLoggingConfigurationsq ~    wq ~ &q ~ 't

initialisesq ~   |t (frontend.remote.launcher.UpgradeLaunchert UpgradeLauncher.javaq ~ ,sq ~   !q ~ .q ~ /t
runsq ~   œq ~ .q ~ /t
mainxuq ~
sq ~   Aq ~ .q ~ /t handleThrowablesq ~   ;q ~ .q ~ /q ~ 1sq ~   œq ~ .q ~ /q ~ 3w              2x

The error probably relates to an attempted file lock in the nio-module. Considering the activity we reviewed above – it could be the previously mentioned .lck.log-file that is having a problem.

A similar error has been posted here – which I believe Jurjen also addressed.
http://www.appvirtguru.com/viewtopic.php?f=9&t=3769
This
one also travels the same path;
http://www.appvirtguru.com/viewtopic.php?f=9&t=3694

Now, Jurjen made a very good comment within the first thread – there seems to be a problem when locking files within the virtual environment. After reviewing a couple of procmon-traces – the only locations that was attempted to write to was %TEMP% and the q:\mm5 norway\mm5\logs (where the .log.lck file was located).

Also – the procmon trace told me that there were two files that were running; iiDownloader.exe, iiLauncher.exe. However, in the installation folder there were three executables named iiXXXX.exe (iiAppstart.exe was the last one). Potentially all of these could have a problem, but so far iiDownloader.exe has not revealed any problems and iiLauncher.exe potentially has problems.

imageUsing ACT (Application Comapbility Toolkit) a shim was produced to redirect all file-writes for \logs to %LOCALAPPDATA% for the process iiLauncher.exe. Read more about the process of using the specific shim CorrectFilePaths from Vijay. He does an excellent job explaining the entire process. Chris Jackson has one remark (afterall – he is the Appcompat-guy) that the folder we are redirecting to needs to exist. Remko Weijnen did quite a few write-ups which explains several scenarios that this can be used for. Even vendors recommends using shims!
Shims are very easily installed from ACT and can also be installed using a command-line tool– which makes the testing task very easy. Once installed – the shim is effective immediately and thus our next startup should show if the shim has made a difference.

image

Suddenly the initial error message has disappeared and instead we have a very brief glimpse of the above screen. Something has changed and perhaps we have removed a first obstacle.

image

Using Cross Reference Summary we reveal that a new process has shown up – iiAppstart.exe. Using File Summary with aggressive filtering (only include iiAppstart.exe) we can see that it also has a similar behavior of accessing .lck files.

image

Therefore we create a new shim which implements the same fix for iiAppstart.exe as we previously created for iiLauncher.exe and save it into the same database (.sdb)-file usint ACT.

Once the shim is installed the following shows up (which would count as a success, right?);

clip_image006

Using Process Monitor in this case revealed no direct failures – ACCESS DENIED and FILE NOT FOUND were not relevant. By tracking what application was ran, what files were read and what files were written to we could determine potential root causes and implement probable solutions very quickly.

Informal App-V errors

Just had this laying around in some notes. Not really structured…

19D0810A-10000005
KB:19D0810A-10000005
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/beb5b0b9-e9ef-461e-87c2-2d68f119f012
http://support.microsoft.com/kb/930697
The error indicates a networking problem in general and the currently available even documents a timeout to be a possible error.
Common causes are;
HREF path contains spaces
?Customer in the OSD is missing key character (such as ? or =)
Network traffic is to slow or improperly handled
-This may be due to a user beeing member of to many groups – can be extended
http://blogs.technet.com/virtualworld/archive/2010/02/07/error-0a-10000005.aspx
-Network traffic is filtered
In a VPN scenario the RTSP traffic may be inspected and some packets may be dropped
Disable the RTSP inspection to resolve the error

04-00000A09
error occurs because the application and version referenced is not available in the Application Virtualization cache
This may especially occur when using alternative ways to access applications – such as publishing the command-line via Xenapp or creating custom shortcuts
http://support.microsoft.com/kb/930631/

Error 25001.Microsoft Application Virtualization Client for Remote Desktop Services required Remote Desktop Services is installed on the system.
Your client has not the Terminal Server och Remote Desktop Services feature installed.
Either add those on your OS or download the workstation-client via the Microsoft Desktop Optimization pack

0C-0000003C
http://blogs.technet.com/appv/archive/2007/09/17/softgrid-client-error-0c-0000003c.aspx
http://support.microsoft.com/kb/930829
Essentially two problems usually occur when this error happens – depending on the situation;
Page Pool memory is depleted – a quick fix may be to reboot, but if that is required to be performed to frequently some optimizations can be done to prevent it.
If it happens on a newly sequenced application there probably was an issue with the sequence created – most common solution is to resequence

04-0000040F
Error may occur on single-core Citrix-servers due to CTX CPU Utilization Management. See below link for suggested implemented solutions – most commonly excluding effected processes
http://blogs.msdn.com/sgern/archive/2009/04/17/fehler-04-0000040f-m-gliche-ursache.aspx

2A-00000003
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/846d2c5d-109c-4b75-a4f9-bdb69100cc1a
Error relates to the fact that the app-v service can not see the source referenced when importing a package.
Most common example beeing when executing an MSI located on a mapped drive (mapped drives are only available in user context, app-v client service runs in another user context -system)

0A-2000019D
http://social.technet.microsoft.com/Forums/en/appvclients/thread/d1c9b1e8-1b0f-4483-a8aa-6f4898a9af22
Failure to send reporting data from the client – this especially happens in a TS / RDS environment. Often the problem is due to the fact that the server only can receive a maximum size and the reporting data sent greatly exceeds that one.
I believe the maximum receiving size is around 60k – and I have personally seen about 800k log-files in a small TS-environment.

Error 25028.  The Application Virtualization Client servivce could not be configured
Uninstall old client, reboot and try again. If that fails try to perform a clean-up or simply rebuild the system.
Not really sure exactly what could cause this but it often has relations to failed attempts to install a client
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/372c967a-a0af-4efc-b2ac-19b24611dd1b

The Application Virtualisation Client could not retrieve data from the server. Application has been paused. If necessary you can have 2 minutes to save any work before it is shutdown
0A-00000193
Verify server connectivity.
To prevent this error ensure that applications are fully cached

0A-00002002
http://support.microsoft.com/?kbid=930721
Error message indicates that you cannot be authenticated – could mean that you are not in a trusted domain or simply have a workgroup computer.
If this happens when first installing there could be a potential issue with authentication. Try reverifying your steps

0A-200001F4
http://blogs.msdn.com/sgern/archive/2009/03/10/fehler-0a-200001f4-app-v-client-kann-keine-pakete-laden.aspx
http://social.technet.microsoft.com/Forums/en-US/appvbeta/thread/fc7b54d2-a389-4c3d-96f7-0a6ce4f7104a
http://social.technet.microsoft.com/Forums/en/appvclients/thread/3edea457-a607-4272-9337-1ec4562d8100
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/c897c330-82de-4026-ba38-15ae578cb451
http://blogs.technet.com/appv/archive/2008/10/15/error-code-xxxxxx-xxxxxx0a-200001f4-internal-system-error-on-the-client.aspx
The error has several possible root causes but two stands out;
MS XML was not installed prior to installing App-v management server (no error is given during installation) or the app-v server does not have read permissions for the .SFT file it tries to stream

 

0A-10000004
http://social.technet.microsoft.com/Forums/en-US/appvserverandmanagement/thread/c6d916b9-a324-4e99-8570-2d0248c7d481/
http://www.softgrider.de/Lists/FAQ/DispForm.aspx?ID=60
http://edmundlim6.spaces.live.com/blog/cns!7E0E900F873F543E!1461.entry?wa=wsignin1.0&sa=461213954
Indicates a general networking problem, where traffic is not passed through. Most commonly specific executable files should be allowed to pass through the firewall

2A-0000274D
http://blogs.msdn.com/sgern/archive/2009/03/25/fehler-2a-0000274d-den-kennt-jeder.aspx
http://www.softgrider.de/Lists/FAQ/DispForm.aspx?ID=60
http://www.dsgug.de/forum3/viewtopic.php?f=3&t=439
Either the app-v server service is not started or you are trying to connect on the wrong port

00000000-00000000
Attempting Transport Connection
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/7019295c-0a3a-42fb-a9a6-3a4aa4fbccc4

 

64-00000002
http://blogs.technet.com/virtualworld/archive/2008/04/22/default-first-app-64-00000002.aspx
http://social.technet.microsoft.com/Forums/en/appvclients/thread/391d3b13-6e72-4abb-b8d5-2f60a7e7b414
Verify that the reference to OSD / Icon is correct. Since its very common to specify server-path in an environment variable its good to really verify that the SYSTEM variable is set.

2A-80090322
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/1b659a0a-591a-491b-9ab1-6b74bab8671e
http://blogs.technet.com/appv/archive/2010/03/09/troubleshooting-common-rtsps-issues-with-app-v.aspx
See above blog-post, most commonly happens when using encryption

12-00006003
07-000D4002
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/c3c4d626-cb08-4981-bd5f-df62bd4c47f5
Error relates to the failure to start app-v client. A conflict probably exists with another filter-driver on your system

0A-0000E02B
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/28b63d1c-6339-4f04-8dc7-04c602a1933b
This error occurs because the server thinks it has one version (60f02e36-25a4-4a27-a1a0-7a325063280e) and the client believes it has another version (00000000-0000-0000-0000-000000000000)
Clear the cache to resolve the error.

0A-0000E005
http://support.microsoft.com/kb/930623
http://msvirtualapp.blogspot.com/2008/03/unexpected-error-0a-0000e005.html
Corrupted PKG-files are not very common, but when they happen it has mostly occured due to antivirus. See below KB-article for possible optimizations
http://support.microsoft.com/kb/973366

 

14-00000003
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/3eef3c6b-f72d-4e91-ab36-490a76b9aad4
According to a poster in the above thread the error code would say that there is not space available on the client and it can’t locate the file.
Verify disk-space available on drives where client, global data directory or user profile / data is placed?

39-000036B1
http://www.shawnbass.com/Blogs/tabid/58/EntryId/170/App-V-4-5-File-System-race-condition-found-and-fixed.aspx
Install App-v 4.5 CU1 + HFP6 or App-v 4.5 SP1 + HFP1 to resolve this error

0A-0000E028 – Network Transport Agent
Discussed in a forum thread;
http://social.technet.microsoft.com/Forums/en-US/appvbeta/thread/1ed7ea8c-b2a2-43fe-8697-02774837f996
Improper closure of settings file
TERMINTAE CHILDREN = TRUE – change to FALSE
The settings file is probably corrupted due to the last process is shutdown to early – change the above setting and verify if an orphaned process is left behind

0A-10000009
http://mike-crowley.spaces.live.com/blog/cns!C23CB95E1200929!358.entry
http://www.softgrider.de/Lists/FAQ/DispForm.aspx?ID=45
Disable any RTSP filtering on your ISA-firewall

00-000000C3
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/a122dba2-085d-419e-8ba8-7c1594186bf8
http://blogs.msdn.com/sgern/archive/2009/07/10/fehler-00-000000c3-und-04-00000419.aspx
Verify that the app-v drive on the client-side (Q: per default) is not scanned by the antivirus
See recommendations for TS-environments; http://support.microsoft.com/kb/973366

33-00000005
http://blogs.technet.com/softgrid/archive/2010/01/07/solution-you-receive-an-access-denied-error-message-when-you-try-to-start-the-app-v-client-console.aspx
http://support.microsoft.com/?kbid=978554

2C-00000003
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/af6ee1b8-3867-4da8-84a9-f93bd29fa1ce
Error means “file not found” Possible causes could be a move of the users-profile. 2C could indicate that the file in the package ? Verify antivirus settings to exclude any corruption of PKG / Global data directory

Failed unregistering callback tracking connected process termination (error: 997).
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/d8ee29ea-1645-4c9d-b6f2-1a1c485f4d3f

 

0A-2000019D
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/d1c9b1e8-1b0f-4483-a8aa-6f4898a9af22

04-00001802
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/06b21018-39d8-498b-9a1d-fc1b3ffd8cf4
Error seems to relate to background streaming and to have failed for some reason. Harmless error if user can start application

2C-000000010B
http://technet.microsoft.com/en-us/library/ee677081.aspx
Error indicates that the folder used in the WORKINGDIRECTORY tag does not exist. If it references a mapped drive (as an example), the mapped drive may not exist
When sequencing with TS / RDS thas seems to happen in packages that contain everything needed.
One quick-solution is simply to empty the working directory-tag within the OSD-file

0A-00000014
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/a7be5e7a-0b96-4ea5-b7e5-9fb5dfc770e9

0C-0000003C
http://blogs.technet.com/softgrid/archive/2007/09/17/softgrid-client-error-0c-0000003c.aspx
Starved page pool memory. Verify that you have a reboot cycle and start memory optimize if using a 32-bit environment

0A-40000193
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/60ed6a1e-e066-429c-81cc-3529bdadd0f6
Applications are cached and you are either running without a connection to a mgt-server or trying to run in stand-alone mode. Disable to require authorization if cached

39-00000002
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/bc87789d-585e-4ee4-ad6b-c1bba5783547
The file referenced to start the application is not. By defining a proper working-directory this can be resolved

07-000D3002
32-00000006
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/438de3e4-78cc-4a92-9b5c-95ed9ab183b4
http://support.microsoft.com/kb/931580
http://blog.stealthpuppy.com/virtualisation/app-v-errors-00000006-and-000d3002-when-adding-packages

19101601-0003100F
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/09b710bb-90cb-48a2-a9ca-c500662ed461
Error occurs because the user is required to authorize against the app-v server everytime it starts the application, and the server is probably unreachable at the time beeing.
There is a registry-key available to change this behavior, aswell as a MSI property when installing the client

14-00000005
This error usually relates to the profile / application data or global data directory beeing inaccesible. Only repeatable when the server has connection-problems

Failed to dispatch to core process error
http://social.technet.microsoft.com/Forums/en-US/appvserverandmanagement/thread/60243a69-a401-42bd-a668-e867063eed04
http://blogs.msdn.com/sgern/archive/2010/03/19/app-v-4-5-sp1-hf2-ist-nun-auf-anfrage-verf-gbar.aspx
Error occurs at server-side and can generate various types of errors client-side.
Essentially this often occurs on servers installed to an existing database (such as all servers not first creating the DB in a load balanced environment or prepopulating the database).
Verify all tables in the database that contains server information that values are consistent with the first installed server.
A patch has been released – but not verified.

 

2C-00000003
2c – Relates to inside the package? Corrupted Q:?
http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/af6ee1b8-3867-4da8-84a9-f93bd29fa1ce

 

14-00000003 – Not enough storage?

Visio 2003 and embedded objects in non-virtualized Word

I sequenced Visio 2003 a while ago and nothing to it really.
Followed the MS / Softricity recipe from: http://support.microsoft.com/kb/931813/en-us
However, I did start to get user reports that it wouldn’t integrate with Word (Office basic is installed locally on our clients).
Solving the problem with copy-n-paste from Word to Visio and vice versa was pretty easy, simple google and find this:
http://appvirtguru.com/viewtopic.php?p=7499

However, the users wanted more and the integration with word had to be complete.
Since I thought it would simply take registry keys I d/l SFT-Explorer and started looking through the package and use regmon to see what happend when Word tried to reach Visio.
After a few days of mapping, I had found two registry entries that I thought would do the trick. Of course it didn’t work and I kept extracting more and more.
Finally I had four .reg-files I had edited and still no solution. However, SFT-explorer only extracted the Default value as an @ value and when inserted into the locally registry – the default key had no value (but the @ did).
Correcting this mistake made it all work like a charm.
So here they come, my registry keys:
Remember though, you have to correct to your package name and SG-client path.
You should be able to change the corresponding places my settings when I tell you this:
C:\\Program Files\\Softricity\\SoftGrid for Windows Desktops\\sfttray.exe \”Microsoft Office Visio 2003 11.0b\”

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{00021A13-0000-0000-C000-000000000046}]
"@"="Microsoft Visio 2000/2002 Drawing"
@="Microsoft Visio 2000/2002 Drawing"
[HKEY_CLASSES_ROOT\CLSID\{00021A13-0000-0000-C000-000000000046}\AutoConvertTo]
"@"="{00021A14-0000-0000-C000-000000000046}"
@="{00021A14-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\CLSID\{00021A13-0000-0000-C000-000000000046}\DefaultIcon]
[HKEY_CLASSES_ROOT\CLSID\{00021A13-0000-0000-C000-000000000046}\InprocServer32]
"InprocServer32"=hex(7):6d,00,2e,00,58,00,48,00,56,00,6e,00,2d,00,7d,00,66,00,\
28,00,5a,00,58,00,66,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,56,00,69,\
00,73,00,69,00,6f,00,43,00,6f,00,72,00,65,00,3e,00,2a,00,66,00,48,00,5d,00,\
50,00,4f,00,6b,00,36,00,3f,00,41,00,3d,00,50,00,55,00,43,00,41,00,6d,00,68,\
00,58,00,28,00,5d,00,00,00,00,00
@="C:\\Program Files\\Softricity\\SoftGrid for Windows Desktops\\sfttray.exe \"Microsoft Office Visio 2003 11.0b\""
[HKEY_CLASSES_ROOT\CLSID\{00021A13-0000-0000-C000-000000000046}\Insertable]
"@"=""
[HKEY_CLASSES_ROOT\CLSID\{00021A13-0000-0000-C000-000000000046}\NotInsertable]
"@"=""
[HKEY_CLASSES_ROOT\CLSID\{00021A13-0000-0000-C000-000000000046}\ProgID]
"@"="Visio.Drawing.6"
@="Visio.Drawing.6"
[HKEY_CLASSES_ROOT\CLSID\{00021A13-0000-0000-C000-000000000046}\TreatAs]
"@"="{00021A14-0000-0000-C000-000000000046}"
@="{00021A14-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\CLSID\{00021A13-0000-0000-C000-000000000046}\verb]
[HKEY_CLASSES_ROOT\CLSID\{00021A13-0000-0000-C000-000000000046}\verb\0]
"@"="&Edit,0,2"
@="&Edit,0,2"
[HKEY_CLASSES_ROOT\CLSID\{00021A13-0000-0000-C000-000000000046}\verb\1]
"@"="&Open,0,2"
@="&Open,0,2"
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}]
"@"="Microsoft Visio Drawing"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\AuxUserType]
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\AuxUserType\2]
"@"="Visio"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\AuxUserType\3]
"@"="Microsoft Visio Drawing"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\Conversion]
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\Conversion\Readable]
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\Conversion\Readable\Main]
"@"="VISIO Figures,VISIO Shapes,VISIO 4.0 Shapes,VISIO 5.0 Shapes,VISIO 6.0 Shapes"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\Conversion\Readwritable]
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\Conversion\Readwritable\Main]
"@"="Visio 11.0 Shapes"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DataFormats]
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DataFormats\DefaultFile]
"@"="Visio 11.0 Shapes"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DataFormats\GetSet]
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DataFormats\GetSet\0]
"@"="3,1,32,1"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DataFormats\GetSet\1]
"@"="Embed Source,1,8,1"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DataFormats\GetSet\2]
"@"="VISIO Figures,1,1,1"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DataFormats\GetSet\3]
"@"="VISIO Shapes,1,1,1"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DataFormats\GetSet\4]
"@"="VISIO 4.0 Shapes,1,1,1"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DataFormats\GetSet\5]
"@"="VISIO 5.0 Shapes,1,1,1"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DataFormats\GetSet\6]
"@"="VISIO 6.0 Shapes,1,1,1"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DataFormats\GetSet\7]
"@"="Visio 11.0 Shapes,1,1,1"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DataFormats\PriorityCacheFormats]
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DataFormats\PriorityCacheFormats\0]
"@"="Visio 11.0 Shapes"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DefaultExtension]
"@"=".vsd, Visio Drawing (*.vsd)"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DefaultIcon]
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\DocObject]
"@"="0"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\InprocHandler32]
"@"="ole32.dll"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\Insertable]
"@"=""
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\LocalServer32]
"LocalServer32"=hex(7):6d,00,2e,00,58,00,48,00,56,00,6e,00,2d,00,7d,00,66,00,\
28,00,5a,00,58,00,66,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,56,00,69,\
00,73,00,69,00,6f,00,43,00,6f,00,72,00,65,00,3e,00,2a,00,66,00,48,00,5d,00,\
50,00,4f,00,6b,00,36,00,3f,00,41,00,3d,00,50,00,55,00,43,00,41,00,6d,00,68,\
00,58,00,28,00,5d,00,00,00,00,00
@="C:\\Program Files\\Softricity\\SoftGrid for Windows Desktops\\sfttray.exe \"Microsoft Office Visio 2003 11.0b\""
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\MiscStatus]
"@"="0"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\PersistentHandler]
"@"="{17F58AA4-C07A-48DC-9C2A-EF3154D0C1DF}"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\Printable]
"@"=""
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\ProgID]
"@"="Visio.Drawing.11"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\verb]
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\verb\0]
"@"="&Edit,0,2"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\verb\1]
"@"="&Open,0,2"
[HKEY_CLASSES_ROOT\CLSID\{00021A14-0000-0000-C000-000000000046}\VersionIndependentProgID]
"@"="Visio.Drawing"
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Visio.Drawing.11]
@="Microsoft Visio Drawing"
"@"="Microsoft Visio Drawing"
"EditFlags"=hex:00,00,00,00
"SoftGridSource"="rtsp://seMAsdw03052:554/"
[HKEY_CLASSES_ROOT\Visio.Drawing.11\CLSID]
"@"="{00021A14-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\Visio.Drawing.11\DefaultIcon]
@="C:\\Documents and Settings\\senicka\\Application Data\\SoftGrid Client\\Icon Cache\\f334df3b-76c7-4a67-8ae6-a09864a61d65.ico"
[HKEY_CLASSES_ROOT\Visio.Drawing.11\DocObject]
"@"=""
[HKEY_CLASSES_ROOT\Visio.Drawing.11\HTML Handler]
@="C:\\Program Files\\Softricity\\SoftGrid for Windows Desktops\\sfttray.exe \"Microsoft Office Visio 2003 11.0b\""
[HKEY_CLASSES_ROOT\Visio.Drawing.11\HTML Handler\shell]
[HKEY_CLASSES_ROOT\Visio.Drawing.11\HTML Handler\shell\edit]
[HKEY_CLASSES_ROOT\Visio.Drawing.11\HTML Handler\shell\edit\command]
[HKEY_CLASSES_ROOT\Visio.Drawing.11\Insertable]
"@"=""
[HKEY_CLASSES_ROOT\Visio.Drawing.11\protocol]
[HKEY_CLASSES_ROOT\Visio.Drawing.11\protocol\StdFileEditing]
[HKEY_CLASSES_ROOT\Visio.Drawing.11\protocol\StdFileEditing\server]
[HKEY_CLASSES_ROOT\Visio.Drawing.11\protocol\StdFileEditing\verb]
[HKEY_CLASSES_ROOT\Visio.Drawing.11\protocol\StdFileEditing\verb\0]
"@"="&Edit"
[HKEY_CLASSES_ROOT\Visio.Drawing.11\protocol\StdFileEditing\verb\1]
"@"="&Open"
[HKEY_CLASSES_ROOT\Visio.Drawing.11\shell]
[HKEY_CLASSES_ROOT\Visio.Drawing.11\shell\Open]
@="&Open"
"@"="&Open"
"SoftGridAppName"="Microsoft Office Visio 2003"
"SoftGridAppParams"="\"%1\""
"SoftGridAppVersion"="11.0b"
"SoftGridSource"="rtsp://seMAsdw03052:554/"
[HKEY_CLASSES_ROOT\Visio.Drawing.11\shell\Open\command]
@="\"C:\\Program Files\\Softricity\\SoftGrid for Windows Desktops\\sfttray.exe\" /launch \"Microsoft Office Visio 2003 11.0b\" \"%1\""
"command"=hex(7):2d,00,30,00,58,00,5f,00,65,00,38,00,52,00,55,00,65,00,39,00,\
77,00,28,00,4b,00,46,00,52,00,31,00,32,00,4b,00,75,00,5b,00,52,00,65,00,6c,\
00,65,00,61,00,73,00,65,00,5f,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,\
5f,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,73,00,3e,00,67,00,4e,00,6b,\
00,4b,00,50,00,74,00,2d,00,27,00,4e,00,41,00,30,00,35,00,66,00,40,00,73,00,\
64,00,53,00,6e,00,4b,00,48,00,20,00,2f,00,6c,00,61,00,75,00,6e,00,63,00,68,\
00,20,00,22,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,20,00,\
4f,00,66,00,66,00,69,00,63,00,65,00,20,00,56,00,69,00,73,00,69,00,6f,00,20,\
00,32,00,30,00,30,00,33,00,20,00,31,00,31,00,2e,00,30,00,22,00,20,00,22,00,\
25,00,31,00,22,00,00,00,00,00
[HKEY_CLASSES_ROOT\Visio.Drawing.11\shell\Open\ddeexec]
[HKEY_CLASSES_ROOT\Visio.Drawing.11\shell\Print]
@="&Print"
"@"="&Print"
"SoftGridAppName"="Microsoft Office Visio 2003"
"SoftGridAppParams"="/p \"%1\""
"SoftGridAppVersion"="11.0b"
"SoftGridSource"="rtsp://seMAsdw03052:554/"
[HKEY_CLASSES_ROOT\Visio.Drawing.11\shell\Print\command]
@="\"C:\\Program Files\\Softricity\\SoftGrid for Windows Desktops\\sfttray.exe\" /launch \"Microsoft Office Visio 2003 11.0b\" /p \"%1\""
"command"=hex(7):2d,00,30,00,58,00,5f,00,65,00,38,00,52,00,55,00,65,00,39,00,\
77,00,28,00,4b,00,46,00,52,00,31,00,32,00,4b,00,75,00,5b,00,52,00,65,00,6c,\
00,65,00,61,00,73,00,65,00,5f,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,\
5f,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,73,00,3e,00,67,00,4e,00,6b,\
00,4b,00,50,00,74,00,2d,00,27,00,4e,00,41,00,30,00,35,00,66,00,40,00,73,00,\
64,00,53,00,6e,00,4b,00,48,00,20,00,2f,00,6c,00,61,00,75,00,6e,00,63,00,68,\
00,20,00,22,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,20,00,\
4f,00,66,00,66,00,69,00,63,00,65,00,20,00,56,00,69,00,73,00,69,00,6f,00,20,\
00,32,00,30,00,30,00,33,00,20,00,31,00,31,00,2e,00,30,00,22,00,20,00,2f,00,\
70,00,20,00,22,00,25,00,31,00,22,00,00,00,00,00
[HKEY_CLASSES_ROOT\Visio.Drawing.11\shell\Print\ddeexec]
[HKEY_CLASSES_ROOT\Visio.Drawing.11\shell\PrintTo]
@="Print &To"
"@"="Print &To"
"SoftGridAppName"="Microsoft Office Visio 2003"
"SoftGridAppParams"="/pt \"%1\",\"%2\",\"%3\",\"%4\""
"SoftGridAppVersion"="11.0b"
"SoftGridSource"="rtsp://seMAsdw03052:554/"
[HKEY_CLASSES_ROOT\Visio.Drawing.11\shell\PrintTo\command]
@="\"C:\\Program Files\\Softricity\\SoftGrid for Windows Desktops\\sfttray.exe\" /launch \"Microsoft Office Visio 2003 11.0b\" /pt \"%1\",\"%2\",\"%3\",\"%4\""
"command"=hex(7):2d,00,30,00,58,00,5f,00,65,00,38,00,52,00,55,00,65,00,39,00,\
77,00,28,00,4b,00,46,00,52,00,31,00,32,00,4b,00,75,00,5b,00,52,00,65,00,6c,\
00,65,00,61,00,73,00,65,00,5f,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,\
5f,00,44,00,65,00,73,00,6b,00,74,00,6f,00,70,00,73,00,3e,00,67,00,4e,00,6b,\
00,4b,00,50,00,74,00,2d,00,27,00,4e,00,41,00,30,00,35,00,66,00,40,00,73,00,\
64,00,53,00,6e,00,4b,00,48,00,20,00,2f,00,6c,00,61,00,75,00,6e,00,63,00,68,\
00,20,00,22,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,20,00,\
4f,00,66,00,66,00,69,00,63,00,65,00,20,00,56,00,69,00,73,00,69,00,6f,00,20,\
00,32,00,30,00,30,00,33,00,20,00,31,00,31,00,2e,00,30,00,22,00,20,00,2f,00,\
70,00,74,00,20,00,22,00,25,00,31,00,22,00,2c,00,22,00,25,00,32,00,22,00,2c,\
00,22,00,25,00,33,00,22,00,2c,00,22,00,25,00,34,00,22,00,00,00,00,00
[HKEY_CLASSES_ROOT\Visio.Drawing.11\shell\PrintTo\ddeexec]
[HKEY_CLASSES_ROOT\Visio.Drawing.11\shellex]
[HKEY_CLASSES_ROOT\Visio.Drawing.11\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
"@"="{506F4668-F13E-4AA1-BB04-B43203AB3CC0}"
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Visio.Drawing.6]
"@"="Microsoft Visio 2000/2002 Drawing"
"EditFlags"=hex:00,00,00,00
[HKEY_CLASSES_ROOT\Visio.Drawing.6\CLSID]
"@"="{00021A13-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\Visio.Drawing.6\NotInsertable]
"@"=""
[HKEY_CLASSES_ROOT\Visio.Drawing.6\protocol]
[HKEY_CLASSES_ROOT\Visio.Drawing.6\protocol\StdFileEditing]
[HKEY_CLASSES_ROOT\Visio.Drawing.6\protocol\StdFileEditing\server]
@="C:\\Program Files\\Softricity\\SoftGrid for Windows Desktops\\sfttray.exe \"Microsoft Office Visio 2003 11.0b\""

Autodesk DWG Trueview 2010

Well, basically there has been an alternative recipe for replacing the Autodesk DWG Trueview application. This recipe have been using freely available components available from Autodesk and is fully functional.
Now, DWG Trueview 2010 was released (and I believe Autodesk is updating all their softwares) I wanted to perform this one with a successfull sequencing.

Old discussions can be found here;

http://social.technet.microsoft.com/Forums/en-US/appvgeneralsequencing/thread/dbd6b677-87c4-4384-9c1a-953652557832

And here comes the recipe;

Sequencer:

WinXP SP2
App-V Sequencer 4.5 RTM
Todo before you sequence, install the following;
Visual C++ 2008 SP1
.NET Framework 3.5 SP1 + Family update
MS XML 6.0
WindowsXP-KB942288-v3-x86
DirectX
(available via the installation image Autodesk\DWGTrueViewx86InstallImage\support\DirectX)
nlsdl.x86 (Autodesk\DWGTrueViewx86InstallImage\support\NLSDL)
WindowsInstaller-KB893803-v2-x86
From options, remove these exclusions;
%USERSPROFILE%\local settings, %USERSPROFILE%\local settings\appdata
Recommend resolution is 1024×768
Then begin the sequencing;
Deselect desktop shortcut
Redirect installation to asset dir
Review help file
I didn’t start the program, and removed anything that didn’t have a file-association tied to it when the sequencing was finished

Following OSDs should be created;
Autocad component (renamed from Autocad component (1), the “original” one i removed)
Autocad DWG Launcher
DWG Trueview
Autodesk hardcopy componenent
During application launching I started them all, however most of them had to be terminated….
Target machine is a WinXP SP2 with a 4.5 RTM client and all the above prereqs (of course…)

Sequencing recipe: Navisworks Freedom 2010

Well, continueing with the Autodesk viewer suite, here comes how I sequenced Navisworks Freedom 2010
Sequencer:
WinXP SP2
App-v 4.5 RTM Sequencer
Prereqs: (needs to be on sequencer aswell as client..)
.NET FRAMEWORK 2.0
nlsdl.x86(Autodesk\Navisworks Freedom 2010\x86\support\NLSDL\nlsdl.x86)
Visual C++ 2008 SP1
KB893803
MS XML 6.0
.NET Framework 2.0 Language Pack – same as OS regional-setting
While sequencing…
Choose configure
leave the first two locations empty.
Redirect installation to asset dir
Implement the following registry keys

ECHO Disable anonymous statistics
reg add "HKCU\Software\Autodesk\MC3" /v "NotificationRemindOn" /t REG_DWORD /d "1" /f
reg add "HKCU\Software\Autodesk\MC3" /v "NotificationRemindOnBeta" /t REG_DWORD /d "1" /f
Echo Disable Help on first-startup
reg add "HKCU\Software\Autodesk\Navisworks Freedom\7.0\GlobalOptions\interface\first_run" /v "show_help" /t REG_SZ /d "3 0" /f

Now, during sequencing Freedom always crashed. No matter what I did, it always crashed if I tried to start it. Thats why I had to locate the above registry keys and set the manually.
It crashes during application launching, but that doesn’t effect anything.
I just published the freedom-shurtcut on the start-menu, anything else I threw out.
Uncheck the “Enforce security descriptors” post-sequencing.

Sequencing tips: Java performance

imageFirst issue that many come-along is the java-performance while operating in a virtual-environment within APP-V.
To resolve it:
While sequencing, goto the Java-applet in Control Panel
Open it and find the setting for the temporary working directory
(should be one of the buttons in the first tab)
Redirect it to a common-path in the asset directory (eg, q:\java.001\jtemp)

Done!