Linker plug-in

From NSIS Wiki
Jump to navigationJump to search
Author: kichik (talk, contrib)


Download

Linker.zip (73 KB)

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

Linker-1.2.zip (46 KB) NSIS & Unicode NSIS versions, Visual Studio 2010 build

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.

Version 1.2 by Slappy graphical-installer.com

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

+ Added transparent background for text