diff --git a/installer/amxmodx-installer.nsi b/installer/amxmodx-installer.nsi index 1362671c..e6ce40e1 100755 --- a/installer/amxmodx-installer.nsi +++ b/installer/amxmodx-installer.nsi @@ -2,7 +2,7 @@ ; Licensed under the GNU General Public License ; Written by -=HaXoMaTiC=- !define PRODUCT_NAME "AMX Mod X Installer" -!define PRODUCT_VERSION "1.60" +!define PRODUCT_VERSION "1.70" !define PRODUCT_PUBLISHER "AMX Mod X Dev Team" !define PRODUCT_WEB_SITE "http://www.amxmodx.org/" !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Installer.exe" @@ -67,6 +67,7 @@ Section "MainSection" SEC01 File "installer\files\amxxstudio\AMXX_Studio.exe" File "installer\files\amxxstudio\SciLexer.dll" SetOutPath "$INSTDIR\amxxstudio\config" + File "installer\files\amxxstudio\config\ACList.cfg" File "installer\files\amxxstudio\config\C++.csl" File "installer\files\amxxstudio\config\Cache.cfg" File "installer\files\amxxstudio\config\Editor.sci" @@ -91,6 +92,9 @@ Section "MainSection" SEC01 File "installer\files\amxxstudio\plugins\Hello_World CPP\Hello_World.ncb" File "installer\files\amxxstudio\plugins\Hello_World CPP\Hello_World.opt" File "installer\files\amxxstudio\plugins\Hello_World CPP\Hello_World.plg" + File "installer\files\amxxstudio\plugins\Hello_World CPP\Hello_World.sln" + File "installer\files\amxxstudio\plugins\Hello_World CPP\Hello_World.suo" + File "installer\files\amxxstudio\plugins\Hello_World CPP\Hello_World.vcproj" File "installer\files\amxxstudio\plugins\Hello_World CPP\sample.cpp" File "installer\files\amxxstudio\plugins\Hello_World CPP\sample.h" File "installer\files\amxxstudio\plugins\Hello_World CPP\studio_api.h" @@ -151,8 +155,6 @@ Section "MainSection" SEC01 File "installer\files\base\dlls\metamod.dll" File "installer\files\base\dlls\metamod_amd64.so" File "installer\files\base\dlls\metamod_i386.so" - SetOutPath "$INSTDIR\files\base\doc" - File "installer\files\base\doc\amxmodx-doc.chm" SetOutPath "$INSTDIR\files\base\modules" File "installer\files\base\modules\nvault_amxx.dll" File "installer\files\base\modules\nvault_amxx_amd64.so" @@ -361,7 +363,6 @@ Section "MainSection" SEC01 File "installer\files\ns\scripting\timeleft.sma" File "installer\files\ns\scripting\unstuck.sma" SetOutPath "$INSTDIR\files\esf\configs" - File "installer\files\esf\configs\modules.ini" File "installer\files\esf\configs\plugins.ini" SetOutPath "$INSTDIR\files\esf\scripting" FILE "installer\files\esf\scripting\EvolutionX.Core.sma" @@ -421,7 +422,7 @@ Section "MainSection" SEC01 CreateDirectory "$SMPROGRAMS\$ICONS_GROUP" CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\AMX Mod X.lnk" "$INSTDIR\Installer.exe" CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\AMXx Studio.lnk" "$INSTDIR\amxxstudio\AMXX_Studio.exe" - CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation.lnk" "$INSTDIR\files\base\doc\amxmodx-doc.chm" + CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation.lnk" "http://wiki.tcwonline.org/index.php/Category:Documentation_%28AMX_Mod_X%29" CreateShortCut "$DESKTOP\AMX Mod X Studio.lnk" "$INSTDIR\amxxstudio\AMXX_Studio.exe" !insertmacro MUI_STARTMENU_WRITE_END SectionEnd @@ -461,7 +462,6 @@ Section Uninstall Delete "$INSTDIR\${PRODUCT_NAME}.url" Delete "$INSTDIR\uninst.exe" Delete "$INSTDIR\gpl.txt" - Delete "$INSTDIR\files\esf\configs\modules.ini" Delete "$INSTDIR\files\esf\configs\plugins.ini" Delete "$INSTDIR\files\esf\scripting\EvolutionX.Core.sma" Delete "$INSTDIR\files\esf\plugins\EvolutionX.Core.amxx" @@ -689,7 +689,6 @@ Section Uninstall Delete "$INSTDIR\files\base\modules\engine_amxx_i386.so" Delete "$INSTDIR\files\base\modules\engine_amxx_amd64.so" Delete "$INSTDIR\files\base\modules\engine_amxx.dll" - Delete "$INSTDIR\files\base\doc\amxmodx-doc.chm" Delete "$INSTDIR\files\base\dlls\metamod_i386.so" Delete "$INSTDIR\files\base\dlls\metamod_amd64.so" Delete "$INSTDIR\files\base\dlls\metamod.dll" @@ -739,13 +738,14 @@ Section Uninstall Delete "$INSTDIR\files\base\configs\amxx.cfg" Delete "$INSTDIR\files\amxxstudio\AMXX_Studio.exe" Delete "$INSTDIR\files\amxxstudio\SciLexer.dll" + Delete "$INSTDIR\files\amxxstudio\config\ACList.cfg" Delete "$INSTDIR\files\amxxstudio\config\C++.csl" Delete "$INSTDIR\files\amxxstudio\config\Cache.cfg" Delete "$INSTDIR\files\amxxstudio\config\Editor.sci" Delete "$INSTDIR\files\amxxstudio\config\Notes.dat" Delete "$INSTDIR\files\amxxstudio\config\Other.csl" - Delete "$INSTDIR\files\amxxstudio\config\PAWN.csl" - Delete "$INSTDIR\files\amxxstudio\config\Plugins.cfg" + Delete "$INSTDIR\files\amxxstudio\config\Pawn.csl" + Delete "$INSTDIR\files\amxxstudio\config\plugins.cfg" Delete "$INSTDIR\files\amxxstudio\config\Settings.ini" Delete "$INSTDIR\files\amxxstudio\plugins\Functions and Events.htm" Delete "$INSTDIR\files\amxxstudio\plugins\Hello World - CPP.dll" @@ -755,6 +755,9 @@ Section Uninstall Delete "$INSTDIR\files\amxxstudio\plugins\Functions and Events-files\sheet002.htm" Delete "$INSTDIR\files\amxxstudio\plugins\Functions and Events-files\stylesheet.css" Delete "$INSTDIR\files\amxxstudio\plugins\Functions and Events-files\tabstrip.htm" + Delete "$INSTDIR\files\amxxstudio\plugins\Hello_World CPP\Hello_World.vcproj" + Delete "$INSTDIR\files\amxxstudio\plugins\Hello_World CPP\Hello_World.suo" + Delete "$INSTDIR\files\amxxstudio\plugins\Hello_World CPP\Hello_World.sln" Delete "$INSTDIR\files\amxxstudio\plugins\Hello_World CPP\Hello_World.dsp" Delete "$INSTDIR\files\amxxstudio\plugins\Hello_World CPP\Hello_World.dsw" Delete "$INSTDIR\files\amxxstudio\plugins\Hello_World CPP\Hello_World.ncb" @@ -808,7 +811,6 @@ Section Uninstall RMDir "$INSTDIR\files\base\scripting" RMDir "$INSTDIR\files\base\plugins" RMDir "$INSTDIR\files\base\modules" - RMDir "$INSTDIR\files\base\doc" RMDir "$INSTDIR\files\base\dlls" RMDir "$INSTDIR\files\base\data\lang" RMDir "$INSTDIR\files\base\data"