Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Can I Programmatically Create a Self-Extracting EXE?

Status
Not open for further replies.

MrEGuest

Programmer
Dec 19, 2001
120
US
In an ActiveX exe, I need to be able to programmatically create a self-extracting exe.

I would appreciate very much If anyone that has done this before, or knows how, would point me in the right direction.

Thank you very much,
Josh
 
I don't think you can do this in VB (without help from other programming languages).

Don't take this as the absolute word. I love riddles... if somebody finds a way to do it, fine... riddle solved....

...still waiting for the secret of cold fusion.
VCA.gif
 
i did see something in the win32 api about an api for compression
 
i think you can.

i didnt do this exactly but im sure it is posibble.

what you have to do is to look for a zip component(OCX OR DLL).

it has to have the posibility to add files to an arcive file and to make it posible to extract the file without the need for a zip application.

you can look for such a component it sites such as

im sure you can find one for free(search for zip)

you can e-mail me for more details.
 
Sorry. I must have read the question incorrectly. I somehow imagined a "self installing" exe. That wasn't MrEGuest's question.

See thread222-103449 for a way to extract data or additional program files from an EXE. The thread doesn't discuss file compression but it shouldn't be too hard to implement it, given the appropriate "zip component" (noted by zeevgetner).
VCA.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top