Old 29th November 2011, 09:31   #1
hanenjom
Member
 
Join Date: Apr 2011
Posts: 56
check target shortcut icons

Hi, can you help me please,

I have many shortcut icons and I need to have for each icon, the target of the shortcut.

Thx.
hanenjom is offline   Reply With Quote
Old 29th November 2011, 09:43   #2
pengyou
Major Dude
 
Join Date: Mar 2003
Posts: 571
This plugin should help you:

http://nsis.sourceforge.net/ShellLink_plug-in
pengyou is offline   Reply With Quote
Old 29th November 2011, 09:47   #3
hanenjom
Member
 
Join Date: Apr 2011
Posts: 56
I try to use it, but I have an error in execute .
you had already used it ?
hanenjom is offline   Reply With Quote
Old 29th November 2011, 10:46   #4
pengyou
Major Dude
 
Join Date: Mar 2003
Posts: 571
Yes, it works for me. I have used the GetShortCutTarget, GetShortCutArgs and GetShortCutWorkingDirectory functions
pengyou is offline   Reply With Quote
Old 29th November 2011, 12:39   #5
hanenjom
Member
 
Join Date: Apr 2011
Posts: 56
please , when using this plugin, I have to created every time the icon to check, or I can set a parameter already existing icons.

I have the some problem to execute with my existing icons, but when i create a new and i push it it s ok.

please help me.
hanenjom is offline   Reply With Quote
Old 29th November 2011, 13:08   #6
pengyou
Major Dude
 
Join Date: Mar 2003
Posts: 571
I use the plugin to check shortcuts which already exist (they were created before I run my installer).

Are you sure that you are supplying the full path to the existing shortcut when you use the plugin?
pengyou is offline   Reply With Quote
Old 30th November 2011, 12:32   #7
hanenjom
Member
 
Join Date: Apr 2011
Posts: 56
its ok, thx for your help.
hanenjom is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump