; ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ; ³²²²²²±° LegacyGamers GunZ Installer °±²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²³ ; ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ; ³²²²²²±° Copyright to NullSoft + XxXGoD + LegacyGamers °±²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²² ; ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ; ################## - Start Installer - ##################### ; **************************** General Informatin **************************** ;-------------------------------------------------- Includes -------------------------------------------------- !include "XPUI.nsh" ;----------------------------------------------- Includes End ----------------------------------------------- ;------------------------------------------------- File Info ------------------------------------------------- Name "LegacyGamers GunZ" OutFile "LegacyGamers GunZ.exe" ;----------------------------------------------- File Info End ----------------------------------------------- ;------------------------------------------- Default Directory ------------------------------------------- InstallDir "$PROGRAMFILES\LegacyGamers\GunZ Online" ;---------------------------------------- Default Directory End ---------------------------------------- ;----------------------------------- Instal Directory From Registry ----------------------------------- ; This is the bit im confused on.... InstallDirRegKey HKCU "Software\LegacyGamers GunZ" "" ;-------------------------------- Instal Directory From Registry End -------------------------------- ;------------------------------------------- Interface Settings ------------------------------------------- !define XPUI_ABORTWARNING ;---------------------------------------- Interface Settings End ---------------------------------------- ;--------------------------------------------------- Pages --------------------------------------------------- ${Page} Welcome ${LicensePage} "C:\Documents and Settings\Ryan\Desktop\INS_C\lic.rtf" ${Page} Components ${Page} Directory ${Page} InstFiles ${Page} Finish ${UnPage} Welcome !insertmacro XPUI_PAGEMODE_UNINST !insertmacro XPUI_PAGE_UNINSTCONFIRM_NSIS !insertmacro XPUI_PAGE_INSTFILES ;------------------------------------------------- Pages End ------------------------------------------------- ;------------------------------------------------- Language ------------------------------------------------- !insertmacro XPUI_LANGUAGE "English" ;---------------------------------------------- Language End ---------------------------------------------- ;--------------------------------------------- Splash Screen --------------------------------------------- Function .onInit InitPluginsDir File /oname=$PLUGINSDIR\splash.bmp "C:\Program Files\lgscreen.BMP" advsplash::show 2000 800 600 -1 $PLUGINSDIR\splash Pop $0 FunctionEnd ;------------------------------------------ Splash Screen End ------------------------------------------ ; ************************** General Informatin End ************************** ; ************************** Installation Section ************************** ;----------------------------------- LegacyGamers GunZ Client ----------------------------------- Section "LegacyGamers Gunz Client" LGGunZ SectionIn RO SetOutPath "$INSTDIR" ;--------------------------------------- Registary + Shortcuts --------------------------------------- WriteRegStr HKCU "Software\LegacyGamers GunZ" "" $INSTDIR WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\LegacyGamers GunZ" "DisplayName" "LegacyGamers GunZ" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\LegacyGamers GunZ" "UninstallString" "$INSTDIR\uninstall.exe" CreateDirectory "$SMPROGRAMS\LegacyGamers" CreateShortCut "$SMPROGRAMS\LegacyGamers\LegacyGamers GunZ.lnk" "$INSTDIR\LegacyGamers GunZ Launcher.exe" CreateShortCut "$SMPROGRAMS\LegacyGamers\LegacyGamers GunZ (Non Updating).lnk" "$INSTDIR\LegacyGamers GunZ Launcher.exe" CreateShortCut "$SMPROGRAMS\LegacyGamers\Uninstall LegacyGamers GunZ.lnk" "$INSTDIR\Uninstall.exe" CreateShortCut "$DESKTOP\LegacyGamers GunZ.lnk" "$INSTDIR\LegacyGamers GunZ Launcher.exe" ;------------------------------------ Registary + Shortcuts End ------------------------------------ SetOutPath "$INSTDIR" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\config.xml" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\dbghelp.dll" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\fmod.dll" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\gdiplus.dll" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\gui.dll" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Gunz.exe" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\lastchar.dat" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\LegacyGamers GunZ Launcher.exe" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\LegacyGamers.exe" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\mlog.txt" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\model.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\sfx.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\system.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\test.txt" SetOutPath "$INSTDIR\XTrap" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\XTrap\psapi.dll" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\XTrap\XData0614.Log" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\XTrap\XData0621.Log" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\XTrap\XData0622.Log" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\XTrap\XData0623.Log" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\XTrap\XDataFI0.Xtp" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\XTrap\XTrap.xt" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\XTrap\XTrapApi.dll" SetOutPath "$INSTDIR\Sound" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Sound\bgm.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Sound\effect.mrs" SetOutPath "$INSTDIR\Shader" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Shader\skin.vso" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Shader\skin1.vso" SetOutPath "$INSTDIR\Quest" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\LG.FolderOpen" SetOutPath "$INSTDIR\Quest\Maps" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Dungeon_cavern1.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Dungeon_cavern2.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Dungeon_cavern3.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Dungeon_nest1.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Dungeon_nest2.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Dungeon_nest3.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Dungeon_passage1.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Dungeon_passage2.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Dungeon_passage3.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Mansion_Hall1.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Mansion_Hall2.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Mansion_Hall3.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Mansion_passage1.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Mansion_passage2.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Mansion_passage3.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Mansion_room1.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Mansion_room2.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Mansion_room3.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Prison_drainage1.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Prison_drainage2.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Prison_drainage3.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Prison_hall1.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Prison_hall2.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Prison_passage1.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Prison_passage2.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Prison_passage3.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Prison_prison.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Quest\Maps\Prison_shower_room.mrs" SetOutPath "$INSTDIR\Model" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Model\man.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Model\woman.mrs" SetOutPath "$INSTDIR\Model\NPC" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Model\NPC\goblin.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Model\NPC\golem.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Model\NPC\kobolt.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Model\NPC\Palmpoa.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Model\NPC\Skeleton.mrs" SetOutPath "$INSTDIR\Maps" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Attack And Defence 2.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Attack And Defence.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Battle Arena.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Castle.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Catacomb.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Colossus.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Drain.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Dungeon II.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Dungeon.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\factory.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Garden.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Hall.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Island.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\jail.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Lost Chruch.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Lost Shrine.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\mansion.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\MatrixMansion.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\MidnightMaze.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Nest.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\pirate docks.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\port.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\prison II.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\prison.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Ruin.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Shower Room.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Snow arena.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Snow Temple.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Snow_Lodge.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Snow_Town.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Stairway.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\station.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Maps\Town.mrs" SetOutPath "$INSTDIR\Interface" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Interface\default.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Interface\loadable.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Interface\Login.mrs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\Interface\MonsterIllust.mrs" SetOutPath "$INSTDIR\CUSTOM" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\CUSTOM\LG.FolderOpen" SetOutPath "$INSTDIR\CUSTOM\CROSSHAIR" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LegacyGamers_GunZ_Online\CUSTOM\CROSSHAIR\LG.FolderOpen" SectionEnd ;--------------------------------- LegacyGamers GunZ Client End --------------------------------- ;----------------------------------- LegacyGamers mIRC ----------------------------------- Section "mIRC" LGmIRC SetOutPath "$INSTDIR\mIRC" ;--------------------------------------- Registary + Shortcuts --------------------------------------- WriteRegStr HKCU "Software\LGmIRC" "" $INSTDIR CreateDirectory "$SMPROGRAMS\LegacyGamers\mIRC" CreateShortCut "$SMPROGRAMS\LegacyGamers\mIRC\LegacyGamers mIRC.lnk" "$INSTDIR\mIRC\mirc.exe" CreateShortCut "$DESKTOP\LegacyGamers mIRC.lnk" "$INSTDIR\mIRC\mirc.exe" ;------------------------------------ Registary + Shortcuts End ------------------------------------ File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\aliases.ini" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\ircintro.hlp" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\mirc.exe" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\mirc.hlp" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\mirc.ini" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\perform.ini" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\popups.ini" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\readme.txt" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\servers.ini" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\urls.ini" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\versions.txt" SetOutPath "$INSTDIR\mIRC\sounds" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\sounds\LG.FolderOpen" SetOutPath "$INSTDIR\mIRC\logs" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\logs\LG.FolderOpen" SetOutPath "$INSTDIR\mIRC\download" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\download\LG.FolderOpen" SetOutPath "$INSTDIR\mIRC\channels" File "C:\Documents and Settings\Ryan\Desktop\LG Installer Stuff\LG mIRC\channels\LG.FolderOpen" SectionEnd ;------------------------------------ LegacyGamers mIRC End ------------------------------------ ;------------------------------------ Component Discriptions ------------------------------------ LangString DESC_LGGunZ ${LANG_ENGLISH} "Install's LegacyGamers GunZ Client, with 4.5 Patch" LangString DESC_LGmIRC ${LANG_ENGLISH} "Install's mIRC, so you can connect and talk to us on our IRC server." !insertmacro XPUI_FUNCTION_DESCRIPTION_BEGIN !insertmacro XPUI_DESCRIPTION_TEXT ${LGGunZ} $(DESC_LGGunZ) !insertmacro XPUI_DESCRIPTION_TEXT ${LGmIRC} $(DESC_LGmIRC) !insertmacro XPUI_FUNCTION_DESCRIPTION_END ;---------------------------------- Component Discriptions End ---------------------------------- ; ************************ Installation Section End ************************ ; ************************** Uninstall Section ************************** ;--------------------------------------- Create Uninstaller --------------------------------------- Section SetOutPath "$INSTDIR" WriteUninstaller "$INSTDIR\Uninstall.exe" SectionEnd ;----------------------------------- Create Uninstaller End ----------------------------------- ;----------------------------------------- Uninstal Files ----------------------------------------- Section "Uninstall" Delete "$INSTDIR\config.xml" Delete "$INSTDIR\dbghelp.dll" Delete "$INSTDIR\fmod.dll" Delete "$INSTDIR\gdiplus.dll" Delete "$INSTDIR\gui.dll" Delete "$INSTDIR\Gunz.exe" Delete "$INSTDIR\lastchar.dat" Delete "$INSTDIR\LegacyGamers GunZ Launcher.exe" Delete "$INSTDIR\LegacyGamers.exe" Delete "$INSTDIR\mlog.txt" Delete "$INSTDIR\model.mrs" Delete "$INSTDIR\sfx.mrs" Delete "$INSTDIR\system.mrs" Delete "$INSTDIR\test.txt" Delete "$INSTDIR\XTrap\psapi.dll" Delete "$INSTDIR\XTrap\XData0614.Log" Delete "$INSTDIR\XTrap\XData0621.Log" Delete "$INSTDIR\XTrap\XData0622.Log" Delete "$INSTDIR\XTrap\XData0623.Log" Delete "$INSTDIR\XTrap\XDataFI0.Xtp" Delete "$INSTDIR\XTrap\XTrap.xt" Delete "$INSTDIR\XTrap\XTrapApi.dll" Delete "$INSTDIR\Sound\bgm.mrs" Delete "$INSTDIR\Sound\effect.mrs" Delete "$INSTDIR\Shader\skin.vso" Delete "$INSTDIR\Shader\skin1.vso" Delete "$INSTDIR\Quest\LG.FolderOpen" Delete "$INSTDIR\Quest\Maps\Dungeon_cavern1.mrs" Delete "$INSTDIR\Quest\Maps\Dungeon_cavern2.mrs" Delete "$INSTDIR\Quest\Maps\Dungeon_cavern3.mrs" Delete "$INSTDIR\Quest\Maps\Dungeon_nest1.mrs" Delete "$INSTDIR\Quest\Maps\Dungeon_nest2.mrs" Delete "$INSTDIR\Quest\Maps\Dungeon_nest3.mrs" Delete "$INSTDIR\Quest\Maps\Dungeon_passage1.mrs" Delete "$INSTDIR\Quest\Maps\Dungeon_passage2.mrs" Delete "$INSTDIR\Quest\Maps\Dungeon_passage3.mrs" Delete "$INSTDIR\Quest\Maps\Mansion_Hall1.mrs" Delete "$INSTDIR\Quest\Maps\Mansion_Hall2.mrs" Delete "$INSTDIR\Quest\Maps\Mansion_Hall3.mrs" Delete "$INSTDIR\Quest\Maps\Mansion_passage1.mrs" Delete "$INSTDIR\Quest\Maps\Mansion_passage2.mrs" Delete "$INSTDIR\Quest\Maps\Mansion_passage3.mrs" Delete "$INSTDIR\Quest\Maps\Mansion_room1.mrs" Delete "$INSTDIR\Quest\Maps\Mansion_room2.mrs" Delete "$INSTDIR\Quest\Maps\Mansion_room3.mrs" Delete "$INSTDIR\Quest\Maps\Prison_drainage1.mrs" Delete "$INSTDIR\Quest\Maps\Prison_drainage2.mrs" Delete "$INSTDIR\Quest\Maps\Prison_drainage3.mrs" Delete "$INSTDIR\Quest\Maps\Prison_hall1.mrs" Delete "$INSTDIR\Quest\Maps\Prison_hall2.mrs" Delete "$INSTDIR\Quest\Maps\Prison_passage1.mrs" Delete "$INSTDIR\Quest\Maps\Prison_passage2.mrs" Delete "$INSTDIR\Quest\Maps\Prison_passage3.mrs" Delete "$INSTDIR\Quest\Maps\Prison_prison.mrs" Delete "$INSTDIR\Quest\Maps\Prison_shower_room.mrs" Delete "$INSTDIR\Model\man.mrs" Delete "$INSTDIR\Model\woman.mrs" Delete "$INSTDIR\Model\NPC\goblin.mrs" Delete "$INSTDIR\Model\NPC\golem.mrs" Delete "$INSTDIR\Model\NPC\kobolt.mrs" Delete "$INSTDIR\Model\NPC\Palmpoa.mrs" Delete "$INSTDIR\Model\NPC\Skeleton.mrs" Delete "$INSTDIR\Maps\Attack And Defence 2.mrs" Delete "$INSTDIR\Maps\Attack And Defence.mrs" Delete "$INSTDIR\Maps\Battle Arena.mrs" Delete "$INSTDIR\Maps\Castle.mrs" Delete "$INSTDIR\Maps\Catacomb.mrs" Delete "$INSTDIR\Maps\Colossus.mrs" Delete "$INSTDIR\Maps\Drain.mrs" Delete "$INSTDIR\Maps\Dungeon II.mrs" Delete "$INSTDIR\Maps\Dungeon.mrs" Delete "$INSTDIR\Maps\factory.mrs" Delete "$INSTDIR\Maps\Garden.mrs" Delete "$INSTDIR\Maps\Hall.mrs" Delete "$INSTDIR\Maps\Island.mrs" Delete "$INSTDIR\Maps\jail.mrs" Delete "$INSTDIR\Maps\Lost Chruch.mrs" Delete "$INSTDIR\Maps\Lost Shrine.mrs" Delete "$INSTDIR\Maps\mansion.mrs" Delete "$INSTDIR\Maps\MatrixMansion.mrs" Delete "$INSTDIR\Maps\MidnightMaze.mrs" Delete "$INSTDIR\Maps\Nest.mrs" Delete "$INSTDIR\Maps\pirate docks.mrs" Delete "$INSTDIR\Maps\port.mrs" Delete "$INSTDIR\Maps\prison II.mrs" Delete "$INSTDIR\Maps\prison.mrs" Delete "$INSTDIR\Maps\Ruin.mrs" Delete "$INSTDIR\Maps\Shower Room.mrs" Delete "$INSTDIR\Maps\Snow arena.mrs" Delete "$INSTDIR\Maps\Snow Temple.mrs" Delete "$INSTDIR\Maps\Snow_Lodge.mrs" Delete "$INSTDIR\Maps\Snow_Town.mrs" Delete "$INSTDIR\Maps\Stairway.mrs" Delete "$INSTDIR\Maps\station.mrs" Delete "$INSTDIR\Maps\Town.mrs" Delete "$INSTDIR\Interface\default.mrs" Delete "$INSTDIR\Interface\loadable.mrs" Delete "$INSTDIR\Interface\Login.mrs" Delete "$INSTDIR\Interface\MonsterIllust.mrs" Delete "$INSTDIR\CUSTOM\LG.FolderOpen" Delete "$INSTDIR\CUSTOM\CROSSHAIR\LG.FolderOpen" Delete "$INSTDIR\ReportError\LG.FolderOpen" Delete "$INSTDIR\mIRC\aliases.ini" Delete "$INSTDIR\mIRC\ircintro.hlp" Delete "$INSTDIR\mIRC\mirc.exe" Delete "$INSTDIR\mIRC\mirc.hlp" Delete "$INSTDIR\mIRC\mirc.ini" Delete "$INSTDIR\mIRC\perform.ini" Delete "$INSTDIR\mIRC\popups.ini" Delete "$INSTDIR\mIRC\readme.txt" Delete "$INSTDIR\mIRC\servers.ini" Delete "$INSTDIR\mIRC\urls.ini" Delete "$INSTDIR\mIRC\versions.txt" Delete "$INSTDIR\mIRC\sounds\LG.FolderOpen" Delete "$INSTDIR\mIRC\logs\LG.FolderOpen" Delete "$INSTDIR\mIRC\download\LG.FolderOpen" Delete "$INSTDIR\mIRC\channels\LG.FolderOpen" Delete "$INSTDIR\mIRC\channels\*.*" Delete "$INSTDIR\mIRC\logs\*.*" ;---------------------------------------- Uninstal Files End ----------------------------------------- ;---------------------------------- Remove Instal Directorys ----------------------------------- RMDir "$INSTDIR\channels" RMDir "$INSTDIR\download" RMDir "$INSTDIR\logs" RMDir "$INSTDIR\sounds" RMDir "$INSTDIR\mIRC" RMDir "$INSTDIR\mIRC\*.*" RMDir "$INSTDIR\CUSTOM\CROSSHAIR" RMDir "$INSTDIR\CUSTOM" RMDir "$INSTDIR\Interface" RMDir "$INSTDIR\Maps" RMDir "$INSTDIR\Model\NPC" RMDir "$INSTDIR\Model" RMDir "$INSTDIR\Quest\Maps" RMDir "$INSTDIR\Quest" RMDir "$INSTDIR\Shader" RMDir "$INSTDIR\Sound" RMDir "$INSTDIR\XTrap" RMDir "$INSTDIR\ReportError" ;---------------------------------- Remove Instal Directorys ----------------------------------- ;---------------------------------- Component Discriptions End ---------------------------------- ;----------------------------------- Delete/Remove Shortcuts ----------------------------------- Delete "$SMPROGRAMS\LegacyGamers\mIRC" Delete "$SMPROGRAMS\LegacyGamers\mIRC\*.*" Delete "$SMPROGRAMS\LegacyGamers\mIRC\LegacyGamers mIRC.lnk" RmDir "$SMPROGRAMS\LegacyGamers\mIRC" RmDir "$SMPROGRAMS\LegacyGamers\mIRC\LegacyGamers mIRC.lnk" RmDir "$SMPROGRAMS\LegacyGamers\mIRC\*.*" Delete "$DESKTOP\LegacyGamers mIRC.lnk" Delete "$SMPROGRAMS\LegacyGamers" Delete "$SMPROGRAMS\LegacyGamers\*.*" Delete "$SMPROGRAMS\LegacyGamers\LegacyGamers GunZ.lnk" Delete "$SMPROGRAMS\LegacyGamers\LegacyGamers GunZ (Non Updating).lnk" RmDir "$SMPROGRAMS\LegacyGamers" RmDir "$SMPROGRAMS\LegacyGamers\LegacyGamers GunZ.lnk" RmDir "$SMPROGRAMS\LegacyGamers\*.*" RmDir "$SMPROGRAMS\LegacyGamers GunZ (Non Updating).lnk" Delete "$DESKTOP\LegacyGamers GunZ.lnk" ;---------------------------------- Delete/Remove Shortcuts End ------------------------------- ;---------------------------------------- Delete Uninstaller ---------------------------------------- Delete "$INSTDIR\Uninstall.exe" Delete "$INSTDIR\uninstall.exe" ;------------------------------------- Delete Uninstaller End -------------------------------------- ;----------------------------------------- Delete Registry ------------------------------------------ DeleteRegKey /ifempty HKCU "Software\LegacyGamers GunZ" DeleteRegKey /ifempty HKCU "Software\LGmIRC" DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\LegacyGamers GunZ" ;-------------------------------------- Delete Registry End --------------------------------------- SectionEnd ; ************************** Uninstall Section ************************** ; ################ - End Installer - ###################