The variable %ProgramData% doesn' work on my computer (Windows XP SP3) unless I define this manually as a system variable. I guess that this is not what you want users need to do to make this winapp.ini (embedded) entry work
[Avast! Antivirus 5] ID=2161 LangSecRef=3024 Detect=HKCU\Software\ALWIL Software\Avast\5.0 Default=True FileKey1=%ProgramData%\Alwil Software\Avast5\report|avast.xsl;avast.xsl;Resident protection.txt;Simple user interface.txt;Simple user interface*.xml FileKey2=%ProgramData%\Alwil Software\Avast5\log|*.*
See this thread http://forum.pirifor...showtopic=34454
Additionally, this path
FileKey1=%ProgramData%\Avast Software\Avast\log|*.*
in the [Avast! Antivirus 6] entry doesn't exist on my computer, although the respective Detect key is being detected