mirror of
https://github.com/UberGames/ioef.git
synced 2025-02-17 17:31:08 +00:00
remove trailing whitespace
This commit is contained in:
parent
1312060d55
commit
51978317d8
1 changed files with 13 additions and 13 deletions
|
@ -18,7 +18,7 @@ OutFile "ioquake3-XXXVERSIONXXX-XXXRELEASEXXX.x86.exe"
|
||||||
; The default installation directory
|
; The default installation directory
|
||||||
InstallDir $PROGRAMFILES\ioquake3
|
InstallDir $PROGRAMFILES\ioquake3
|
||||||
|
|
||||||
; Registry key to check for directory (so if you install again, it will
|
; Registry key to check for directory (so if you install again, it will
|
||||||
; overwrite the old one automatically)
|
; overwrite the old one automatically)
|
||||||
InstallDirRegKey HKLM "Software\ioquake3" "Install_Dir"
|
InstallDirRegKey HKLM "Software\ioquake3" "Install_Dir"
|
||||||
|
|
||||||
|
@ -37,10 +37,10 @@ InstallDirRegKey HKLM "Software\ioquake3" "Install_Dir"
|
||||||
|
|
||||||
!insertmacro MUI_UNPAGE_CONFIRM
|
!insertmacro MUI_UNPAGE_CONFIRM
|
||||||
!insertmacro MUI_UNPAGE_INSTFILES
|
!insertmacro MUI_UNPAGE_INSTFILES
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
;Languages
|
;Languages
|
||||||
|
|
||||||
!insertmacro MUI_LANGUAGE "English"
|
!insertmacro MUI_LANGUAGE "English"
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
|
@ -49,10 +49,10 @@ InstallDirRegKey HKLM "Software\ioquake3" "Install_Dir"
|
||||||
Section "ioquake3 (required)"
|
Section "ioquake3 (required)"
|
||||||
|
|
||||||
SectionIn RO
|
SectionIn RO
|
||||||
|
|
||||||
; Set output path to the installation directory.
|
; Set output path to the installation directory.
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
|
|
||||||
; Put file there
|
; Put file there
|
||||||
File "../../build/release-mingw32-x86/ioq3ded.x86.exe"
|
File "../../build/release-mingw32-x86/ioq3ded.x86.exe"
|
||||||
File "../../build/release-mingw32-x86/ioquake3.x86.exe"
|
File "../../build/release-mingw32-x86/ioquake3.x86.exe"
|
||||||
|
@ -69,17 +69,17 @@ Section "ioquake3 (required)"
|
||||||
File "../../build/release-mingw32-x86/missionpack/cgamex86.dll"
|
File "../../build/release-mingw32-x86/missionpack/cgamex86.dll"
|
||||||
File "../../build/release-mingw32-x86/missionpack/qagamex86.dll"
|
File "../../build/release-mingw32-x86/missionpack/qagamex86.dll"
|
||||||
File "../../build/release-mingw32-x86/missionpack/uix86.dll"
|
File "../../build/release-mingw32-x86/missionpack/uix86.dll"
|
||||||
|
|
||||||
; Write the installation path into the registry
|
; Write the installation path into the registry
|
||||||
WriteRegStr HKLM SOFTWARE\ioquake3 "Install_Dir" "$INSTDIR"
|
WriteRegStr HKLM SOFTWARE\ioquake3 "Install_Dir" "$INSTDIR"
|
||||||
|
|
||||||
; Write the uninstall keys for Windows
|
; Write the uninstall keys for Windows
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "DisplayName" "ioquake3"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "DisplayName" "ioquake3"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
||||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "NoModify" 1
|
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "NoModify" 1
|
||||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "NoRepair" 1
|
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3" "NoRepair" 1
|
||||||
WriteUninstaller "uninstall.exe"
|
WriteUninstaller "uninstall.exe"
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
; Optional section (can be disabled by the user)
|
; Optional section (can be disabled by the user)
|
||||||
|
@ -88,13 +88,13 @@ Section "Start Menu Shortcuts"
|
||||||
CreateDirectory "$SMPROGRAMS\ioquake3"
|
CreateDirectory "$SMPROGRAMS\ioquake3"
|
||||||
CreateShortCut "$SMPROGRAMS\ioquake3\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
|
CreateShortCut "$SMPROGRAMS\ioquake3\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
|
||||||
CreateShortCut "$SMPROGRAMS\ioquake3\ioquake3.lnk" "$INSTDIR\ioquake3.x86.exe" "" "$INSTDIR\ioquake3.x86.exe" 0
|
CreateShortCut "$SMPROGRAMS\ioquake3\ioquake3.lnk" "$INSTDIR\ioquake3.x86.exe" "" "$INSTDIR\ioquake3.x86.exe" 0
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "SDL.dll"
|
Section "SDL.dll"
|
||||||
|
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
|
|
||||||
File "SDL.dll"
|
File "SDL.dll"
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
@ -102,7 +102,7 @@ SectionEnd
|
||||||
Section "libcurl"
|
Section "libcurl"
|
||||||
|
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
|
|
||||||
File "libcurl-4.dll"
|
File "libcurl-4.dll"
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
@ -110,7 +110,7 @@ SectionEnd
|
||||||
Section "OpenAL-Soft library"
|
Section "OpenAL-Soft library"
|
||||||
|
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
|
|
||||||
File "openal32.dll"
|
File "openal32.dll"
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
@ -120,7 +120,7 @@ SectionEnd
|
||||||
; Uninstaller
|
; Uninstaller
|
||||||
|
|
||||||
Section "Uninstall"
|
Section "Uninstall"
|
||||||
|
|
||||||
; Remove registry keys
|
; Remove registry keys
|
||||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3"
|
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ioquake3"
|
||||||
DeleteRegKey HKLM SOFTWARE\ioquake3
|
DeleteRegKey HKLM SOFTWARE\ioquake3
|
||||||
|
|
Loading…
Reference in a new issue