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. Windows Forms
  4. Deploy Windows Application

Deploy Windows Application

Scheduled Pinned Locked Moved Windows Forms
csharpvisual-studiocomannouncementworkspace
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.
  • R Offline
    R Offline
    Ramkumar_S
    wrote on last edited by
    #1

    Hi All, I need to create a .exe file from visual studio(Windows Application). I already have .exe file in bin folder...but I want to have exe file which should be deployed with release mode. note: i dont want setup.exe file i want only .exe meaning if I click the exe file it should execute immediately. Please Advice.

    Ramkumar ("When you build bridges you can keep crossing them. ") http://ramkumarishere.blogspot.com

    D R B 3 Replies Last reply
    0
    • R Ramkumar_S

      Hi All, I need to create a .exe file from visual studio(Windows Application). I already have .exe file in bin folder...but I want to have exe file which should be deployed with release mode. note: i dont want setup.exe file i want only .exe meaning if I click the exe file it should execute immediately. Please Advice.

      Ramkumar ("When you build bridges you can keep crossing them. ") http://ramkumarishere.blogspot.com

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      Just build the code in Release/Any CPU mode. It will create the exe and other required files in bin/release folder. You can use that. Update (Thanks to Rob): Make sure you copy all the files in the folder to the client machine. Moreover, the application still may or may not work on the client computer. For instance, if you are using ODP.Net (Oracle Data Access provider), it must be installed on the client computer. Copying plain exe will not work here. Make sure you have properly analyzed and considered most of the possibilities before you distribute the exe and associated files.

      "The worst code you'll come across is code you wrote last year.", wizardzz[^]

      modified on Friday, July 22, 2011 4:06 AM

      1 Reply Last reply
      0
      • R Ramkumar_S

        Hi All, I need to create a .exe file from visual studio(Windows Application). I already have .exe file in bin folder...but I want to have exe file which should be deployed with release mode. note: i dont want setup.exe file i want only .exe meaning if I click the exe file it should execute immediately. Please Advice.

        Ramkumar ("When you build bridges you can keep crossing them. ") http://ramkumarishere.blogspot.com

        R Offline
        R Offline
        RobCroll
        wrote on last edited by
        #3

        As D@nish says but you need to copy all the files from the release bin folder and you also need to make sure the client PC has the correct version of .NET Framework. There is no guaranteed it will work.

        "You get that on the big jobs."

        D 1 Reply Last reply
        0
        • R RobCroll

          As D@nish says but you need to copy all the files from the release bin folder and you also need to make sure the client PC has the correct version of .NET Framework. There is no guaranteed it will work.

          "You get that on the big jobs."

          D Offline
          D Offline
          dan sh
          wrote on last edited by
          #4

          Good point. I missed it in my reply. Updated it. Thanks.

          "The worst code you'll come across is code you wrote last year.", wizardzz[^]

          1 Reply Last reply
          0
          • R Ramkumar_S

            Hi All, I need to create a .exe file from visual studio(Windows Application). I already have .exe file in bin folder...but I want to have exe file which should be deployed with release mode. note: i dont want setup.exe file i want only .exe meaning if I click the exe file it should execute immediately. Please Advice.

            Ramkumar ("When you build bridges you can keep crossing them. ") http://ramkumarishere.blogspot.com

            B Offline
            B Offline
            Bert Mitton
            wrote on last edited by
            #5

            This doesn't directly answer your question, but we used to deploy applications at our company like that, then we finally switched our deployment to ClickOnce. We have our internal software deployed on an XP Pro box, no bells and whistles, and it handles the deployment fine. You'll have to set up your IIS first, but if you do updates to alot of machines, it really is worth looking into. Good luck!

            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