@@ -18,6 +18,7 @@ RequestExecutionLevel admin
1818!insertmacro MUI_PAGE_WELCOME
1919!insertmacro MUI_PAGE_LICENSE " GPLv3.txt"
2020!insertmacro MUI_PAGE_COMPONENTS
21+ !insertmacro MUI_PAGE_DIRECTORY
2122!insertmacro MUI_PAGE_INSTFILES
2223!insertmacro MUI_PAGE_FINISH
2324
@@ -35,21 +36,21 @@ SetOutPath $INSTDIR
3536
3637!insertmacro CheckNetFramework 45
3738
39+
3840File Spedit.exe
3941File MahApps.Metro.dll
4042File ICSharpCode.AvalonEdit.dll
4143File System .Windows.Interactivity.dll
4244File Xceed.Wpf.AvalonDock.dll
4345File Xceed.Wpf.AvalonDock.Themes.Metro.dll
44- File Xceed.Wpf.AvalonDock.Themes.Aero.dll
45- File Xceed.Wpf.AvalonDock.Themes.VS2010.dll
46- File Xceed.Wpf.Toolkit.dll
4746File smxdasm.dll
4847File LysisForSpedit.dll
4948File QueryMaster.dll
5049File Ionic.BZip2 .dll
5150File SourcepawnCondenser.dll
52- File ControlzEx.dll
51+ File Renci.SshNet.dll
52+ File Newtonsoft.Json.dll
53+ File DiscordRPC.dll
5354
5455File lang_0_spedit.xml
5556File GPLv3.txt
@@ -72,8 +73,8 @@ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" "D
7273WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" " UninstallString" " $INSTDIR\uninstall.exe"
7374WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" " InstallLocation" " $INSTDIR"
7475WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" " DisplayIcon" " $INSTDIR\Spedit.exe"
75- WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" " Publisher" " Julien Kluge "
76- WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" " DisplayVersion" " 0.40.0-beta "
76+ WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" " Publisher" " Hexah "
77+ WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" " DisplayVersion" " 1.3.4.6 "
7778WriteRegDWORD HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" " NoModify" 1
7879WriteRegDWORD HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" " NoRepair" 1
7980
@@ -82,64 +83,68 @@ SectionEnd
8283
8384
8485
85-
8686Section " File Association (.sp)" prog02
8787SectionIn 1
8888${registerExtension} " $INSTDIR\Spedit.exe" " .sp" " Sourcepawn Script"
8989System::Call ' Shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i ${SHCNF_IDLIST}, i 0, i 0)'
9090SectionEnd
9191
9292
93-
94-
9593Section " File Association (.inc)" prog03
9694SectionIn 1
9795${registerExtension} " $INSTDIR\Spedit.exe" " .inc" " Sourcepawn Include-File"
9896System::Call ' Shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i ${SHCNF_IDLIST}, i 0, i 0)'
9997SectionEnd
10098
10199
102-
103100Section " File Association (.smx)" prog04
104101SectionIn 1
105102${registerExtension} " $INSTDIR\Spedit.exe" " .smx" " Sourcemod Plugin"
106103System::Call ' Shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i ${SHCNF_IDLIST}, i 0, i 0)'
107104SectionEnd
108105
109106
110-
111107Section " Desktop Shortcut" prog05
112108SectionIn 1
113109CreateShortCut " $DESKTOP\SPEdit.lnk" " $INSTDIR\Spedit.exe" " "
114110SectionEnd
115111
116-
112+ Section " Startmenu Shortcut" prog06
113+ SectionIn 1
114+ CreateShortCut " $SMPROGRAMS\SPEdit.lnk" " $INSTDIR\Spedit.exe" " "
115+ SectionEnd
117116
118117Section " Uninstall"
119118
120119Delete $INSTDIR \uninstall.exe
121120
121+
122+
122123Delete $INSTDIR \Spedit.exe
123124Delete $INSTDIR \MahApps.Metro.dll
124125Delete $INSTDIR \ICSharpCode.AvalonEdit.dll
125126Delete $INSTDIR \System .Windows.Interactivity.dll
126127Delete $INSTDIR \Xceed.Wpf.AvalonDock.dll
127128Delete $INSTDIR \Xceed.Wpf.AvalonDock.Themes.Metro.dll
128- Delete $INSTDIR \Xceed.Wpf.AvalonDock.Themes.Aero.dll
129- Delete $INSTDIR \Xceed.Wpf.AvalonDock.Themes.VS2010.dll
130- Delete $INSTDIR \Xceed.Wpf.Toolkit.dll
131129Delete $INSTDIR \smxdasm.dll
132130Delete $INSTDIR \LysisForSpedit.dll
133131Delete $INSTDIR \QueryMaster.dll
134132Delete $INSTDIR \Ionic.BZip2 .dll
135- Delete $INSTDIR \ControlzEx.dll
133+ Delete $INSTDIR \SourcepawnCondenser.dll
134+ Delete $INSTDIR \Renci.SshNet.dll
135+ Delete $INSTDIR \Newtonsoft.Json.dll
136+ Delete $INSTDIR \DiscordRPC.dll
137+
138+
136139Delete $INSTDIR \lang_0_spedit.xml
137140Delete $INSTDIR \GPLv3.txt
138141Delete $INSTDIR \*.dat
139142RMDir /r $INSTDIR \sourcepawn
140143RMDir $INSTDIR
141144
142145Delete " $DESKTOP\SPEdit.lnk"
146+ Delete " $SMPROGRAMS\SPEdit.lnk"
147+
143148
144149DeleteRegKey HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit"
145150
0 commit comments