Quick Launch Shortcut

  • Thread starter Thread starter Sean Fullerton
  • Start date Start date
S

Sean Fullerton

Ok dumb question but how do you add a shortcut to the Quick Launch bar when
creating a setup package in .NET?

Sean
 
Sean,
Ok dumb question but how do you add a shortcut to the Quick Launch bar when
creating a setup package in .NET?

First I suggest you to read this

http://blogs.gotdotnet.com/raymondc/PermaLink.aspx/441c4836-e2ef-4088-bc06-936d41886fbc

and think twice if you really need this feature.

If you still think so, you have to retrieve the user's Application
Data folder (using Environment.GetFolderPath() or the SHGetFolderPath
Win32 API), append "Microsoft\Internet Explorer\Quick Launch" to the
path and create a shortcut to your app there.

There's probably no built-in support for this in the setup project
system, since you shouldn't create icons there. So you may need a
custom action to do this.



Mattias
 
Back
Top