Dialer plugin

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2188 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2003-02-19 21:29:44 +00:00
parent 04ea0c13d0
commit 8c0383dbbb
2 changed files with 21 additions and 0 deletions

View file

@ -60,6 +60,7 @@ Section ""
!insertmacro CVSDATA "Contrib\AdvSplash" !insertmacro CVSDATA "Contrib\AdvSplash"
!insertmacro CVSDATA "Contrib\Banner" !insertmacro CVSDATA "Contrib\Banner"
!insertmacro CVSDATA "Contrib\BgImage" !insertmacro CVSDATA "Contrib\BgImage"
!insertmacro CVSDATA "Contrib\Dialer"
!insertmacro CVSDATA "Contrib\ExDLL" !insertmacro CVSDATA "Contrib\ExDLL"
!insertmacro CVSDATA "Contrib\Icons" !insertmacro CVSDATA "Contrib\Icons"
!insertmacro CVSDATA "Contrib\InstallOptions" !insertmacro CVSDATA "Contrib\InstallOptions"

View file

@ -386,6 +386,14 @@ Section "UserInfo" SecContribUserInfo
File ..\Contrib\UserInfo\UserInfo.nsi File ..\Contrib\UserInfo\UserInfo.nsi
SectionEnd SectionEnd
Section "Dialer" SecContribDialer
SectionIn 1 2
SetOutPath $INSTDIR\Plugins
File ..\Plugins\Dialer.dll
SetOutPath $INSTDIR\Contrib\Dialer
File ..\Contrib\Dialer\Dialer.txt
SectionEnd
SubSectionEnd SubSectionEnd
Section "Zip2Exe" SecContribZ2E Section "Zip2Exe" SecContribZ2E
@ -568,6 +576,14 @@ Section "UserInfo Source" SecContribUserInfoS
File ..\Contrib\UserInfo\UserInfo.dsw File ..\Contrib\UserInfo\UserInfo.dsw
SectionEnd SectionEnd
Section "Dialer Source" SecContribDialerS
SectionIn 1
SetOutPath $INSTDIR\Contrib\Dialer
File ..\Contrib\Dialer\dialer.c
File ..\Contrib\Dialer\dialer.dsp
File ..\Contrib\Dialer\dialer.dsw
SectionEnd
SubSectionEnd ; plugins SubSectionEnd ; plugins
Section "Zip2Exe Source" SecContribZ2ES Section "Zip2Exe Source" SecContribZ2ES
@ -773,6 +789,8 @@ SectionEnd
!insertmacro MUI_DESCRIPTION_TEXT ${SecContribSplashTS} "Source code to splash screen add-on with transparency support that lets you add a splash screen to an installer" !insertmacro MUI_DESCRIPTION_TEXT ${SecContribSplashTS} "Source code to splash screen add-on with transparency support that lets you add a splash screen to an installer"
!insertmacro MUI_DESCRIPTION_TEXT ${SecContribSystem} "Plugin that lets you call Win32 API from NSIS scripts" !insertmacro MUI_DESCRIPTION_TEXT ${SecContribSystem} "Plugin that lets you call Win32 API from NSIS scripts"
!insertmacro MUI_DESCRIPTION_TEXT ${SecContribSystemS} "Source code to plugin that lets you call Win32 API from NSIS scripts" !insertmacro MUI_DESCRIPTION_TEXT ${SecContribSystemS} "Source code to plugin that lets you call Win32 API from NSIS scripts"
!insertmacro MUI_DESCRIPTION_TEXT ${SecContribDialer} "Plugin with internet connection functions"
!insertmacro MUI_DESCRIPTION_TEXT ${SecContribDialerS} "Source code to plugin with internet connection functions"
!insertmacro MUI_DESCRIPTION_TEXT ${SecContribZ2E} "A utility that converts zip files into an NSIS installer" !insertmacro MUI_DESCRIPTION_TEXT ${SecContribZ2E} "A utility that converts zip files into an NSIS installer"
!insertmacro MUI_DESCRIPTION_TEXT ${SecContribZ2ES} "Source code to a utility that converts zip files into an NSIS installer" !insertmacro MUI_DESCRIPTION_TEXT ${SecContribZ2ES} "Source code to a utility that converts zip files into an NSIS installer"
!insertmacro MUI_DESCRIPTION_TEXT ${SecContribIO} "Plugin that lets you add user interface components to an installer" !insertmacro MUI_DESCRIPTION_TEXT ${SecContribIO} "Plugin that lets you add user interface components to an installer"
@ -806,6 +824,7 @@ SectionEnd
!macroend !macroend
Function .onSelChange Function .onSelChange
;Plugins are linked to ExDLL
StrCpy $R0 0 StrCpy $R0 0
!insertmacro secSelected ${SecContribSplashTS} !insertmacro secSelected ${SecContribSplashTS}
!insertmacro secSelected ${SecContribBannerS} !insertmacro secSelected ${SecContribBannerS}
@ -817,6 +836,7 @@ Function .onSelChange
!insertmacro secSelected ${SecContribSplashS} !insertmacro secSelected ${SecContribSplashS}
!insertmacro secSelected ${SecContribStartMenuS} !insertmacro secSelected ${SecContribStartMenuS}
!insertmacro secSelected ${SecContribUserInfoS} !insertmacro secSelected ${SecContribUserInfoS}
!insertmacro secSelected ${SecContribDialerS}
SectionGetFlags ${SecSrcEx} $R7 SectionGetFlags ${SecSrcEx} $R7
StrCmp $R0 0 notRequired StrCmp $R0 0 notRequired
IntOp $R7 $R7 | ${SF_SELECTED} IntOp $R7 $R7 | ${SF_SELECTED}