Archive: finde install dir


finde install dir
i am making an installer for a c&c zero hour mod. i want to know how to automaticly make the installer find the right directory.


Is it stored in the registry? Else you could search for the folder using:
http://nsis.sourceforge.net/archive/...b.php?page=324
or http://nsis.sourceforge.net/archive/...b.php?page=320

-Stu


it is stored in the registery but how use that? (i am not really good at it yet)


here is a screenshot of where it is located:

http://www.action-zone.co.nr/1.gif


InstallDirRegKey HKLM "Electronic Arts\EA Games\Command and Conquer Generals Zero Hour" "InstallPath"


dousnt seem to work so maybe i am putting it in the wrong place? so where put it.


already fixed it, it wasnt

InstallDirRegKey HKLM "Electronic Arts\EA Games\Command and Conquer Generals Zero Hour" "InstallPath"
but

InstallDirRegKey HKLM "SOFTWARE\Electronic Arts\EA Games\Command and Conquer Generals Zero Hour" "InstallPath"