Self extracting/copying executable

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Terry Olsen

    #1

    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.


  • Herfried K. Wagner [MVP]

    #2
    Re: Self extracting/copying executable

    "Terry Olsen" <tolsen64@hotma il.com> schrieb:[color=blue]
    > 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?[/color]

    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/>

    Comment

    Working...