Software Deployment Question

Can Advertised Shortcuts point to folders instead of files?

08/21/2014 4356 views


I am trying to create an Advertised Shortcut to a folder.  I can't seem to make this work and wondered if it was actually possible?


Answer Summary:
3 Comments   [ + ] Show comments


  • It is a folder that I have added to the installation. I'll give this a try. Thanks badger.
  • Badger, this worked a charm. Like you said it's not perfect, but works well. Thanks for your help
  • missed your comments... glad it worked though

Community Chosen Answer


Which folder??? a locally installed folder or a folder on the network??

It can get a bit tricky, essentially yes, you can do it. Here is how I do it (Not necessarily the best way, but how I do it)

Create an LNK file (shortcut) to the folder you want.

C:\Windows\explorer.exe "path to the folder you want opened"

Now add the FILE (the lnk file) to your package (making the assumption that the package with an advertised shortcut is actually an MSI) Yes I know that means you have to add a file, which is a pain if the 'package' is JUST a shortcut.... but I think its better in the long run.

For the component that adds the .lnk file, make the LNK file the key path.

Now you can create an advertised shortcut for that component. (tidy up the icon for the short cut so it  looks pleasing)

If your package has any other current user information, like reg keys or files, then the advertised shortcut will initiate the self repair to get this pulled down.

Hope that helps


Answered 08/21/2014 by: Badger
Red Belt

All Answers

Only shortcuts to a resource which is a key member in a component can be advertised
Answered 08/02/2015 by: jagadeish
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ