sumo does not detect out dated Ghostscript software
sumo does not detect out dated Ghostscript software
Hello,
sumo (version 5.8.7.409 and earlier versions) does not detect out
dated Ghostscript, a Postscript interpreter found at URL
https://www.ghostscript.com/
Depending on System (32 or 64 bit) and Software version (like 9.23) the
Installer for Ghostscript installs to different directories. In my
latest case this was: c:/Program Files (x86)/gs/gs9.23/bin/
But according to Ghostscript home page the newest version is 9.26 at
November 2018. But sumo does not detect my out dated version. That is
annoying! Because i use sumo to detect out dated programs, which have
probably bugs or security issues. So i want to rely on warnings and
recommendations produced by sumo.
I try to convince sumo to look for Ghostscript executable by adding the
directory with the binaries ( that was in latest case "c:\Program Files
(x86)\gs\gs9.23\bin" in configuration Windows (Ctr-S key press). But
this trial gives no success. Sumo still does not report in log file
(Ctrl-L) that the 2 executables "gswin32c.exe" and "gswin32.exe" are out
dated. I also tried deep scan option.
When i inspect the executables, i see that the programs contain in file
header a time stamp like 5AB22785h ( that is 21/03/2018 10:36:05), but no
product version number. After explicit adding "gswin32.exe" i get in log
file a german error message like:
Removing C:\Program Files (x86)\gs\gs9.23\bin\gswin32.exe
(Cause : Leer / Ungültige Version (gswin32 / / ))
So apparently sumo use product version inside file header to detect out
dated versions. But in ghostscript executables this field is empty and
so different version are not compared and no update recommendation is
given.
The best solution in my opinion would be to change the program code of
sumo software to add an addition code branch, that handles empty product
version. And in case of emptiness try to use time stamp field as hint
for updates.
Or if this is not possible at least give the "normal" user a pop
warning, that sumo could not handle software foobar because product
version field is missing.
I hope that such cases like ghostscript are handled by sumo program in
the future.
Thanks.
sumo (version 5.8.7.409 and earlier versions) does not detect out
dated Ghostscript, a Postscript interpreter found at URL
https://www.ghostscript.com/
Depending on System (32 or 64 bit) and Software version (like 9.23) the
Installer for Ghostscript installs to different directories. In my
latest case this was: c:/Program Files (x86)/gs/gs9.23/bin/
But according to Ghostscript home page the newest version is 9.26 at
November 2018. But sumo does not detect my out dated version. That is
annoying! Because i use sumo to detect out dated programs, which have
probably bugs or security issues. So i want to rely on warnings and
recommendations produced by sumo.
I try to convince sumo to look for Ghostscript executable by adding the
directory with the binaries ( that was in latest case "c:\Program Files
(x86)\gs\gs9.23\bin" in configuration Windows (Ctr-S key press). But
this trial gives no success. Sumo still does not report in log file
(Ctrl-L) that the 2 executables "gswin32c.exe" and "gswin32.exe" are out
dated. I also tried deep scan option.
When i inspect the executables, i see that the programs contain in file
header a time stamp like 5AB22785h ( that is 21/03/2018 10:36:05), but no
product version number. After explicit adding "gswin32.exe" i get in log
file a german error message like:
Removing C:\Program Files (x86)\gs\gs9.23\bin\gswin32.exe
(Cause : Leer / Ungültige Version (gswin32 / / ))
So apparently sumo use product version inside file header to detect out
dated versions. But in ghostscript executables this field is empty and
so different version are not compared and no update recommendation is
given.
The best solution in my opinion would be to change the program code of
sumo software to add an addition code branch, that handles empty product
version. And in case of emptiness try to use time stamp field as hint
for updates.
Or if this is not possible at least give the "normal" user a pop
warning, that sumo could not handle software foobar because product
version field is missing.
I hope that such cases like ghostscript are handled by sumo program in
the future.
Thanks.
-
- Site Admin
- Posts: 1438
- Joined: Sun Jul 03, 2011 8:13 pm
Re: sumo does not detect out dated Ghostscript software
SUMo relies on main executable version info to determine version number. We also have exception when we use secondary files (.dll) or registry entries as workaround for major products with empty exe version info.
Please contact me and send me your SUMo logs in debug mode and i'll see how to handle GhostScript properly. You can also open a feature request here : https://www.kcsoftwares.com/bugs/
Please contact me and send me your SUMo logs in debug mode and i'll see how to handle GhostScript properly. You can also open a feature request here : https://www.kcsoftwares.com/bugs/
Re: sumo does not detect out dated Ghostscript software
Sorry, i do not know how to contact you, Kyle_Katarn and attach a file.
In the mean time i have updated ghostscript from version 9.23 to 9.26.
But the described problem still exist.
After explicitly adding file gswin32.exe i get with debug option and
german interface a report file SUMo.log starting with lines:
Further more here is the directorty listing produced by "dir" command:
In the mean time i have updated ghostscript from version 9.23 to 9.26.
But the described problem still exist.
After explicitly adding file gswin32.exe i get with debug option and
german interface a report file SUMo.log starting with lines:
Code: Select all
Info [18-12-09 19:02:20] Loading finished : 705 / 705 items loaded
Info [18-12-09 19:02:20] Creating database backup
Info [18-12-09 19:02:20] Loading... Done.
Info [18-12-09 19:02:20] Removing useless skipped items... Done.
Info [18-12-09 19:02:20] Removing useless skipped items...
Info [18-12-09 19:02:20] Filtering duplicate items... Done.
Info [18-12-09 19:02:17] Filtering duplicate items
Info [18-12-09 19:02:17] Removing unnecessary files... Done.
Verbose [18-12-09 19:02:17] Removing C:\Program Files (x86)\gs\gs9.26\bin\gswin32.exe (Cause : Leer / Ungültige Version (gswin32 / / ))
Info [18-12-09 19:02:17] Removing unnecessary files
Verbose [18-12-09 19:02:17] Loading time : 6703ms
Verbose [18-12-09 19:02:17] Loading 706/706 : C:\Program Files (x86)\gs\gs9.26\bin\gswin32.exe
Code: Select all
Verzeichnis von c:\Program Files (x86)\gs\gs9.26\bin
08.12.2018 03:10 <DIR> .
08.12.2018 03:10 <DIR> ..
20.11.2018 12:33 16 969 728 gsdll32.dll
20.11.2018 12:33 8 474 gsdll32.lib
20.11.2018 12:33 151 552 gswin32.exe
20.11.2018 12:33 143 360 gswin32c.exe
4 Datei(en), 17 273 114 Bytes
2 Verzeichnis(se), 51 414 155 264 Bytes frei
-
- Site Admin
- Posts: 1438
- Joined: Sun Jul 03, 2011 8:13 pm
Re: sumo does not detect out dated Ghostscript software
Yes, this is because main exe does NOT have the needed version information.
What about gsdll32.dll ?
What about gsdll32.dll ?
Re: sumo does not detect out dated Ghostscript software
Also library gsdll32.dll does not contain version stamp.
Re: sumo does not detect out dated Ghostscript software
The library gsdll32.dll also has no version stamp.
-
- Site Admin
- Posts: 1438
- Joined: Sun Jul 03, 2011 8:13 pm
Re: sumo does not detect out dated Ghostscript software
The software creates uninstall registry keys inside branch:
Code: Select all
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\GPL Ghostscript 9.26]
"DisplayName"="GPL Ghostscript"
"UninstallString"="\"C:\\Program Files (x86)\\gs\\gs9.26\\uninstgs.exe\""
"Publisher"="Artifex Software Inc."
"HelpLink"="http://www.ghostscript.com/"
"URLInfoAbout"="http://www.ghostscript.com/"
"DisplayVersion"="9.26"
"NoModify"=dword:00000001
"NoRepair"=dword:00000001
-
- Site Admin
- Posts: 1438
- Joined: Sun Jul 03, 2011 8:13 pm
Re: sumo does not detect out dated Ghostscript software
Thanks. Feature request logged here : https://www.kcsoftwares.com/bugs/view.php?id=5395
-
- Site Admin
- Posts: 1438
- Joined: Sun Jul 03, 2011 8:13 pm
Re: sumo does not detect out dated Ghostscript software
See https://www.kcsoftwares.com/bugs/view.php?id=5395 : item fixed in next release of SUMo !