Wrox Programmer Forums
|
BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer
This is the forum to discuss the Wrox book Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer by Rod Stephens; ISBN: 9780470596906
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 25th, 2012, 01:04 AM
Registered User
 
Join Date: Jan 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Is program "deployment" covered?

Hi Rod,

In either of your 24-Hour Trainer books (C# or VB.net) do you cover deployment of programs?

In other words, if I wrote a program and wanted to share it (or even sell it), do either of your books show how to do it?

Thanks,

Johnny
 
Old February 25th, 2012, 11:08 AM
Rod Stephens's Avatar
Wrox Author
 
Join Date: Jan 2006
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

Hi Johnny,

I don't cover deployment because it's beyond the scope of those books. They're really for beginners just starting out and deployment is more important when you have a polished application that you want to distribute.

But it's not too hard and you have a few options.

If you just want to share a program with someone who has .NET installed, you can simply give them the exe file and it should run.

If they don't have .NET installed, they can download and install the .NET runtime libraries and then copy the exe.

To do a "real" installation, you can either use Windows Installer or Click Once.

Windows Installer lets you build an msi file, which you can then copy to the computer where you want to install. It's fairly intuitive and gives you a fair amount of control over things like what menus and files to build during installation.

Click Once has several nice options such as making the program check the Internet for new versions before running and downloading the new version either before running or while running the old version.

For more information including a comparison, see:

Deploying Applications and Components

ClickOnce Deployment
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)





Similar Threads
Thread Thread Starter Forum Replies Last Post
MSXSL gives error message for "for" inside "select" ilyaz XSLT 1 December 9th, 2010 05:02 PM
How do you put an "IF DEBUG" condition in a c# program? Bill_Thompson BOOK: Beginning Visual C# 2010 3 August 31st, 2010 03:36 AM
How to theme the "Browse" button of "FileUpload" control? varunbwj BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 October 14th, 2009 01:22 AM
<deployment retail="true"> clarification jsymons BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 October 1st, 2009 02:48 PM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.