![]() |
Need some help for a deskbar
Okay i need some help installing multi programes inside my deskbar here is what i have right now
=========deskbar.nsi============= !define DESKBARTITLE `Financial Health Resources` !define ZIP2EXE_NAME `Financial Health Resources` !define ZIP2EXE_OUTFILE `FHR.exe` !define ZIP2EXE_INSTALLDIR `$PROGRAMFILES\Financial Health Resources` #!define RESTART_MESSAGE `The Financial Health Resources Deskbar has been installed.$\nIt will start working after reboot.$\nWould you like to reboot now (recommended)?` SetCompressor lzma !include "MUI.nsh" !include `Base.nsh` !insertmacro SECTION_BEGIN File /r `.\tmp\*.*` !insertmacro SECTION_END ======================================= ============bash.nsh=============== Name "${ZIP2EXE_NAME}" OutFile "${ZIP2EXE_OUTFILE}" AllowRootDirInstall true ReserveFile "installed.bmp" ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll" ReserveFile "deskbar.ini" !insertmacro MUI_PAGE_DIRECTORY !insertmacro MUI_PAGE_INSTFILES Page custom CustomPage !insertmacro MUI_LANGUAGE "English" LangString TEXT_IO_TITLE ${LANG_ENGLISH} "$(DESKBARTITLE)" LangString TEXT_IO_SUBTITLE ${LANG_ENGLISH} "The Financial Health Resources deskbar has been succesfully installed." !ifdef ZIP2EXE_INSTALLDIR InstallDir "${ZIP2EXE_INSTALLDIR}" Function zip2exe.SetOutPath SetOutPath "$INSTDIR" FunctionEnd !endif Function .onInit !insertmacro MUI_INSTALLOPTIONS_EXTRACT "deskbar.ini" !insertmacro MUI_INSTALLOPTIONS_EXTRACT "installed.bmp" ; !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "${MUI_${UNINSTALLER}WELCOMEFINISHPAGE_INI}" "ioSpecial.ini" ; File "/oname=$PLUGINSDIR\installed.bmp" "installed.bmp";"${MUI_${UNINSTALLER}WELCOMEFINISHPAGE_BITMAP}" !insertmacro MUI_INSTALLOPTIONS_WRITE "deskbar.ini" "Field 2" "Text" "$PLUGINSDIR\installed.bmp" FunctionEnd Function .onInstSuccess RegDll "$OutDir\deskbar.dll" FunctionEnd Function CustomPage !insertmacro MUI_HEADER_TEXT "$(TEXT_IO_TITLE)" "$(TEXT_IO_SUBTITLE)" !insertmacro MUI_INSTALLOPTIONS_DISPLAY "deskbar.ini" FunctionEnd !macro SECTION_BEGIN Section "" Call zip2exe.SetOutPath !macroend !macro SECTION_END SectionEnd !macroend ================================================== So yeah i really need help on adding other programe so when they install the deskbar it will popup a new install for another programe like softphone anyhelp greatly wanted XD |
| All times are GMT. The time now is 05:32. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.