Getting an unknown option --add-binary, while trying to include some dlls

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting an unknown option --add-binary, while trying to include some dlls

Dan Campbell
Hi,

After receiving the "ucrtbase.dll" is either not designed to run on windows, and the same error for VCRUNTIME140.dll, I tried including the dlls inside the executable, thus:


     pyinstaller --onefile --add-binary vcruntime140.dll --add-binary ucrtbase.dll main.py


, but pyinstaller is returning

     unknown option --add-binary


Is there a specific sequence of command line options that has to be used?


--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/6163a1fd-250a-46b2-81c1-71dd56ce5488%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Getting an unknown option --add-binary, while trying to include some dlls

Hartmut Goebel
Am 22.04.20 um 17:30 schrieb Dan Campbell:
     unknown option --add-binary

This is a long-dahs, but you need two dashes

--
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer
Information Security Management, Security Governance, Secure Software Development

Goebel Consult, Landshut
http://www.goebel-consult.de

Blog: https://www.goe-con.de/blog/kamera-safari-durch-die-munchner-innenstadt
Kolumne: https://www.goe-con.de/hartmut-goebel/cissp-gefluester/2011-08-horrorszenario-bring-your-own-device

--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/d6b823f4-f477-1b76-463f-01a7adf947aa%40goebel-consult.de.

0x7B752811BF773B65.asc (21K) Download Attachment