App-V applications hang for 30 seconds on a CMD box before opening

In our powerfuse environment we came across this problem recently.

When we would try to launch an App-V application the following window would open and remain open for 30 + seconds before finally opening the application:

appv-application

The problem we discovered was to do with file type associations inside of the RES session, App-V by default will try to associate it’s file type associations for the application being sequenced and store them in the .osd file. The problem was that PowerFuse also controls file associations and this became an issue! PowerFuse has to be associated with the app and not vice versa.

I recommend you specify the file type associations inside of powerfuse and remove the associations inside of the App-V package. To remove the associations, open the .osd file and remove anything between the <FILEEXTENSIONLIST>  </FILEEXTENSION>:

After the link is an example.

<FILEEXTENSIONLIST>
<FILEEXTENSION EXT=”7z” PROGID=”WinRAR” PERCEIVEDTYPE=”” CONTENTTYPE=”” OVERRIDDEN=”FALSE”>
<SHELLNEW ENABLED=”FALSE”/>
</FILEEXTENSION>
<FILEEXTENSION EXT=”ace” PROGID=”WinRAR” PERCEIVEDTYPE=”” CONTENTTYPE=”” OVERRIDDEN=”FALSE”>
<SHELLNEW ENABLED=”FALSE”/>
</FILEEXTENSION>
<FILEEXTENSION EXT=”arj” PROGID=”WinRAR” PERCEIVEDTYPE=”” CONTENTTYPE=”” OVERRIDDEN=”FALSE”>
<SHELLNEW ENABLED=”FALSE”/>
</FILEEXTENSION>
<FILEEXTENSION EXT=”bz” PROGID=”WinRAR” PERCEIVEDTYPE=”” CONTENTTYPE=”” OVERRIDDEN=”FALSE”>
<SHELLNEW ENABLED=”FALSE”/>
</FILEEXTENSION>
<FILEEXTENSION EXT=”bz2″ PROGID=”WinRAR” PERCEIVEDTYPE=”” CONTENTTYPE=”” OVERRIDDEN=”FALSE”>
<SHELLNEW ENABLED=”FALSE”/>
</FILEEXTENSION>
<FILEEXTENSION EXT=”cab” PROGID=”WinRAR” PERCEIVEDTYPE=”” CONTENTTYPE=”” OVERRIDDEN=”FALSE”>
<SHELLNEW ENABLED=”FALSE”/>
<FILEEXTENSIONLIST>
</FILEEXTENSIONLIST>

As Below:

<FILEEXTENSIONLIST>
</FILEEXTENSIONLIST>

Related Posts

Update to AppV launcher for Version 5 Just a quick note to say I've updated the AppV launcher tool to support Appv 5.   The app-V launcher tool is a self contained executable whic...
Enabling & Disabling RES WM / Powerfuse traci... Happy scripting Friday! I wrote this script in batch donkeys ago and have been looking for a good excuse to rewrite it in PowerShell. Today was that ...
App-V preferences in a XenApp published desktop en... App-V user preferences are cleverly tucked away from the file system and registry, which works great for terminal services as you dont want conflictin...

Leave a Reply