--- a/Win32OperatingSystem.st Wed Mar 06 16:08:23 2019 +0100
+++ b/Win32OperatingSystem.st Wed Mar 06 16:39:17 2019 +0100
@@ -6189,13 +6189,13 @@
getFileInfos:infoKeys fromFile:filename
"Retrieve version information from filename and return a dictionary with values for keys in infoKeys.
- Returns nil, if fileInfo cannot be extracted."
+ Returns an empty Dictionary, if fileInfo cannot be extracted."
|bytes vfi lang codePage stringFileInfoBase|
bytes := self getFileVersionInfoOf:(filename asFilename osName).
bytes isEmptyOrNil ifTrue:[
- ^ nil
+ ^ Dictionary new.
].
self extractVersionValue:'\' from:bytes.
@@ -6216,7 +6216,7 @@
"
"Created: / 23-04-2018 / 10:29:33 / Maren"
- "Modified (comment): / 06-03-2019 / 15:47:56 / Stefan Vogel"
+ "Modified (comment): / 06-03-2019 / 16:34:54 / Stefan Vogel"
!
getFileVersionInfoOf:aPathName