Automatically generate the DLL dependencies of the MSYS2 UQM build for installation and uninstallation

This commit is contained in:
Michael Martin
2020-06-07 20:49:46 -07:00
parent 422b10ac4f
commit d795e55fc4
3 changed files with 41 additions and 14 deletions
+4 -12
View File
@@ -238,22 +238,12 @@ SectionGroup "!UQM" SECGRP01
SetOverwrite try
File "AUTHORS.txt"
File "COPYING.txt"
File "libpng12-0.dll"
File "Manual.txt"
File "ogg.dll"
File "OpenAL32.dll"
File "wrap_oal.dll"
File "README.txt"
File "README-SDL.txt"
File "SDL.dll"
File "SDL_image.dll"
File "SDL_gfx.dll"
File "uqm.exe"
File "keyjam.exe"
File "vorbis.dll"
File "vorbisfile.dll"
File "WhatsNew.txt"
File "zlib1.dll"
!include "dlls.nsi"
SetOutPath $UQMUSERDATA
SetOverwrite try
File "uqm-pc.cfg"
@@ -522,6 +512,8 @@ Section Uninstall
Delete "$INSTDIR\AUTHORS.txt"
Delete "$INSTDIR\stderr.txt"
!include "undlls.nsi"
Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk"
Delete "$SMPROGRAMS\$ICONS_GROUP\Options Configuration.lnk"
Delete "$SMPROGRAMS\$ICONS_GROUP\Key Configuration.lnk"