Skip to content

Commit

Permalink
update installer config.
Browse files Browse the repository at this point in the history
initial win32 was not quite complete since my last OS update changed some of the
assumptions from mingw
  • Loading branch information
karlheyes committed Sep 11, 2014
1 parent a2a68b4 commit f1ce51a
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions win32/icecast.nsis
Expand Up @@ -13,7 +13,7 @@
# installer containing your program.

Name "Icecast KH"
OutFile "icecast-2.3.3-kh11_setup.exe"
OutFile "icecast-2.3.3-kh11.1_setup.exe"

InstallDir "$ProgramFiles\Icecast KH"
InstallDirRegKey HKLM SOFTWARE\Icecast "Install_Dir"
Expand Down Expand Up @@ -48,6 +48,7 @@ Section "Icecast Installation"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libogg-0.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libspeex-1.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libvorbis-0.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libtheora-0.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libxslt-1.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libxml2-2.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libcurl-4.dll"
Expand All @@ -59,6 +60,7 @@ Section "Icecast Installation"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/iconv.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libssh2-1.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libidn-11.dll"
File "/usr/i686-w64-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll"

File "/usr/i686-w64-mingw32/sys-root/mingw/bin/icecast.exe"
File "/usr/i686-w64-mingw32/sys-root/mingw/etc/icecast.xml"
Expand Down Expand Up @@ -113,10 +115,23 @@ Section "Uninstall"
Delete /rebootok "$INSTDIR\icecast.xml"
Delete /rebootok "$INSTDIR\icecast.exe"

Delete /rebootok "$INSTDIR\pthreadgc2.dll"
Delete /rebootok "$INSTDIR\mingwm10.dll"
Delete /rebootok "$INSTDIR\libvorbis-0.dll"
Delete /rebootok "$INSTDIR\libogg-0.dll"
Delete /rebootok "$INSTDIR\libspeex-1.dll"
Delete /rebootok "$INSTDIR\libtheora-0.dll"
Delete /rebootok "$INSTDIR\libxslt-1.dll"
Delete /rebootok "$INSTDIR\libxml2-2.dll"
Delete /rebootok "$INSTDIR\libcurl-4.dll"
Delete /rebootok "$INSTDIR\libssl-10.dll"
Delete /rebootok "$INSTDIR\libwinpthread-1.dll"
Delete /rebootok "$INSTDIR\libintl-8.dll"
Delete /rebootok "$INSTDIR\libcrypto-10.dll"
Delete /rebootok "$INSTDIR\zlib1.dll"
Delete /rebootok "$INSTDIR\iconv.dll"
Delete /rebootok "$INSTDIR\libssh2-1.dll"
Delete /rebootok "$INSTDIR\libidn-11.dll"
Delete /rebootok "$INSTDIR\libgcc_s_sjlj-1.dll"

RMDir "$INSTDIR"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Icecast KH"
SectionEnd
Expand Down

0 comments on commit f1ce51a

Please sign in to comment.