• 0

[C#] Adding payload information after build


Question

Hi Guys,

 

I am trying to build a single binary with no additional files that will be used to deploy and prepare systems for a certain scenario, at the moment I use 7zip with a SFX to bundle resources with the binary to produce that "single binary" feel, however I was hoping maybe there is a way to do it in C#?

 

7zip works simply by running the command "cat <sfxBinary> <sfxConfigFile> <archivefile>" which combines all the 3 files into one, when the final binary is opened it extracts the archive in the binary etc.

 

The resources I am trying to attach at this stage is just a simple text/xml file, hopefully someone has done this before?

 

Thanks!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.