Skip to content
⌘ NSIS Forum Archive

Create IE Favorite

4 posts

coopey247#

Create IE Favorite

I need to create an IE6 favorite for users based on their logon ID. I know how to get the logon ID and everything, but can I create an IE favorite with NSIS.
Afrow UK#
If you can get the all users Favourites folder then you just need to create an url file in there like so:

WriteINIStr "My App Website.url" "InternetShortcut" "URL" "http://www.path.to.mysite.com"
-Stu
kichik#
You can find the path to the favorites folder in this reg key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Favorites