Archive: Get Winamp dir


Get Winamp dir
I know a lot of people use this to get winamp installation directory:
HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp" "UninstallString"
I myself however have used this command:
InstallDirRegKey HKCU Software\Winamp ""
Now I wonder if something's wrong with my method, since I've been using it for beta-testing a program with more than 5 beta-testers, and there were no problems so far.


im not sure if HKCU\Software\Winamp is present in all configurations (try a lite install)


maybe you can post your entire script? you probably provide the directory with the InstallDir command instead of InstallDirRegkey.

InstallDirRegkey
If this attribute is present, it will override the InstallDir attribute if the registry key is valid, otherwise it will fall back to the InstallDir default.


HKLM"Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp""UninstallString"

Is present in old Winamp versions... mostly this is what I used from plugins to external applications...
Plus, is a secure way..

@ Anders:
Doesn't matter if this works with lite version, because the installer's being used for an AVS pack ;)

@ Yathosho:
Here you are...:)

@ Joel:
Unfortunately, I'm not able to check out older Winamp versions, because I didn't keep them on my harddrive. Anyway, thanks for the hint! Seems like I have no choice...


http://oldversion.com/program.php?n=winamp
http://www.winampheaven.net/


Thanks! :D I definitely have to check out Winamp 0.20 *lol*