Publish RRS feed

  • Question

  • How do i make the program that i published install on other computers with one file?
    Sunday, May 13, 2012 5:51 AM


All replies

  • Hi Overtim3,
    What do you mean by “with one file”?
    By default, the number of installed files of a ClickOcne application depends on the application project.
    Files for a ClickOnce application are managed in the Application Files dialog box, you can check and specify which files are published by setting the publish status.For more detail,see http://msdn.microsoft.com/en-us/library/kzy0fky2(v=vs.100).aspx. However, I don’t think you can publish only one file as the ClickOnce Application would include application file and manifest file.
    If you still have any doubt and concern about this issue, please let us know. If I misunderstood you, please kindly elaborate your question.
    Best Regards,

    Bob Wu [MSFT]
    MSDN Community Support | Feedback to us

    • Edited by Bob Wu-MT Tuesday, May 15, 2012 1:37 AM
    Tuesday, May 15, 2012 1:35 AM
  • If you mean use one file to install it on other computers, you probably want to create a setup & deployment package.

    If you mean combine all the assemblies and exe into one file that you can copy to another computer and run, that's not a deployment question, that's a question about how to merge your assemblies.

    I googled "combine all .net assemblies into one" and got this example on codeplex:



    Click here to visit my ClickOnce blog!
    Microsoft MVP, Client App Dev

    • Proposed as answer by RobinDotNet Thursday, May 17, 2012 7:00 AM
    • Marked as answer by Bob Wu-MT Friday, June 8, 2012 6:14 AM
    Thursday, May 17, 2012 7:00 AM