; This software is provided 'as-is', without any express or implied warranty. ; In no event will the author be held liable for any damages arising from the use of this software. ;---------------------------------------------------- !include "Sections.nsh" Name "WoWRoster.net Add-On Installer" OutFile "WoWRosterDotNetInstaller.exe" ;Version Information VIProductVersion "0.0.01.20060829" VIAddVersionKey "LegalCopyright" "© 2005,2006" VIAddVersionKey "ProductName" "WoWRoster.Net Installer" VIAddVersionKey "FileDescription" "Installs the WoWRosterAddons" VIAddVersionKey "FileVersion" "0.01" ;Get install folder from registry- I opted not to let users have an option in this. InstallDirRegKey HKLM "SOFTWARE\Blizzard Entertainment\World of Warcraft" "InstallPath" ;Because they don't get to doublecheck it, we'll check it for them. Function .onVerifyInstDir ; Check for proper directory- IfFileExists $INSTDIR\WoW.exe Good Abort Good: FunctionEnd ;License Info.. because it's not MY software that I'm distributing... ;Commented out the below. To include the license text, just add a file called Lic.txt... *shrug* ;LicenseText "License Info:" ;LicenseData "Lic.txt" ; Pages ;Page license ;Uncomment if you included the Lic.txt (as per above). Page components Page instfiles ;Install page options: AutoCloseWindow false ShowInstDetails show Section "rpgo-CharacterProfiler - (1.61 - 20060828)" Delete "$INSTDIR\Interface\Addons\CharacterProfiler\*.*" RMDir /r "$INSTDIR\Interface\Addons\CharacterProfiler" CreateDirectory "$INSTDIR\Interface\Addons\CharacterProfiler" SetOutPath "$INSTDIR\Interface\Addons\CharacterProfiler" File /r "C:\Program Files\World of Warcraft\Interface\AddOns\CharacterProfiler\*.*" SectionEnd Section "PVPLog - (0.5.2 - 20060823)" Delete "$INSTDIR\Interface\Addons\PvPLog\*.*" RMDir /r "$INSTDIR\Interface\Addons\PvPLog" CreateDirectory "$INSTDIR\Interface\Addons\PvPLog" SetOutPath "$INSTDIR\Interface\Addons\PvPLog" File /r "C:\Program Files\World of Warcraft\Interface\AddOns\PvPLog\*.*" SectionEnd