Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Locate an exe file and use path as installpath??? (http://forums.winamp.com/showthread.php?t=264919)

Debone 2nd February 2007 11:30

Locate an exe file and use path as installpath???
 
can anyone help me. im trying to make and installer for addons for wow and it needs to locate wow.exe and chose the path as the install path. but it need to locate wow.exe on any drive and any path

If it could detect the regdir instead it would be awsome to

HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\World of Warcraft "InstallPath"

Plz help

kichik 2nd February 2007 14:07

Use InstallDirRegKey.

Debone 2nd February 2007 15:05

like this
 
Quote:

Originally posted by kichik
Use InstallDirRegKey.
InstallDirRegKey HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\World of Warcraft "InstallPath"

???

kichik 2nd February 2007 15:08

Almost... HKEY_LOCAL_MACHINE goes in a separate parameter and the second parameter, containing the path (Software\Blizzard...) should be quoted because it contains spaces.

Debone 5th February 2007 08:53

Found it
 
InstallDirRegKey HKLM "SOFTWARE\Blizzard Entertainment\World of Warcraft" "InstallPath"

Thanks


All times are GMT. The time now is 05:10.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.