lessmsi | A tool to view and extract the contents of an Windows | DevOps library
kandi X-RAY | lessmsi Summary
kandi X-RAY | lessmsi Summary
This is a utility with a graphical user interface and a command line interface that can be used to view and extract the contents of an MSI file.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of lessmsi
lessmsi Key Features
lessmsi Examples and Code Snippets
Community Discussions
Trending Discussions on lessmsi
QUESTION
MSI database contains set of tables, and I can successfully enumerate File
table, which has all deployable file' meta-deta. What I need to extract is the actual contents of those files. msiexec, lessmsi, 7-zip all can do it, but I couldn't find any source/API to do it.
What I've discovered it that all other (resource) files are in Binary
table, and Data field can be used to get content of those files (like icons, custom DLL etc).
Further, I found and know that Media
table contains information about the .CAB file (MSI has all content embedded with . This simply means the CAB file contains the actual content. I probably need to read contents from "Structured Storage" of the .msi file.
How to extract the contents of CAB/MSI file, using native C Msi* functions?
...ANSWER
Answered 2018-Feb-21 at 18:23The most straightforward to extract all the files to some location is to install the product in "advertised" mode. If you do a:
msiexec /a [path to msi] TARGETDIR=[some folder]
you'll see what happens.
In C++ call MsiInstallProduct () with that command line.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install lessmsi
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page