Answered by:
Custom Shortcuts - App-V 5.0.285.0

Question
-
Good Day All,
I have searched these forums and although a lot of results coming back regarding shortcuts I can't find one that details the issues I am having. This Issue crosses both sequencing and publishing however as shortcuts can be specified in both parts of the process I thought I would start here. So hear goes.
App-V Version: 5.0.285.0
I am having an issue with the custom shortcuts. The built in shortcuts e.g. the desktop, start menu and app data appear to work when setting both in the shortcuts / FTAs tab at time of sequencing and also when publishing using the the management console.
Checking the DeploymentConfig.xml and the UserConfig.xml appear to have the required changes but still no additional shortcuts for the sequenced application.
These built in shortcuts are using the defined App-V tokens [{Desktop}]\, [{Common Start Menu}]\, [{Common AppData}]\.
When I try to use some of the others sequencer tokens for example [{AppVPackageDrive}] or [{AppVPackageRoot}] I don't appear to get any return and as I can't specify the root i am finding it difficult to publish the shortcuts in the required location.
Has any one else encountered these issues or managed to publish shortcuts for their sequenced applications to the required path.
Thank you in advance for any responses.
Neil- Edited by StanFlake Monday, November 12, 2012 5:46 PM Typo
Monday, November 12, 2012 5:42 PM
Answers
-
Hi StanFlake,
I can confirm, that a shortcut published to e.g. c:\shortcuts is not published. If I start explorer in the VE, it´s even not possible to create a link at this location.
The only way I found to get this construct to run is:
Create outside the VE a shortcut in this folder, pointig to a published Link on the Desktop or under Programms./vkleinerde
- Proposed as answer by Aaron.ParkerModerator Thursday, November 22, 2012 9:39 AM
- Marked as answer by Aaron.ParkerModerator Tuesday, December 11, 2012 8:39 AM
Wednesday, November 21, 2012 7:36 AM
All replies
-
Hello,
Have you attempted to edit the shortcut while in editing mode?Nicke Källén | The Knack| Twitter: @Znackattack
Monday, November 12, 2012 8:23 PM -
Hi,
Yes, I have tried adding the custom shortcuts when editing the sequenced package. I have also manually edited the DeploymentConfig.xml and UserConfig.xml using the 'working' built in desktop shortcut as a template for the syntax.
I tried adding in a shortcut on the root of C:\ and also in a folder on C:\software\shortcuts\ (folders already in place on client machine). The only shortcuts that appear to deploy are the predefined locations (desktop, start menu etc) that are configurable either within the management console or within the shortcuts /FTAs tabs using the check boxes.
The interface within the App-V 5 sequencer for editing shortcuts is pretty much identical to that of 4.6 so I don't think I am missing anything obvious.
Thanks,
Neil
Monday, November 12, 2012 9:00 PM -
Hello,
Kinda leaning towards that common-locations are off-limits if the package is not published globally. Is the package published globally?Nicke Källén | The Knack| Twitter: @Znackattack
Tuesday, November 13, 2012 9:30 AM -
Hi Znack,
If you mean published globally using the management console via a publishing server then yes they are. I am using full infrastructure mode.
Thanks,
Neil
Tuesday, November 13, 2012 12:02 PM -
Hello,
I mean globally -as to all the users on a machine...Nicke Källén | The Knack| Twitter: @Znackattack
Tuesday, November 13, 2012 12:03 PM -
Hi Znack,
Yes, when published on the client the applications are published to all users on the machine. I have also tried taking the management console out of the equation using the .msi file to deploy however it again only seems to deploy the shortcuts that you can select by default. It makes me think that it is not something to do with the publishing but the interpretation of the App-V 5 tokens by the client?...maybe.. I am running out of ideas.
Thanks,
Neil
Thursday, November 15, 2012 10:18 AM -
Stan,
I'm not sure I understand what you are trying to accomplish. What is the reason for needing a shortcut outside of the Start Menu or Desktop? Can you provide some more information on the end goal and scenario?
Steve Bucci Microsoft
Thursday, November 15, 2012 4:05 PM -
Hi Steve,
I work for an educational institution. Our Lab environment is built with 1 image running over 400 applications. These applications are a mixture of locally installed and run from a network drive. The default user desktop is populated with shortcuts to folders containing the application shortcuts. These application shortcuts are manually created on the file server and either points to the locally installed path for a particular application or the network path. This allows us to maintain one network location for all applications that we offer. It also allows us to maintain a persistent file structure for all staff and students.
We introduced App-V 4.6 into our lab environment with a standalone model with streaming. We deployed our sequenced applications via GPO/MSI and placed a shortcut to the sequenced application on the root of c:\ in a folder called shortcuts. In order to maintain the current method of deploying application shortcuts to our default user profile, we again manually created a shortcut to the sequenced application on our network share and pointed it to the newly deployed shortcut in C:\shortcuts. We also used this shortcut file as a check in a machine start-up script to see if the sequenced application had been installed on the client machine. If it was not present we run the MSI file to have the virtual application deployed.
When we start to create next year’s lab build we are looking to introduce app-v 5 and sequence as many applications as possible from our current portfolio. This is with the view to reaping the benefits that App-V brings to the table.
The current method that we use to deploy the application shortcuts has worked very well for us and we were looking to implement App-v 5 but utilise our current methodology for provisioning user shortcuts.
So end goal, if I can publish the application shortcuts into c:\shortcuts\ then we can utilise our current model.
If I use a built in app-v 5 token [{Common Programs}] to deploy a target shortcut it works perfectly.
<Extension Category="AppV.Shortcut">
<Shortcut>
<File>[{Common Desktop}]\Shortcuts\FileZilla Client.lnk</File>
<Target>[{ProgramFilesX86}]\FileZilla\filezilla.exe</Target>
<Icon>[{ProgramFilesX86}]\FileZilla\filezilla.exe.0.ico</Icon>
<Arguments />
<WorkingDirectory>[{ProgramFilesX86}]\FileZilla</WorkingDirectory>
<ShowCommand>1</ShowCommand>
<ApplicationId>[{ProgramFilesX86}]\FileZilla\filezilla.exe</ApplicationId>
</Shortcut>
However if I place a shortcut for the application at time of sequencing in c:\shortcuts the following code is captured by the sequencer:
<Shortcut>
<File>[{AppVPackageDrive}]\Shortcuts\FileZilla Client.lnk</File>
<Target>[{ProgramFilesX86}]\FileZilla\filezilla.exe</Target>
<Icon>[{ProgramFilesX86}]\FileZilla\filezilla.exe.0.ico</Icon>
<Arguments />
<WorkingDirectory>[{ProgramFilesX86}]\FileZilla</WorkingDirectory>
<ApplicationId>[{ProgramFilesX86}]\FileZilla\filezilla.exe</ApplicationId>
</Shortcut>This does not create a shortcut to the application.
The only main difference I can see is that the app-v 5 token [{Common Desktop}]\ was changed to reflect the different path and shows [{AppVPackageDrive}]\ which according to the App-V 5 Sequencing Guide white paper should translate to C:.
Note: There is another container that is displayed <ShowCommand>1</ShowCommand> however manually adding this into the XML config file and re-publishing does not appear to resolve.
I believe it may have something to do with this [{AppVPackageDrive}]\ token but I am still relatively new to app-v so this may not be the issue.
For information my client machine is a base install of Windows 7 SP1 x86 with the app-v client and pre-requisites.
I appreciate that the current model we use to provision user applications may not be best practice , but this aside if we could publishing a custom shortcut to the required location on the root of c:\ like we can do with 4.6 sequencer then this would be 1 of the hurdles moving to app-v 5 out of the way.
Any ideas or assistance would be greatly appreciated.
Thanks,
Neil
- Edited by StanFlake Friday, November 16, 2012 5:00 PM formatting
Friday, November 16, 2012 4:58 PM -
Hi StanFlake,
I can confirm, that a shortcut published to e.g. c:\shortcuts is not published. If I start explorer in the VE, it´s even not possible to create a link at this location.
The only way I found to get this construct to run is:
Create outside the VE a shortcut in this folder, pointig to a published Link on the Desktop or under Programms./vkleinerde
- Proposed as answer by Aaron.ParkerModerator Thursday, November 22, 2012 9:39 AM
- Marked as answer by Aaron.ParkerModerator Tuesday, December 11, 2012 8:39 AM
Wednesday, November 21, 2012 7:36 AM -
Hi vkleinerde,
Thank you for the response its good to have someone else replicate the issue. I will try what you suggested and see if I can get something that will work for us.
Hopefully Steve @ MS is still following this thread and can shed some more light on the issue.
Many Thanks,
Neil
Thursday, November 22, 2012 9:19 AM -
Hello,
I posted this on Connect. If you want a faster response - I suggest you open a support case with Microsoft. I can also repeat the behaviorNicke Källén | The Knack| Twitter: @Znackattack
Thursday, November 22, 2012 10:55 AM -
Hi Znack,
Thanks for the update. I originally looked at Microsoft Connect and could only find details on the App-V 5 Beta Program, this appears to have stopped accepting any feedback. Can I ask where on Connect you posted it so that I may monitor it as well?
Thank you,
NeilThursday, November 22, 2012 4:08 PM -
Hello,
It depends on what programs you are admitted to and not all are public. Since App-V 5 is RTM, I suggest you open a support callNicke Källén | The Knack| Twitter: @Znackattack
Thursday, November 22, 2012 7:37 PM -
1. You must start with a tekenized path that installs shortcuts for the type of publishing you are going to be doing. Some tokenized paths install shortcuts for users, and other tekenized paths install for the system when published with -global.
2. The user or system must also have rights to the location that you want to create the shortcut.
3. Edit the DeploymentConfig.XML, or the UserConfig.XML as follows
To install a shortcut when published to global, refrence a tekenized device path as follows:
<File>[{Common Desktop}]\..\..\..\Environment\StartMenu\Programs\Clinical Applications\PrimeSuite.lnk</File>The tekenized path that is automaticly used for custom paths is [{AppVPackageDrive}], and it only appears to install the shortcuts here when publised to a user. The problem is that the user generally does not have rights to custom locations, and this location is ignored for shortcuts when installing with -global when the system actually has rights to install to that location.
Anyway, this is the best I can figure out. I hope this helps.
Wednesday, July 29, 2015 7:15 PM