Challenge here



Is it posible to put in your project a new file like an executable, and with c# to extract(copy) them where ever the user wants to

is like making a simple setup...





Answer this question

Challenge here

  • Jon_Fisher

    Yes, or any other language you want. But offcoure you do it in C#

    You can use #Zip to create and extract archives and for the understanding of embedded resources read this two articles:


  • aeroboy

    ok i have my program and i want to make my own setup !! i dont want mSI because every one is using it. I want my setup to be special. And i just want a one click setup(or two)


  • John Hunter

    but the exe will be done with c#


  • Tomas

    the setup project can be programed


  • MBritten

    Just out of interest, why not just use a deployment project better still, use ClickOnce!

    if you're trying to deploy something - use MSI technology, it works.

  • tanuki

    Then you can create a EXE file with a ZIP'ed archive in it, a ZIP'ed archive as a embedded resource. By launching the EXE file, you give the user a option to specify a filepath. Then you just unpack the archive to that folder.


  • raveIndia

    You can add some custom action's to it. But please, can you tell us what you want to do Meybe when you share the problem we can help you better. There must be a easy way to solve your problem.

    If you only need to extract a file and put it somewhere, the default Setup Wizard (don't know the real name) can be used and no need to type own code.


  • rodolfo allendes

    You can extract a archived file with a executable in it, but why doing it the hard way when there is a nice simple deployement project in Visual Studio.
    There is no build in solution like a extract(copy) method. So when you want to extract a archived file, you must write all code for it.

    Just create a simple setup.

     



  • Challenge here