Hello, I'm unable to test a file size, using wpkg 1.1-M4 <check type='file' condition='exists' path='%ProgramFiles%\Mozilla Firefox\mozilla.cfg'/> <check type='file' condition='sizeequals' value='2017' path='%ProgramFiles%\Mozilla Firefox\mozilla.cfg'/> It gives me in the log file: The path 'C:\Program Files\Mozilla Firefox\mozilla.cfg' exists: the test was successful Finding size of C:\Program Files\Mozilla Firefox\mozilla.cfg| Unable to get file size for C:\Program Files\Mozilla Firefox\mozilla.cfg : 'path' is undefined Leaving getFileSize with size -1 The file 'C:\Program Files\Mozilla Firefox\mozilla.cfg' has size -1 - wanted 2017: the test fails Regards. -- Daniel Dehennin RAIP de l'Orne |