Jump to content


New Way to detect install folder.


  • You cannot reply to this topic
No replies to this topic

#1 OFFLINE   eagle00789

    Advanced Member

  • Members
  • PipPipPip
  • 107 posts
  • Gender:Male
  • Location:Heerlen, Netherlands

Posted 22 July 2007 - 08:36 PM

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=3024
Detect=HKLM\SOFTWARE\ArenaNet\Guild Wars
InstallFolder=HKLM\SOFTWARE\ArenaNet\Guild Wars|Path
Default=True
FileKey1=%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)