I have read a lot of threads and looked at different tutorials and faq's and I think I may have overly saturated my brain with this 😱... I am one of the people behind a NWN (Neverwinter Nights) PW (Persistant World) located here. For our PW to work, people need to download files called HAK's, HAK's are sorta like plugins for NSIS, in that they contain custom content, like textures, models, engine mods, etc... to extend the games functionality.
Anyway, a lot of users seem to have difficulty installing the haks in the right directory, by default it is located here
C:\NeverwinterNights\NWN\hakof course people may install into other directories and or drives, but the structure remains the same obviously. So I figured I'd try NSIS, since its free and very powerful, and in the future I could use it more as a utility to download HAK's, and check periodically for updates, but thats in the future LOL!
To get to the point, I'd like it to be able to read the NWN install from the registry and install to the hack directory, I made a simple installer that is set to the default location and you can browse to the right directory if its not a default install, but that makes it little more than the SFX setup we have now, I looked at examples and they seem more complex than what I need, or I am just not doing it right, the latter is probably true do to my lack of scripting prowess 🙁
I did not mean to write a page worth of words, But I rather be thorough, I am also enclosing registry information and my -very- basic script...
Thanks so much for your time,
Shoshanna