Creating SFX file through C#

Hello Sir,

I am a C# Developer, and I have a very specific requirement. I am developing e-Book Creator Project, and in that I need to give an option whereby on clicking it it will create the Installer for that specific e-Book. (a .exe installer file). I know how to create an installer for a project but i don't know how to create an installer from the application itself, programmatically.

Please not that I don't want to make Installer for my project, My project is E-book Creator, and throught that e-Book will be created. Now I want to give an option in My Application through which the e-Book Creator can create .SFX kind of installer, which are distributable, and those .sfx can be used by another user to install e-Book with its specific reader. So the .sfx file will primarily contains e-Book and Reader file [ e-Book files extension will be .ebk (my custom extension) and reader will be a .exe file which has a functionality to load the .ebk file, and that Reader is developed by me.].

Hope this helps in giving a proper solution.
Please help me in this regard...
Awaiting your Reply ...
Thanking you.

-DEEPAK
Developer
Agile Software Consultancy



Answer this question

Creating SFX file through C#

  • Visual Basic Expert

    I have seen it and its a c++ project, and it has nothing what I want. As u can see I want to generate .exe as my projects output. while the project itself is coying the files to the respective locations. My main problem is how to create the .exe file which consists of Reader and e-Book file as well. It might be a .msi file i.e. .msi file will also do.

  • Jagoop

  • 345

    Hi Deepak,

    Did you find out how to create an SFX file through C# If so, could you please let me know how to do it since I would like to do the same thing.

    Thanks,

    Joel


  • Creating SFX file through C#