NSIS plug-ins #
NSIS (Nullsoft Scriptable Install System) is a professional open source system to create Windows installers. It is designed to be as small and flexible as possible and is therefore very suitable for internet distribution.
NSIS is a very flexible system and easily can be extended by plug-ins.
TAPIhelp Plug-in #
Simple plug-in that lets you explore TAPI subsystem and report installed modem name and modem device id.
TAPIhelp plug-in page on the NSIS site.
Download: tapihelp.zip (52.3 Kb)
Plug-in Functions #
tapihelp::getmodemid #
Returns modem device id on stack (to get it use Pop $var
).
tapihelp::getmodemname #
Returns modem name on stack (to get it use Pop $var
).
Sample Script #
!addplugindir ./debug
!addplugindir ./release
Name "tapihelp.dll test"
OutFile "tapihelp.dll test.exe"
ShowInstDetails show
Function .onInit
InitPluginsDir
tapihelp::getmodemid
Pop $0
tapihelp::getmodemname
Pop $1
FunctionEnd
Section
DetailPrint "Modem ID: $0"
DetailPrint "Modem Name: $1"
DetailPrint ""
SectionEnd
Version History #
0.0.0.1 #
- First version.