I have an application written in Delphi 2006 that was working fine in Windows XP. I packed the application using Inno Setup, using Program Files as the default folder. A few
Here is another article, by Zarko Gajic, which shows how to get different system directories. Also have a look at this related question.