Adding Files to EXE

Z

Zagor

Hi All,
I have a small exe app ( basic a dialog box) that when lauched needs to
"copy" some files in a directory chosen by the user (within the dialog). I
cannot use an installation package because there are some particular tasks
to be done from the exe.
Anyhow I was wondering if it possibile to include files within the (C#)exe
and then extract them from the exe when launched...sort of an installation.
I was thinking to add them as resources but I do not know how to extract
them.

Please any hint will be appreciated

Thank you
Zagor
 
L

Lau Lei Cheong

Not sure whether it can be done in C#, but have you considered just using
one of those compression programs with SFX function(like ZIP, RAR or so)?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top