Linker plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(→‎Download: add Unicode NSIS version)
No edit summary
Line 6: Line 6:
<br>
<br>
[http://www.fdos.org/win32/nsis/plugins/others/Linker.1.1.zip Linker.1.1.zip] (25KB) NSIS & Unicode NSIS versions
[http://www.fdos.org/win32/nsis/plugins/others/Linker.1.1.zip Linker.1.1.zip] (25KB) NSIS & Unicode NSIS versions
<br>
<attach>Linker-1.2.zip</attach> (48KB) NSIS & Unicode NSIS versions
Version 1.2 by Slappy (graphical-installer.com)
+ Added Visual Studio 2010 solution and project (in VC10 directory)
+ Added transparent background for text


==Description==
==Description==

Revision as of 08:43, 13 August 2013

Author: kichik (talk, contrib)


Download

Linker.zip (73 KB)

Linker.1.1.zip (25KB) NSIS & Unicode NSIS versions


Linker-1.2.zip (46 KB) (48KB) NSIS & Unicode NSIS versions

Version 1.2 by Slappy (graphical-installer.com)

+ Added Visual Studio 2010 solution and project (in VC10 directory)

+ Added transparent background for text

Description

This plug-in transforms a label into a clickable link. It can be used to add links to non-custom pages, such as the license and the components page. Usage is very simple and requires just a HWND.

Example

FindWindow $0 "#32770" "" $HWNDPARENT
GetDlgItem $0 $0 1006
Linker::link /NOUNLOAD $0 "http://www.google.com/"

Credits

The code responsible for the actual linking was taken from catch22 and was created by James Brown & Ralph Bittmann. This plug-in is nothing but a wrapper for their code.