When you want to fully manage shortcuts and FTA’s from App-V 4.6 with Immidio Flex there are a few steps to take:
1. Disabling the shortcuts and FTA’s at the client ( this is something you want to because it’s wise to keep your packages original so they can be used elsewhere )
2. Making sure that you can call out the sfttray.exe /launch command in a unified way on x64 and x86 system architectures,
this can be achieved using two different methods one for Flex 7 and older and the other with Flex+ 8.x
1. Disable FTA’s en Shortcut publication on the client
A while back I wrote an article about managing FTA’s and Shortcuts [Link] But not everybody immediately got what I was on about, or what you could do with it.
When you use SCCM or HTTP streaming combined with App-V you do not have all the functions that a App-V management server can offer.
You will immediately notice this when you want to manage your Application access and or file type associations.
By setting a simple ADM template you can manage the publication of shortcuts and FTA’s at the client, this way you don’t have to edit all your packages.
you can find my ADM in the downloads section or you can create your own by using this Microsoft article .
These are the settings I’ve put in my ADM, to disable all publications just set both settings to 0 x 0
2a. Setup symbolic Link (Flex 7.x)
When x86 system architectures are mixed together with x64 system architectures it’s really hard to fully manage shortcuts and FTA’s (file type associations)
this is because you can not call out “sfttray.exe” and expect everything to be all right. Only the x86 system architectures will except this command. There is however a solution to this, an symbolic link:
On x64 systems the App-V client sits in C:\Program Files (x86)\Microsoft Application Virtualization Client
Create a folder with exact the same name in the “C:\Programs Folder” so without the “(x86)”
Now you can use the symbolic lync to create a redirection to the “(x86)” folder: mklink /D “C:\Program Files\Microsoft Application Virtualization Client” “C:\Program Files (x86)\Microsoft Application Virtualization Client”
Succes: now you can just call on: sfttray.exe and add any parameter, it’s still a lot of work creating all shortcuts but this makes is just a little bit easer.
2B. Using x86 – x64 conversion by Flex+
In Flex+ (8.x) Immidio solved the issue with implementing shortcuts and FTA’s in a unified way. They’ve created a button which only shows when you fill in a path to a program files directory. What the button does is it makes Flex+ resolve for that priticular application the variable %Programfiles% to the 32-bit Program Files folder on 64-bit systems.
#see above, the “%1” is a little trick to make sure that the file is opened in the application and not just the application itself. This does not always work, but about 70% of the time it does.