View Single Post
Old 9th January 2012, 06:01   #3
doniels
Junior Member
 
Join Date: Jan 2012
Posts: 3
Correct. Here's the relevant parts of the code:

PHP Code:
!include MUI2.nsh
!addplugindir .
!include 
"WinMessages.nsh"
.
.
!
define MUI_TEXT_DIRECTORY_SUBTITLE "    " 
!define MUI_COMPONENTSPAGE_TEXT_TOP "Select your device manufacturer from the list below to install a driver. "
!define MUI_COMPONENTSPAGE_TEXT_COMPLIST " " 
!define MUI_COMPONENTSPAGE_TEXT_INSTTYPELIST " " 
!define MUI_COMPONENTSPAGE_TEXT_INSTTYPE "Show supported devices"
!define MUI_TEXT_COMPONENTS_TITLE "Driver installation" 
!define MUI_TEXT_COMPONENTS_SUBTITLE "  " 
!define MUI_COMPONENTSPAGE_NODESC 1
.
.
!
define MUI_PAGE_CUSTOMFUNCTION_SHOW SetupLink
  
!insertmacro MUI_PAGE_COMPONENTS
.
.
Function 
SetupLink
    FindWindow 
$"#32770" "" $HWNDPARENT
    GetDlgItem 
$0 $HWNDPARENT 1021
    linker
::link /NOUNLOAD $"http://www.ourlink.com/"
FunctionEnd
.
.
Section /"(other)"
    
SectionIn 7 ; for a total of 10 sections
    push 
"(other)"
    
ExecWait 'msiexec /quiet /i "$INSTDIR\Other\Driver_V10.msi"'
SectionEnd
.

In the setup.exe I can see linker.dll under setup.exe\$COMMONFILES\Our App\Install drivers\$PLUGINSDIR\
doniels is offline   Reply With Quote