X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=make-win32-installer.sh.in;h=2f251c2b81036076dc9a8cf3d40c79f1ad9d8a9c;hp=b5c4d9a13e676476f2652400eed53b4dd0f5d68a;hb=a31d65a998121df0651c57bfb68782e2a07d2e2f;hpb=33842c860fe18ca8cf087905992885687434320c diff --git a/make-win32-installer.sh.in b/make-win32-installer.sh.in index b5c4d9a..2f251c2 100644 --- a/make-win32-installer.sh.in +++ b/make-win32-installer.sh.in @@ -21,7 +21,7 @@ OUT_FILE=${1:-yoinksetup-@VERSION@.exe} # DLL dependencies DLLS="SDL SDL_image zlib1 libpng12-0 OpenAL32 libalut-0 libvorbis-0 libogg-0" -DLLS="$DLLS libvorbisfile-3" +DLLS="$DLLS libvorbisfile-3 lua51" # Prepare ${STRIP:-strip} "$ROOT_DIR/src/yoink.exe" @@ -88,8 +88,8 @@ RequestExecutionLevel highest ;; Modern UI Configuration ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -!define MUI_ICON "$ROOT_DIR/src/yoink.ico" -!define MUI_UNICON "$ROOT_DIR/src/yoink.ico" +!define MUI_ICON "$ROOT_DIR/src/setup.ico" +!define MUI_UNICON "$ROOT_DIR/src/uninstall.ico" ; Language !define MUI_LANGDLL_ALWAYSSHOW !define MUI_LANGDLL_REGISTRY_ROOT "HKCU" @@ -263,6 +263,9 @@ Section "$SEC_INSTALL" SecInstallYoink File "$ROOT_DIR/src/yoink.exe" ; data File /r /x Makefile* /x *.desktop "$ROOT_DIR/data" + ; documentation + File "$ROOT_DIR/AUTHORS" "$ROOT_DIR/ChangeLog" "$ROOT_DIR/COPYING" + File "$ROOT_DIR/README" "$ROOT_DIR/TODO" ; uninstall WriteUninstaller "uninstall.exe" EOF @@ -324,15 +327,6 @@ SetOverwrite on CreateShortCut "\$DESKTOP\\Yoink.lnk" "\$INSTDIR\\yoink.exe" \ "" "\$INSTDIR\\yoink.exe" 0 SetOverwrite off -SectionEnd - - ; Yoink shortcut in start menu -Section "$SEC_SHORTCUT2" SecStartMenuShortcut -SetOverwrite on -!insertmacro CreateDirectoryOnce "\$SMPROGRAMS\\Yoink" -CreateShortCut "\$SMPROGRAMS\\Yoink\\Play Yoink!.lnk" \ - "\$INSTDIR\\yoink.exe" "" "\$INSTDIR\\yoink.exe" 0 -SetOverwrite off SectionEnd ; Yoink uninstall shortcut in start menu @@ -346,6 +340,15 @@ SetOverwrite on CreateShortCut "\$SMPROGRAMS\\Yoink\\Uninstall.lnk" \ "\$INSTDIR\\uninstall.exe" "" "\$INSTDIR\\uninstall.exe" 0 SetOverwrite off +SectionEnd + + ; Yoink shortcut in start menu +Section "$SEC_SHORTCUT2" SecStartMenuShortcut +SetOverwrite on +!insertmacro CreateDirectoryOnce "\$SMPROGRAMS\\Yoink" +CreateShortCut "\$SMPROGRAMS\\Yoink\\Play Yoink!.lnk" \ + "\$INSTDIR\\yoink.exe" "" "\$INSTDIR\\yoink.exe" 0 +SetOverwrite off SectionEnd SectionGroupEnd