How to get the version of an MSI package in Linux

Ever tried to get the version of an MSI package on Linux ?

Exiftool doesn’t do that, unfortunately. I requested it in the forum, let’s see if somebody jumps on it. 🙂

Until then, try to use the system utility “file” and do some parsing on the bold red text.

#file google.msi:

Composite Document File V2 Document, Little Endian, Os: Windows, Version 6.1, Code page: 1252, Title: Installation Database, Subject: Google Chrome Installer, Author: Google, Inc., Keywords: Installer, Comments: 43.0.2357.81 Copyright 2011 Google Inc., Template: Intel;1033, Revision Number: {1855FDB9-68FE-42AF-B911-18F683542888}, Create Time/Date: Fri May 22 20:26:54 2015, Last Saved Time/Date: Fri May 22 20:26:54 2015, Number of Pages: 150, Number of Words: 2, Name of Creating Application: Windows Installer XML Toolset (3.8.1128.0), Security: 2′,

 

#file LibreOffice.msi

‘Composite Document File V2 Document, Little Endian, Os: Windows, Version 6.2, Code page: 0, Title: Installation database, Subject: LibreOffice 4.4, Author: The Document Foundation, Keywords: Install,MSI, Comments: LibreOffice, Name of Creating Application: Windows Installer, Security: 0, Template: Intel;1033, Last Saved By: Intel;1077, Revision Number: {A651A592-2F6C-4D66-AEA8-9BFE4B61BCB3}4.4.3.2;{A651A592-2F6C-4D66-AEA8-9BFE4B61BCB3}4.4.3.2;{4B17E523-5D91-4E69-BD96-7FD81CFA81BB}, Number of Pages: 200, Number of Characters: 32′,

 

#file FarManager.msi

‘Composite Document File V2 Document, Little Endian, Os: Windows, Version 5.0, Code page: 1252, Title: Installation Database, Subject: Far Manager 3 3.0.4242, Author: Eugene Roshal & Far Group, Keywords: Installer, Comments: This installer database contains the logic and data required to install Far Manager 3., Template: Intel;1033, Revision Number: {91F8EFF8-9661-45EC-A7DB-B02C38817006}, Create Time/Date: Sat Jan 17 14:48:48 2015, Last Saved Time/Date: Sat Jan 17 14:48:48 2015, Number of Pages: 200, Number of Words: 2, Name of Creating Application: Windows Installer XML (), Security: 2′

 


© Copyright 2015 Sorin Mustaca, All rights Reserved. Written For: Sorin Mustaca on Cybersecurity


Check www.endpoint-cybersecurity.com for seeing the consulting services we offer.

Visit www.itsecuritynews.info for latest security news in English
Besuchen Sie de.itsecuritynews.info für IT Sicherheits News auf Deutsch