------NSIS Script------
;NSIS Script For Test

Function .onInit
  ;Displays a splash screen
  SetOutPath $TEMP
  File /oname=spltmp.bmp "C:\Documents and Settings\Shoshi\My Documents\nsis\test\nwnhak.bmp"
  advsplash::show 2000 600 400 -1 $TEMP\spltmp
  Delete $TEMP\spltmp.exe
  Delete $TEMP\spltmp.bmp
FunctionEnd
BrandingText "TEST"

;Title Of Your Application
Name "Test"
Icon "C:\Documents and Settings\Shoshi\My Documents\nsis\test\tree-psd-blueish_transparent.ico"

;Do A CRC Check
CRCCheck On

;Output File Name
OutFile "Test.exe"

;The Default Installation Directory
InstallDir "C:\NeverwinterNights\NWN\hak"

;The text to prompt the user to enter a directory
DirText "Please select the folder below"

Section "Install"
SetAutoClose False
  ;Install Files
  SetOutPath C:\NeverwinterNights\NWN\hak
  SetCompress Auto
  SetOverwrite IfNewer
  File "C:\Documents and Settings\Shoshi\My Documents\nsis\test\dla_canopyforest.hak"
SectionEnd

Section "Shortcuts"
  ;Add Shortcuts
SectionEnd




------Registry------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\BioWare\NWN\Neverwinter]
"LastInstalledVersion"=dword:00000002
"Location"="C:\\NeverwinterNights\\NWN"
"StartMenu"="C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Neverwinter Nights"
"GUID"="{7C503E58-B2BC-11D5-978A-0050BA84F5F7}"
"Version"="1.32"
"Flavour"="Retail"
"Language"=dword:00000000
"InstallType"=dword:00000002
"Latest Installed XP"=dword:00000001
"Latest Installed XP Name"="Neverwinter Nights: Shadows of Undrentide"

[HKEY_LOCAL_MACHINE\SOFTWARE\BioWare\NWN\Neverwinter\NWUpdate]
"Ping Timeout"="1000"
"Debug"="0"
"Internet Connect"="0"
"Window Position"="606,395"
"Window Size"="618,447"
"RebootMessageCount"=dword:00000002

[HKEY_LOCAL_MACHINE\SOFTWARE\BioWare\NWN\Neverwinter\NWUpdate\OptionalFiles]
"bio_newsletter_issue31.txt"="996918DE501D920E6CACFB9342DF695D"
"bio_newsletter_issue4.txt"="E9C52B7DCD0C4457374FB7B6297009D3"
"bio_newsletter_issue5.txt"="DAC2B8F062BD5079FA84671A32E2D3D9"

