Self extracting executable

Posted on 2005-04-27
Last Modified: 2009-10-20
I would like to package the aplication EXE and a directory struture in one single file. (some what like CAB or ZIP)
When this file is move to another computer or even CD rom. it should run independently and extract the directory struture package, do some processing and again compress into a singel file.

I tried with MakeCAB and SetupAPI's SetupIterateCabinet() but still not clear about the right way.
Question by:sachinx
    LVL 9

    Expert Comment

    Hi sachinx,

      You might need to go to or I think it is and look into using a winzip or winrar option. There are even objects that can do zip archives, but not sure about self extracting ones.

    LVL 8

    Accepted Solution

    check if this is useful:


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now