; Script generated with the Venis Install Wizard ; Define your application name !define APPNAME "test" !define APPNAMEANDVERSION "test 1.0" ; Main Install settings Name "${APPNAMEANDVERSION}" InstallDir $PROGRAMFILES\${APPNAME} OutFile ${APPNAME}.exe ShowInstDetails show AutoCloseWindow false ; Modern interface settings !include "MUI.nsh" !define MUI_ABORTWARNING !insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_LICENSE "hi.txt" !insertmacro MUI_PAGE_COMPONENTS !insertmacro MUI_PAGE_DIRECTORY !insertmacro MUI_PAGE_INSTFILES !define MUI_FINISHPAGE_LINK "Visit my website for the latest news." !define MUI_FINISHPAGE_LINK_LOCATION "http://www.test.net/test.html" !define MUI_FINISHPAGE_RUN $INSTDIR\test.exe !define MUI_FINISHPAGE_NOAUTOCLOSE !insertmacro MUI_PAGE_FINISH ; Set languages (first is default language) !insertmacro MUI_LANGUAGE "English" !insertmacro MUI_RESERVEFILE_LANGDLL Section "test" Section1 ; Set Section properties SetOverwrite on ; Set Section Files and Shortcuts SetOutPath $INSTDIR DetailPrint "Files should be here...." SectionEnd Section "test font" Section2 ; Set Section properties SetOverwrite on ; Set Section Files and Shortcuts SetOutPath "$WINDIR\Fonts" DetailPrint "The font should be here" SectionEnd ; Modern install component descriptions !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN !insertmacro MUI_DESCRIPTION_TEXT ${Section1} "test" !insertmacro MUI_DESCRIPTION_TEXT ${Section2} "Required font!" !insertmacro MUI_FUNCTION_DESCRIPTION_END BrandingText "me"