Creating self-extracting exes (coding)

Started by
11 comments, last by Hoser 20 years, 4 months ago
GetModuleFileName

Advertisement
Thanks!
this method:
quote:
1) Create the small exe program which is capable of doing the extraction
2) Have a program which can modify the header of this small exe, and append the files (files to extract) to the exe.
3) Have the small exe read its own header to find the location of the extra data and extract?


is just going to result in you _reinventing_ resources! that''s dumb. the win32 API provides functions for adding, removing, and generally modifying resources in an executable. since the functionality you''re looking for already exists, you should use it.



This topic is closed to new replies.

Advertisement