activescott / lessmsi

A tool to view and extract the contents of an Windows Installer (.msi) file.
https://lessmsi.activescott.com
MIT License
1.29k stars 150 forks source link

Flat Extraction Feature #196

Closed mega5800 closed 2 months ago

mega5800 commented 2 months ago

:+1::tada: First off, thanks for taking the time to contribute! :tada::+1:

Please fill out the following checklist:

If you need any help at all, feel free to submit the PR and @-mention activescott and I'll be happy to assist!

Hello @activescott

I took care of this ticket.

I added new CLI commands "xfo" and "xfr". "xfo" allows the user to flat extract MSI files while overwriting files with the same name. "xfr" allows the user to flat extract MSI files while renaming files with the same name using the suffix "_" with a count.

As discussed, I experienced a few issues with creating test files for this new behaviour. So I am sending this PR as you suggested.

Please let me know if you have any questions.

Thank you.