468,119 Members | 2,161 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,119 developers. It's quick & easy.

Self extracting/copying executable

Ok, now that I've got my disk imager program working, I'd like to attach a
"self-extractor" to the front end of the image file and make it a
self-extracting disk image executable file. The idea being that the user
would double-click on the file and the disk would be created. I would like
to be able to "create" the self-extracting disk image from my program. Any
guidance on how to go about doing this?

thanks.
Nov 23 '05 #1
1 1915
"Terry Olsen" <to******@hotmail.com> schrieb:
Ok, now that I've got my disk imager program working, I'd like to attach a
"self-extractor" to the front end of the image file and make it a
self-extracting disk image executable file. The idea being that the user
would double-click on the file and the disk would be created. I would
like to be able to "create" the self-extracting disk image from my
program. Any guidance on how to go about doing this?


You could implement the self-extractor using C/C++ and store the disk image
as Win32 resource in the executable file. Then you could ship an executable
with a dummy resource with your application and use 'UpdateResource' as
shown in <URL:http://dotnet.mvps.org/dotnet/samples/tools/ThemeUtil.zip> to
replace the dummy resource with the disk image.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Nazgul | last post: by
10 posts views Thread by Calvin FONG | last post: by
reply views Thread by k_nil | last post: by
reply views Thread by k_nil | last post: by
5 posts views Thread by Frank Ashley | last post: by
2 posts views Thread by bjm | last post: by
14 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.