lessmsi icon indicating copy to clipboard operation
lessmsi copied to clipboard

Ability to specify full file path (not just file name) in command line

Open TheBudman opened this issue 4 years ago • 8 comments

In the Wiki for the command-line, there is a note:

Note: There is a known bug err "limitation" that you can only specify the name of the file (not the path). Therefore if there are multiple instances of the file inside the msi with the same name and you want to extract that file there is no way to specify which file to extract. If this is a problem for you report an issue and if I know it is important to someone I'll take the time to make that work.

I could use this capability, as our installers have dlls with the same name (in separate folders), for different languages, and I need the ability to extract all of them.

Thanks in advance.

TheBudman avatar Dec 11 '19 15:12 TheBudman

@TheBudman Thank you for leaving your feedback. I really appreciate it! I'll try to find some time to take a look at this over the holidays. Of course, we welcome pull requests from others, and I personally will go above and beyond to review and help others get pull requests merged in here.

activescott avatar Dec 12 '19 17:12 activescott

relevant docs: https://github.com/activescott/lessmsi/wiki/Command-Line#command-x---extract

activescott avatar Dec 12 '19 17:12 activescott

Hi Scott. We were able to modify the source to get this to work. We don’t have time to do a PR and all that entails. If you want, I could zip up the modified source and send it your way.

[cid:[email protected]]

Bud C. Curry Staff Engineer, Software Software Engineering

[email protected]mailto:[email protected]

7 Loveton Circle, Sparks, Maryland 21152-0999 US

bd.comhttp://www.bd.com

From: scott willeke [email protected] Sent: Thursday, December 12, 2019 12:40 PM To: activescott/lessmsi [email protected] Cc: Bud C. Curry [email protected]; Mention [email protected] Subject: Re: [activescott/lessmsi] Ability to specify full file path (not just file name) (#130)

@TheBudmanhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_TheBudman&d=DwMCaQ&c=wgu6hzw1MOrcVMSMqu8IcS59mhBvl1Fc7tKn_Em0PVg&r=Sk8VKAw0cg3vtYuSiRYIsso7IDdz06EqCe4DDuwiK14&m=AR4RvrSriEGbqBgoOPzqPXebvPx6jXvgc1hV55_m3u0&s=uaAk7ejoZw2bRmR96D_0q_DIm25Gp1MuGTIXV4imXFo&e= Thank you for leaving your feedback. I really appreciate it! I'll try to find some time to take a look at this over the holidays. Of course, we welcome pull requests from others, and I personally will go above and beyond to review and help others get pull requests merged in here.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_activescott_lessmsi_issues_130-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAOAPETW4VDWMHYOHWQTPRVLQYJZQRA5CNFSM4JZRFXSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGXOHSY-23issuecomment-2D565109707&d=DwMCaQ&c=wgu6hzw1MOrcVMSMqu8IcS59mhBvl1Fc7tKn_Em0PVg&r=Sk8VKAw0cg3vtYuSiRYIsso7IDdz06EqCe4DDuwiK14&m=AR4RvrSriEGbqBgoOPzqPXebvPx6jXvgc1hV55_m3u0&s=iUH3RsfdhfY8KEMDw-g7f8UElLisQIJCbR9DUk-_euQ&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AOAPETS65NBPGJ3SYRQBR3DQYJZQRANCNFSM4JZRFXSA&d=DwMCaQ&c=wgu6hzw1MOrcVMSMqu8IcS59mhBvl1Fc7tKn_Em0PVg&r=Sk8VKAw0cg3vtYuSiRYIsso7IDdz06EqCe4DDuwiK14&m=AR4RvrSriEGbqBgoOPzqPXebvPx6jXvgc1hV55_m3u0&s=A8d8vn2mgqPvtEb3Kf9nuAKXFqlSID5ctVfL1XtgP9U&e=.


IMPORTANT MESSAGE FOR RECIPIENTS IN THE U.S.A.: This message may constitute an advertisement of a BD group's products or services or a solicitation of interest in them. If this is such a message and you would like to opt out of receiving future advertisements or solicitations from this BD group, please forward this e-mail to [email protected]. [BD.v1.0]


This message (which includes any attachments) is intended only for the designated recipient(s). It may contain confidential or proprietary information and may be subject to the attorney-client privilege or other confidentiality protections. If you are not a designated recipient, you may not review, use, copy or distribute this message. If you received this in error, please notify the sender by reply e-mail and delete this message. Thank you.


Corporate Headquarters Mailing Address: BD (Becton, Dickinson and Company) 1 Becton Drive Franklin Lakes, NJ 07417 U.S.A.

TheBudman avatar Jan 21 '20 17:01 TheBudman

Sure, send me a patch or the source and I'll get it merged in.

On Tue, Jan 21, 2020 at 9:15 AM TheBudman [email protected] wrote:

Hi Scott. We were able to modify the source to get this to work. We don’t have time to do a PR and all that entails. If you want, I could zip up the modified source and send it your way.

[cid:[email protected]]

Bud C. Curry Staff Engineer, Software Software Engineering

[email protected]mailto:[email protected]

7 Loveton Circle, Sparks, Maryland 21152-0999 US

bd.comhttp://www.bd.com

From: scott willeke [email protected] Sent: Thursday, December 12, 2019 12:40 PM To: activescott/lessmsi [email protected] Cc: Bud C. Curry [email protected]; Mention [email protected]

Subject: Re: [activescott/lessmsi] Ability to specify full file path (not just file name) (#130)

@TheBudman< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_TheBudman&d=DwMCaQ&c=wgu6hzw1MOrcVMSMqu8IcS59mhBvl1Fc7tKn_Em0PVg&r=Sk8VKAw0cg3vtYuSiRYIsso7IDdz06EqCe4DDuwiK14&m=AR4RvrSriEGbqBgoOPzqPXebvPx6jXvgc1hV55_m3u0&s=uaAk7ejoZw2bRmR96D_0q_DIm25Gp1MuGTIXV4imXFo&e=> Thank you for leaving your feedback. I really appreciate it! I'll try to find some time to take a look at this over the holidays. Of course, we welcome pull requests from others, and I personally will go above and beyond to review and help others get pull requests merged in here.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_activescott_lessmsi_issues_130-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAOAPETW4VDWMHYOHWQTPRVLQYJZQRA5CNFSM4JZRFXSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGXOHSY-23issuecomment-2D565109707&d=DwMCaQ&c=wgu6hzw1MOrcVMSMqu8IcS59mhBvl1Fc7tKn_Em0PVg&r=Sk8VKAw0cg3vtYuSiRYIsso7IDdz06EqCe4DDuwiK14&m=AR4RvrSriEGbqBgoOPzqPXebvPx6jXvgc1hV55_m3u0&s=iUH3RsfdhfY8KEMDw-g7f8UElLisQIJCbR9DUk-_euQ&e=>, or unsubscribe< https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AOAPETS65NBPGJ3SYRQBR3DQYJZQRANCNFSM4JZRFXSA&d=DwMCaQ&c=wgu6hzw1MOrcVMSMqu8IcS59mhBvl1Fc7tKn_Em0PVg&r=Sk8VKAw0cg3vtYuSiRYIsso7IDdz06EqCe4DDuwiK14&m=AR4RvrSriEGbqBgoOPzqPXebvPx6jXvgc1hV55_m3u0&s=A8d8vn2mgqPvtEb3Kf9nuAKXFqlSID5ctVfL1XtgP9U&e=>.


IMPORTANT MESSAGE FOR RECIPIENTS IN THE U.S.A.: This message may constitute an advertisement of a BD group's products or services or a solicitation of interest in them. If this is such a message and you would like to opt out of receiving future advertisements or solicitations from this BD group, please forward this e-mail to [email protected]. [BD.v1.0]


This message (which includes any attachments) is intended only for the designated recipient(s). It may contain confidential or proprietary information and may be subject to the attorney-client privilege or other confidentiality protections. If you are not a designated recipient, you may not review, use, copy or distribute this message. If you received this in error, please notify the sender by reply e-mail and delete this message. Thank you.


Corporate Headquarters Mailing Address: BD (Becton, Dickinson and Company) 1 Becton Drive Franklin Lakes, NJ 07417 U.S.A.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/activescott/lessmsi/issues/130?email_source=notifications&email_token=AABUFVFHLPKZ45YMCO5DYL3Q64UTRA5CNFSM4JZRFXSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJQQVRY#issuecomment-576785095, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABUFVDG3C55ELFHDB3POCDQ64UTRANCNFSM4JZRFXSA .

activescott avatar Jan 27 '20 16:01 activescott

Would love to see this merged. I am trying to build a small tool that fixes an issue in Mass Effect 3's physx installer (what a PITA this piece of software is) and I need to extract a few files from it's bundled msi into a certain dirrectory, but they're all named the same, just in different subfolders by version number.

Mgamerz avatar Jun 11 '20 17:06 Mgamerz

I really need it on my current project. I would really appreciate it if you could merge it !

srebilla avatar Aug 04 '22 10:08 srebilla

@TheBudman any chance you still have a patch you could upload here? A zip or whatever you have would be great!

activescott avatar Aug 04 '22 20:08 activescott

@srebilla @Mgamerz Do you have a link to an .msi with duplicates and the name of the files that you’re trying to get out to at don’t work? Or upload an .msi to this thread.

activescott avatar Aug 04 '22 20:08 activescott