Deploy Windows Application
-
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
-
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
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
-
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
-
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."
-
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
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!