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?
Question
semaja2.net
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