Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > how to build exe to provide to the end user for C#?
 

how to build exe to provide to the end user for C#?

Hello,

I would like to get help on how to build executable that includes all ocx, dll to provide to the end user. I am using VS 2005.

Thanks,

Tammy
  • Moved byFigo FeiMSFTWednesday, July 29, 2009 9:49 AM (From:Visual C# General)
  •  
Tammt  Monday, July 27, 2009 7:03 PM
You could get a setup/installation-maker program like Installshield or Wise. There are also free ones like Inno, and Visual Studio comes with a Setup project template too. The basic idea is to specify your program dependencies (exe files, DLLs, other data files etc.) and the app will generate a setup file for you. Most installation apps support registering of COM DLLs, so that wouldn't be a problem either.
http://blog.voidnish.com
Nishant Sivakumar  Monday, July 27, 2009 7:08 PM
Nishant Sivakumar  Monday, July 27, 2009 7:09 PM
You may also leverage this forum

http://social.msdn.microsoft.com/Forums/en-US/winformssetup/threads
John Grove - TFD Group, Senior Software Engineer, EI Division, http://www.tfdg.com
JohnGrove  Monday, July 27, 2009 7:17 PM

Thanks so much for the responses...

I am trying to use ClickOnce to build the deployment for our project. Publish succeeded. However, when I click on Setup.exe, I got the error:"View has encountered a problem and needs to close. We are sorry for the inconvenience."

I am not sure what's going on here.

Thanks,

Tammy
Tammt  Monday, July 27, 2009 11:00 PM
Hi Tammt,

I am moving this thread from Base "Visual C# General" forum to the "ClickOnce and Setup & Deployment Projects" forum, since the issue is related to deployment. There are more deployment experts in the "ClickOnce and Setup & Deployment Projects" forum.

Thanks
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
YiChun Chen  Wednesday, July 29, 2009 9:48 AM
Where did you deploy the application to? Is it a web server, a local folder, a network share? Where are you trying to run it? Your local machine?

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Wednesday, July 29, 2009 10:23 AM

I deployed the application to the local folder and run the application from this folder.

Tammy
Tammt  Wednesday, July 29, 2009 5:06 PM
So I assume you're just trying to test it on your machine? So you deploy it to a folder, and go click on the setup.exe and it gives an error? Does it show the IE window for the click once app? Does it show anything before it gives you the error?

If you double-click on the .application file in the deployment folder, does it install the application?

Have you specified any prerequisites, and if so, are you getting them from the component vendor's web site?

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Thursday, July 30, 2009 4:59 PM

You can use google to search for other answers

Custom Search

More Threads

• .NET Framework 2.0 Prerequisite Issue
• IEExec Loads, but no form appears...
• AccessDatabaseEngine
• Load balancing via Click Once
• A one year old setup doesn't works ...
• Not install custom action dll on target computer
• Doesn't check for updates on the first program start, only second
• Install
• Problems with Application Updates with ClickOnce Installed
• ClickOnce with Cassini