Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Publishing Windows Application to one setup file

Publishing Windows Application to one setup file

Scheduled Pinned Locked Moved C#
questionworkspace
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nooie
    wrote on last edited by
    #1

    Wahoo! I just did my first little Application that is of any use. Its a calculator that my friend uses for work, with some weird Calculations in it. But it works. Anyway, I suppose I have 2 questions. 1. Is there a way to make just 1 Setup.exe file that can be sent without any other files that will install fine at the other end. 2. If not, Which files from the publish directory do I have to send to get the Application to work at the other end? Many Thanks all Tony

    C A N 3 Replies Last reply
    0
    • N Nooie

      Wahoo! I just did my first little Application that is of any use. Its a calculator that my friend uses for work, with some weird Calculations in it. But it works. Anyway, I suppose I have 2 questions. 1. Is there a way to make just 1 Setup.exe file that can be sent without any other files that will install fine at the other end. 2. If not, Which files from the publish directory do I have to send to get the Application to work at the other end? Many Thanks all Tony

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      1 - not in C#, you also need the .NET framework 2 - yuo probably just need the exe and the manifest. Plus the framework.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • N Nooie

        Wahoo! I just did my first little Application that is of any use. Its a calculator that my friend uses for work, with some weird Calculations in it. But it works. Anyway, I suppose I have 2 questions. 1. Is there a way to make just 1 Setup.exe file that can be sent without any other files that will install fine at the other end. 2. If not, Which files from the publish directory do I have to send to get the Application to work at the other end? Many Thanks all Tony

        A Offline
        A Offline
        Abdul Sami X
        wrote on last edited by
        #3

        Tony, just send an .exe file if it is not having any dependancy dll file.

        Sr. Software Engineer Irevna, India

        1 Reply Last reply
        0
        • N Nooie

          Wahoo! I just did my first little Application that is of any use. Its a calculator that my friend uses for work, with some weird Calculations in it. But it works. Anyway, I suppose I have 2 questions. 1. Is there a way to make just 1 Setup.exe file that can be sent without any other files that will install fine at the other end. 2. If not, Which files from the publish directory do I have to send to get the Application to work at the other end? Many Thanks all Tony

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #4

          You can embed the framework in the single setup file. So the framework also will be installed when the application is installing.


          printf("Navaneeth!!") www.w3hearts.com

          N 1 Reply Last reply
          0
          • N N a v a n e e t h

            You can embed the framework in the single setup file. So the framework also will be installed when the application is installing.


            printf("Navaneeth!!") www.w3hearts.com

            N Offline
            N Offline
            Nooie
            wrote on last edited by
            #5

            So I can just send the setup.exe? when I try copying it to a different folder and running it, I get an error. The following error occurred attempting to install 'C:\Documents and Settings\Tony\My Documents\Visual Studio 2005\Projects\CostingCalculator\CostingCalculator\publish\Release1\test\CostingCalculator.application': "The system cannot find the file specified. " See the setup log file located at 'C:\DOCUME~1\Tony\LOCALS~1\Temp\VSD1BA.tmp\install.log' for more information. How would I embed the framework? Cheers all /TH

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups