diff --git a/installer/amxmodx-installer.nsi b/installer/amxmodx-installer.nsi index de6e00f0..36355771 100755 --- a/installer/amxmodx-installer.nsi +++ b/installer/amxmodx-installer.nsi @@ -1,8 +1,8 @@ ;(C)2004 AMX Mod X Development Team ; Licensed under the GNU General Public License -; Written by -=HaXoMaTiC=- +; Originally written by -=HaXoMaTiC=- !define PRODUCT_NAME "AMX Mod X Installer" -!define PRODUCT_VERSION "1.75" +!define PRODUCT_VERSION "1.76" !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" @@ -10,8 +10,6 @@ !define PRODUCT_UNINST_ROOT_KEY "HKLM" !define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir" -SetCompressor lzma - !include "MUI.nsh" ; MUI Settings @@ -192,6 +190,7 @@ Section "MainSection" SEC01 File "installer\files\base\plugins\adminslots.amxx" File "installer\files\base\plugins\adminvote.amxx" File "installer\files\base\plugins\admin_sql.amxx" + File "installer\files\base\plugins\amxmod_compat.amxx" File "installer\files\base\plugins\antiflood.amxx" File "installer\files\base\plugins\cmdmenu.amxx" File "installer\files\base\plugins\imessage.amxx" @@ -229,7 +228,6 @@ Section "MainSection" SEC01 SetOutPath "$INSTDIR\files\base\scripting\include" File "installer\files\base\scripting\include\amxconst.inc" File "installer\files\base\scripting\include\amxmisc.inc" - File "installer\files\base\scripting\include\amxmod.inc" File "installer\files\base\scripting\include\amxmodx.inc" File "installer\files\base\scripting\include\core.inc" File "installer\files\base\scripting\include\csstats.inc" @@ -276,9 +274,17 @@ Section "MainSection" SEC01 File "installer\files\base\scripting\include\tsx.inc" File "installer\files\base\scripting\include\vault.inc" File "installer\files\base\scripting\include\vector.inc" - File "installer\files\base\scripting\include\Vexd_Utilities.inc" File "installer\files\base\scripting\include\xs.inc" - File "installer\files\base\scripting\include\xtrafun.inc" + SetOutPath "$INSTDIR\files\base\scripting\include\amxmod_compat" + File "installer\files\base\scripting\include\amxmod_compat\amxmod.inc" + File "installer\files\base\scripting\include\amxmod_compat\maths.inc" + File "installer\files\base\scripting\include\amxmod_compat\mysql.inc" + File "installer\files\base\scripting\include\amxmod_compat\translator.inc" + File "installer\files\base\scripting\include\amxmod_compat\Vexd_Utilities.inc" + File "installer\files\base\scripting\include\amxmod_compat\VexdUM.inc" + File "installer\files\base\scripting\include\amxmod_compat\VexdUM_const.inc" + File "installer\files\base\scripting\include\amxmod_compat\VexdUM_stock.inc" + File "installer\files\base\scripting\include\amxmod_compat\xtrafun.inc" SetOutPath "$INSTDIR\files\base\scripting" File "installer\files\base\scripting\mapchooser.sma" File "installer\files\base\scripting\mapsmenu.sma" @@ -291,6 +297,24 @@ Section "MainSection" SEC01 File "installer\files\base\scripting\statscfg.sma" File "installer\files\base\scripting\telemenu.sma" File "installer\files\base\scripting\timeleft.sma" + SetOutPath "$INSTDIR\files\base\scripting\amxmod_compat" + File "installer\files\base\scripting\amxmod_compat\amxmod_compat.sma" + File "installer\files\base\scripting\amxmod_compat\core.sma" + File "installer\files\base\scripting\amxmod_compat\mysql.sma" + File "installer\files\base\scripting\amxmod_compat\vexdum.sma" + SetOutPath "$INSTDIR\files\base\scripting\testsuite" + File "installer\files\base\scripting\testsuite\callfunc_test.sma" + File "installer\files\base\scripting\testsuite\fakemeta_tests.sma" + File "installer\files\base\scripting\testsuite\fmttest.sma" + File "installer\files\base\scripting\testsuite\fwdtest1.sma" + File "installer\files\base\scripting\testsuite\fwdtest2.sma" + File "installer\files\base\scripting\testsuite\logtest.sma" + File "installer\files\base\scripting\testsuite\menutest.sma" + File "installer\files\base\scripting\testsuite\nvault_test.sma" + File "installer\files\base\scripting\testsuite\sorttest.sma" + File "installer\files\base\scripting\testsuite\sqlxtest.sma" + File "installer\files\base\scripting\testsuite\sqlxtest.sq3" + File "installer\files\base\scripting\testsuite\sqlxtest.sql" SetOutPath "$INSTDIR\files\cstrike\configs" File "installer\files\cstrike\configs\amxx.cfg" File "installer\files\cstrike\configs\cmds.ini" @@ -587,6 +611,15 @@ Section Uninstall Delete "$INSTDIR\files\base\scripting\menufront.sma" Delete "$INSTDIR\files\base\scripting\mapsmenu.sma" Delete "$INSTDIR\files\base\scripting\mapchooser.sma" + Delete "$INSTDIR\files\base\scripting\include\amxmod_compat\amxmod.inc" + Delete "$INSTDIR\files\base\scripting\include\amxmod_compat\maths.inc" + Delete "$INSTDIR\files\base\scripting\include\amxmod_compat\mysql.inc" + Delete "$INSTDIR\files\base\scripting\include\amxmod_compat\translator.inc" + Delete "$INSTDIR\files\base\scripting\include\amxmod_compat\Vexd_Utilities.inc" + Delete "$INSTDIR\files\base\scripting\include\amxmod_compat\VexdUM.inc" + Delete "$INSTDIR\files\base\scripting\include\amxmod_compat\VexdUM_const.inc" + Delete "$INSTDIR\files\base\scripting\include\amxmod_compat\VexdUM_stock.inc" + Delete "$INSTDIR\files\base\scripting\include\amxmod_compat\xtrafun.inc" Delete "$INSTDIR\files\base\scripting\include\xtrafun.inc" Delete "$INSTDIR\files\base\scripting\include\xs.inc" Delete "$INSTDIR\files\base\scripting\include\Vexd_Utilities.inc" @@ -658,6 +691,22 @@ Section Uninstall Delete "$INSTDIR\files\base\scripting\admincmd.sma" Delete "$INSTDIR\files\base\scripting\adminchat.sma" Delete "$INSTDIR\files\base\scripting\admin.sma" + Delete "$INSTDIR\files\base\scripting\amxmod_compat\amxmod_compat.sma" + Delete "$INSTDIR\files\base\scripting\amxmod_compat\core.sma" + Delete "$INSTDIR\files\base\scripting\amxmod_compat\mysql.sma" + Delete "$INSTDIR\files\base\scripting\amxmod_compat\vexdum.sma" + Delete "$INSTDIR\files\base\scripting\testsuite\callfunc_test.sma" + Delete "$INSTDIR\files\base\scripting\testsuite\fakemeta_tests.sma" + Delete "$INSTDIR\files\base\scripting\testsuite\fmttest.sma" + Delete "$INSTDIR\files\base\scripting\testsuite\fwdtest1.sma" + Delete "$INSTDIR\files\base\scripting\testsuite\fwdtest2.sma" + Delete "$INSTDIR\files\base\scripting\testsuite\logtest.sma" + Delete "$INSTDIR\files\base\scripting\testsuite\menutest.sma" + Delete "$INSTDIR\files\base\scripting\testsuite\nvault_test.sma" + Delete "$INSTDIR\files\base\scripting\testsuite\sorttest.sma" + Delete "$INSTDIR\files\base\scripting\testsuite\sqlxtest.sma" + Delete "$INSTDIR\files\base\scripting\testsuite\sqlxtest.sq3" + Delete "$INSTDIR\files\base\scripting\testsuite\sqlxtest.sql" Delete "$INSTDIR\files\base\plugins\timeleft.amxx" Delete "$INSTDIR\files\base\plugins\telemenu.amxx" Delete "$INSTDIR\files\base\plugins\statscfg.amxx" @@ -825,7 +874,9 @@ Section Uninstall RMDir "$INSTDIR\files\cstrike\modules" RMDir "$INSTDIR\files\cstrike\data" RMDir "$INSTDIR\files\cstrike\configs" + RMDir "$INSTDIR\files\base\scripting\include\amxmod_compat" RMDir "$INSTDIR\files\base\scripting\include" + RMDir "$INSTDIR\files\base\scripting\amxmod_compat" RMDir "$INSTDIR\files\base\scripting" RMDir "$INSTDIR\files\base\plugins" RMDir "$INSTDIR\files\base\modules"