Create self-extracting EXE from ZIP file in command line

command lineself-extractingwinzip

I have installed WinZip 9.0 SR1 in my system and I want to create a executable from a zip file in command line.

I have tried with the following command line statement

C:\Users\admin\Desktop>"C:\Program Files (x86)\WinZip 9.0 SR1\WZSEPE32.EXE" my.exe my.zip

Hoping that it would create a file my.exe with contents of my.zip under the current directory. But it throws the below error message

Error Msg

and brings up the below GUI.

GUI

How do I create a executable from a zip file in command line?

Best Answer

WinZip offers a command-line add-on for this (free add-on for licensed version). But this only works with WinZip 12.1 and higher.