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   [ - ] Hide 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
Please log in to comment

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

Please log in to comment
Answer this question or Comment on this question for clarity


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

Please log in to comment