New Way to detect install folder.

Many people install programs in a different folder then the default %programfiles% folder. Many programs store the installation folder inside the registry. To be able to detect those things that are installed in a different folder, it would be nice if the winapp2.ini file could get an extra item like this:

[*GuildWars]LangSecRef=3024Detect=HKLM\SOFTWARE\ArenaNet\Guild WarsInstallFolder=HKLM\SOFTWARE\ArenaNet\Guild Wars|PathDefault=TrueFileKey1=%InstallFolder%|*.log

The variable %InstallFolder% will now contain only the path to the installation location of the program (in this case the game GuildWars).

This opens up many new ways to check if a program has left some garbage to remove.

I myself always install my large games on a different drive (and not in the default %programfiles% folder), so that when i have to reformat my pc, i can reinstall those games ontop of itself and it keeps all of my personal settings (and as for GuildWars, even ALL the updates wich now is around 1 GB worth of downloads, all packed into a single file)