; Script generated by the HM NIS Edit Script Wizard. ; HM NIS Edit Wizard helper defines !define PRODUCT_NAME "CoEN Cygwin Installer" !define PRODUCT_VERSION "1.0" !define PRODUCT_PUBLISHER "CoEN ehelp@engr.unr.edu" SetCompressor lzma ; MUI 1.67 compatible ------ !include "MUI.nsh" ; MUI Settings !define MUI_ABORTWARNING !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico" ; Welcome page !insertmacro MUI_PAGE_WELCOME ; Components page !insertmacro MUI_PAGE_COMPONENTS ; Instfiles page !insertmacro MUI_PAGE_INSTFILES ; Finish page !insertmacro MUI_PAGE_FINISH ; Language files !insertmacro MUI_LANGUAGE "English" ; Reserve files !insertmacro MUI_RESERVEFILE_INSTALLOPTIONS ; MUI end ------ Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" OutFile "setup-cygwin.exe" InstallDir "$PROGRAMFILES\coen-cygwin" ShowInstDetails show Section -SETTINGS SetOutPath "$INSTDIR" SetOverwrite ifnewer SectionEnd Section "Cygwin (CoEN Environment)" File "installers\setup-x86_64.exe" ExecWait '$INSTDIR\setup-x86_64.exe -s http://cygwin.mirror.constant.com --quiet-mode --packages openssh,curl,wget,rsync,scp*,gedit,g++,make,cmake,xlaunch,xinit,tmux,x11-fonts-*,xorg-docs,xorg-server,mingw64-x86_64-gcc,mingw64-x86_64-gcc-g++,gdb,vim,nano' SectionEnd