How to make exe of form based application
I have one form based application, when i run it , in debug folder that exe automatically created. But it didn't work in another system where .net software is not installed. I want that it will run on other system where VS is not installed. Here i have attached my application.


Iftikar HussainRank #423 · 5.9K reputationPosted Aug 1, 2013, 7:56 AM EDT
You need to create a SetUp file for your application. Please refer the below link
http://www.c-sharpcorner.com/UploadFile/rahul4_saxena/Setup08232007071849AM/Setup.aspx
http://www.msdotnet.co.in/2012/06/how-to-create-setup-fileexe-file-from.html
Regards,
Iftikar
Akhil MittalRank #133 · 16.9K reputationPosted Aug 1, 2013, 7:53 AM EDT
You can do it your self, I have written this article for the same very purpose.Just follow the article and u'll be champ of creating installers and uninstallers.
This article also covers your problem of exe not working on non .Net Framework systems.
The exe created in this article takes .Net Framework from the installer location,
http://www.c-sharpcorner.com/UploadFile/1492b1/creating-an-msi-package-for-C-Sharp-windows-application-using-a-v/
//Mark as Accepted answer if this helps u. :-)
Preeti AgrawallaRank #6,677 · 259 reputationPosted Aug 4, 2013, 2:13 AM EDT
http://www.c-sharpcorner.com/UploadFile/rahul4_saxena/Setup08232007071849AM/Setup.aspx
it's making exe file, but it's not running on other system where .net framework is not installed.
i want that my exe will run on other system where .net framework is not installed.
i have attached my exe file. please check it.
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 4, 2013, 2:35 AM EDT
Regards,
Iftikar
Preeti AgrawallaRank #6,677 · 259 reputationPosted Aug 4, 2013, 2:38 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 4, 2013, 2:39 AM EDT
Refer this link
http://www.codeproject.com/Articles/35976/Add-Prerequisites-of-NET-Framework-in-Visual-Studi
Regards,
Iftikar
Preeti AgrawallaRank #6,677 · 259 reputationPosted Aug 4, 2013, 2:52 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 4, 2013, 2:54 AM EDT
Regards,
Iftikar
Anurag SarkarRank #1,049 · 1.8K reputationPosted Aug 10, 2013, 4:05 AM EDT