Add video stuff.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2569
This commit is contained in:
parent
35107bd3a4
commit
74ae27f017
1 changed files with 25 additions and 14 deletions
|
@ -1,11 +1,11 @@
|
|||
!define VER_MAYOR 0
|
||||
!define VER_MINOR 63
|
||||
!define VER_MINOR 65
|
||||
|
||||
; The name of the installer
|
||||
Name "DOSBox ${VER_MAYOR}.${VER_MINOR} Installer"
|
||||
|
||||
; The file to write
|
||||
OutFile "Dosbox${VER_MAYOR}.${VER_MINOR}-win32-installer.exe"
|
||||
OutFile "DOSBox${VER_MAYOR}.${VER_MINOR}-win32-installer.exe"
|
||||
|
||||
; The default installation directory
|
||||
InstallDir "$PROGRAMFILES\DOSBox-${VER_MAYOR}.${VER_MINOR}"
|
||||
|
@ -23,6 +23,8 @@ Section "ThisNameIsIgnoredSoWhyBother?"
|
|||
SetOutPath $INSTDIR
|
||||
|
||||
; Put file there
|
||||
CreateDirectory "$INSTDIR\capture"
|
||||
CreateDirectory "$INSTDIR\zmbv"
|
||||
File /oname=README.txt README
|
||||
File /oname=COPYING.txt COPYING
|
||||
File /oname=THANKS.txt THANKS
|
||||
|
@ -33,18 +35,22 @@ Section "ThisNameIsIgnoredSoWhyBother?"
|
|||
File dosbox.conf
|
||||
File SDL.dll
|
||||
File SDL_net.dll
|
||||
File /oname=zmbv\zmbv.dll zmbv.dll
|
||||
File /oname=zmbv\zmbv.inf zmbv.inf
|
||||
File /oname=zmbv\README.txt README.video
|
||||
; File libpng12.dll
|
||||
File libogg-0.dll
|
||||
File libvorbis-0.dll
|
||||
File libvorbisfile-3.dll
|
||||
|
||||
CreateDirectory "$INSTDIR\capture"
|
||||
; File libogg-0.dll
|
||||
; File libvorbis-0.dll
|
||||
; File libvorbisfile-3.dll
|
||||
|
||||
CreateDirectory "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}"
|
||||
CreateDirectory "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}\Video"
|
||||
CreateShortCut "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
|
||||
CreateShortCut "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}\DOSBox.lnk" "$INSTDIR\DOSBox.exe" "-conf $\"$INSTDIR\dosbox.conf$\""
|
||||
CreateShortCut "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}\README.lnk" "$INSTDIR\README.txt"
|
||||
CreateShortCut "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}\DOSBox.conf.lnk" "notepad.exe" "$INSTDIR\dosbox.conf"
|
||||
|
||||
CreateShortCut "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}\Video\Video instructions.lnk" "$INSTDIR\zmbv\README.txt"
|
||||
CreateShortCut "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}\Video\Install movie codec.lnk" "rundll32" "syssetup,SetupInfObjectInstallAction DefaultInstall 128 $INSTDIR\zmbv\zmbv.inf"
|
||||
WriteUninstaller "uninstall.exe"
|
||||
|
||||
SectionEnd ; end the section
|
||||
|
@ -64,11 +70,13 @@ Section "Uninstall"
|
|||
Delete $INSTDIR\dosbox.conf
|
||||
Delete $INSTDIR\SDL.dll
|
||||
Delete $INSTDIR\SDL_net.dll
|
||||
; Delete $INSTDIR\libpng12.dll
|
||||
Delete $INSTDIR\libogg-0.dll
|
||||
Delete $INSTDIR\libvorbis-0.dll
|
||||
Delete $INSTDIR\libvorbisfile-3.dll
|
||||
|
||||
Delete $INSTDIR\zmbv\zmbv.dll
|
||||
Delete $INSTDIR\zmbv\zmbv.inf
|
||||
Delete $INSTDIR\zmbv\README.txt
|
||||
; Delete $INSTDIR\libpng12.dll
|
||||
; Delete $INSTDIR\libogg-0.dll
|
||||
; Delete $INSTDIR\libvorbis-0.dll
|
||||
; Delete $INSTDIR\libvorbisfile-3.dll
|
||||
;Files left by sdl taking over the console
|
||||
Delete $INSTDIR\stdout.txt
|
||||
Delete $INSTDIR\stderr.txt
|
||||
|
@ -81,10 +89,13 @@ Section "Uninstall"
|
|||
Delete "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}\README.lnk"
|
||||
Delete "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}\DOSBox.lnk"
|
||||
Delete "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}\DOSBox.conf.lnk"
|
||||
|
||||
Delete "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}\Video\Install movie codec.lnk"
|
||||
Delete "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}\Video\Video instructions.lnk"
|
||||
; remove directories used.
|
||||
RMDir "$INSTDIR\zmbv"
|
||||
RMDir "$INSTDIR\capture"
|
||||
RMDir "$INSTDIR"
|
||||
RMDir "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}\Video"
|
||||
RMDir "$SMPROGRAMS\DOSBox-${VER_MAYOR}.${VER_MINOR}"
|
||||
SectionEnd
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue