Skip to content

Commit c24d753

Browse files
committed
nsis: fix the lib installer
1 parent e47568e commit c24d753

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

wxServDisc.nsi

+6-9
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ OutFile "wxServDisc_${VERSION}-setup.exe"
77
InstallDir $PROGRAMFILES\wxServDisc
88

99
Page license
10-
LicenseData COPYING.TXT
10+
LicenseData COPYING
1111

1212
Page directory
1313

@@ -19,14 +19,14 @@ Section ""
1919

2020
# dll not built by now
2121
# File src\wxServDisc\wxServDisc.dll
22-
File src\wxServDisc\libwxServDisc.a
23-
File README.TXT
22+
File build\src\Release\wxServDisc.lib
23+
File README.md
2424

2525
writeUninstaller $INSTDIR\wxServDisc-uninstall.exe
2626

2727
# now the shortcuts
2828
CreateDirectory "$SMPROGRAMS\wxServDisc"
29-
createShortCut "$SMPROGRAMS\wxServDisc\Readme.lnk" "$INSTDIR\README.TXT"
29+
createShortCut "$SMPROGRAMS\wxServDisc\Readme.lnk" "$INSTDIR\README.md"
3030
createShortCut "$SMPROGRAMS\wxServDisc\Uninstall wxServDisc.lnk" "$INSTDIR\wxServDisc-uninstall.exe"
3131

3232
SectionEnd
@@ -37,15 +37,12 @@ section "Uninstall"
3737
delete $INSTDIR\wxServDisc-uninstall.exe
3838

3939
# now delete installed files
40-
delete $INSTDIR\wxServDisc.dll
41-
delete $INSTDIR\wxServDisc.a
42-
delete $INSTDIR\NEWS.TXT
43-
delete $INSTDIR\README.TXT
40+
delete $INSTDIR\wxServDisc.lib
41+
delete $INSTDIR\README.md
4442
RMDir $INSTDIR
4543

4644
# delete shortcuts
4745
delete "$SMPROGRAMS\wxServDisc\Readme.lnk"
48-
delete "$SMPROGRAMS\wxServDisc\News.lnk"
4946
delete "$SMPROGRAMS\wxServDisc\Uninstall wxServDisc.lnk"
5047
RMDir "$SMPROGRAMS\wxServDisc"
5148

0 commit comments

Comments
 (0)