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.mustaca.com for the IT Consulting services I offer.
Visit www.itsecuritynews.info for latest security news in English
Besuchen Sie http://de.itsecuritynews.info für IT Sicherheits News auf Deutsch

About the Author

Sorin Mustaca

Sorin Mustaca, (ISC)2 CSSLP, CompTIA Security+ and Project+, is working since year 2000 in the IT Security industry and worked between 2003-2014 for Avira as Product Manager for the known products used by over 100 million users world-wide. Today he is an independent IT Security Consultant focusing on Cybersecurity, secure software development and security for IoT and Automotive. He is also running his personal blog Sorin Mustaca on Cybersecurity and is the author of the free eBook Improve your security .

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close