Skip to content

Commit

Permalink
Update Windows installer script to include libbz2 (#19)
Browse files Browse the repository at this point in the history
Libzip apparently grew a new dependency.  Also fix a few old sonames in
the uninstaller section.

Signed-off-by: Scott Talbert <[email protected]>
  • Loading branch information
swt2c authored and jaymzh committed Mar 2, 2019
1 parent 994ede4 commit dc892f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions concordance/win/concordance.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Section "Concordance"
File "../../libconcord/.libs/libconcord-4.dll"
File "../.libs/concordance.exe"
File "$%MINGW_SYSROOT_DEVLIB%/libwinpthread-1.dll"
File "$%MINGW_SYSROOT_BIN%/libbz2-1.dll"

WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Concordance" "DisplayName" "Concordance"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Concordance" "UninstallString" "$\"$INSTDIR\Uninstall Concordance.exe$\""
Expand All @@ -71,13 +72,14 @@ Section "Uninstall"
RMDir "$SMPROGRAMS\Concordance"

Delete /rebootok "$INSTDIR\zlib1.dll"
Delete /rebootok "$INSTDIR\libzip-2.dll"
Delete /rebootok "$INSTDIR\libzip-5.dll"
Delete /rebootok "$INSTDIR\libstdc++-6.dll"
Delete /rebootok "$INSTDIR\libgcc_s_sjlj-1.dll"
Delete /rebootok "$INSTDIR\concordance.exe"
Delete /rebootok "$INSTDIR\libconcord-3.dll"
Delete /rebootok "$INSTDIR\libconcord-4.dll"
Delete /rebootok "$INSTDIR\libhidapi-0.dll"
Delete /rebootok "$INSTDIR\libwinpthread-1.dll"
Delete /rebootok "$INSTDIR\libbz2-1.dll"
Delete /rebootok "$INSTDIR\Uninstall Concordance.exe"
RMDir "$INSTDIR"

Expand Down

0 comments on commit dc892f4

Please sign in to comment.