Hi All,
I am using the CreateURL macro to create a desktop shortcut to a URL
it works great - BUT I AM LOOKING FOR A WAY TO CHANGE THE SHORTCUT ICON
can anyone please help!!!?
----The Macro---
!Macro "CreateURL" "URLFile" "URLSite" "URLDesc"
WriteINIStr "$EXEDIR\${URLFile}.URL" "InternetShortcut" "URL" "${URLSite}"
----The usage
!insertmacro "CreateURL" "williamhill ****** Flash" "http://www.google.com" "williamhill ****** Flash"
desktop shortcut to URL + Icon chage
5 posts
WriteINIStr "$desktop\${URLFile}.URL" "InternetShortcut" IconIndex=0
WriteINIStr "$desktop\${URLFile}.URL" "InternetShortcut" "IconFile=$windir\explorer.exe"
NOTE: The MS guidelines tell you to not create anything on the desktop.
WriteINIStr "$desktop\${URLFile}.URL" "InternetShortcut" "IconFile=$windir\explorer.exe"
NOTE: The MS guidelines tell you to not create anything on the desktop.
not sure that this is what I need
Anders, thank you very much
I am not sure that this is what I seek for
1. I need internet shortcut - I have it
2. I want it to be with Icon that I provide and not the default browser icon (in my case internet explorer)
3.my setup do nothing but creating this shortcut.
4. the icon does not exist in any exe in any PC it is mine
Hope you can help with that
Thanks in advance
Oren
Anders, thank you very much
I am not sure that this is what I seek for
1. I need internet shortcut - I have it
2. I want it to be with Icon that I provide and not the default browser icon (in my case internet explorer)
3.my setup do nothing but creating this shortcut.
4. the icon does not exist in any exe in any PC it is mine
Hope you can help with that
Thanks in advance
Oren
I am not sure that this is what I seek forTry reading Anders reply again. What you need to do is add some extra lines to your internet shortcut to specify the icon you want to use. Don't forget to install your icon file.
shortcut on netword desktop
Hi
I got it working.
Now I have tackled with new issue.
For users that have networked desktop it does not work.
in some the shortcut is created with no icon and in some the shortcut doesn't created at all.
Anyone have a clue
??
Thanks in advance
Oren
Hi
I got it working.
Now I have tackled with new issue.
For users that have networked desktop it does not work.
in some the shortcut is created with no icon and in some the shortcut doesn't created at all.
Anyone have a clue
??
Thanks in advance
Oren