ClickOnce Deployment (One-click Deployment)

Slides:



Advertisements
Similar presentations
Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.
Advertisements

SAURABH PANT PROGRAM MANAGER MICROSOFT CORPORATION Configuring ClickOnce to best work for your deployment scenario.
System Center Configuration Manager Push Software By, Teresa Behm.
16.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft® Windows® Server 2003 Active Directory Infrastructure.
Windows Forms 2.0 – ClickOnce Stephen Turner Software Design Engineer
Create Windows ® Applications with.NET Allan Knudsen.NET Developer Evangelist Microsoft.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 10: Server Administration.
Lesson 18: Configuring Application Restriction Policies
Installation Requirements. Agenda Installation requirements Installation options Installing to correct folder locations Installing Windows resources Creating.
Visual Studio Whidbey: Deploying Applications Using ClickOnce Sean Draine Program Manager Microsoft Corporation Sean Draine Program Manager Microsoft Corporation.
Microsoft Australia Security Summit Deploying Applications with ClickOnce Andrew Coates Developer Evangelist Microsoft Australia Andrew.
Configuring Active Directory Certificate Services Lesson 13.
Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Module 15 Configuring and Deploying Windows Client Applications.
ITE 370. Deployment Deployment is the process used to distribute a finished application (or component) to be installed on other computers.
Smart Client Applications for Developers Davin Mickelson, MCT, MCSD New Horizons of MN.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Two Deploying Windows Servers.
CIS NET Applications1 Chapter 2 –.NET Component- Oriented Programming Essentials.
Understanding Code Compilation and Deployment Lesson 4.
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
C Copyright © 2009, Oracle. All rights reserved. Appendix C: Service-Oriented Architectures.
| | Tel: | | Computer Training & Personal Development Microsoft Office PowerPoint 2007 Expert.
Microsoft Confidential Office as a Development Platform Tim Heuer
DEV290 Building Office Solutions with Visual Studio Eric Carter Lead Developer Developer Platform & Evangelism Microsoft Corporation.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
ASSEMBLY. A SSEMBLY Assemblies are the fundamental units of applications in the.net framework An assembly can contain classes, structures, interfaces.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
11 MANAGING AND DISTRIBUTING SOFTWARE BY USING GROUP POLICY Chapter 5.
 Evolution of Smart Client  What is Smart client?  Types of Smart client  Architectural challenges  Smart Client Architecture  Demo application.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
.NET Framework Danish Sami UG Lead.NetFoundry
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Performing Software Installation with Group Policy Lesson 9.
1 Chapter Overview Publishing Resources in Active Directory Service Redirecting Folders Using Group Policies Deploying Applications Using Group Policies.
Windows Forms in Visual Studio 2005: An Overview Name: Joe Stegman Title: Lead Program Manager Session code.
Deploy.NET Applications with Ease Brian Noyes IDesign, Inc.
SECURITY ISSUES. Introduction The.NET Framework includes a comprehensive set of security tools –Low-level classes and an overall framework –Managing code.
Create Windows ® Applications with.NET Carlotta Eaton ( Associate Professor of IST New River Community College Slides by Microsoft.
Section 11: Implementing Software Restriction Policies and AppLocker What Is a Software Restriction Policy? Creating a Software Restriction Policy Using.
VITALE, CATURANO & COMPANY LTD Microsoft SharePoint Web Part Development Overview VITALE, CATURANO & COMPANY LTD SharePoint Developer Series – Web Part.
.NET Ying Chen Junwei Chen. What is Microsoft.NET. NET is a development platform Incorporated into.NET COM+ component services ASP web development framework.
Package & Deploy. OBJECTIVES Package Deploy Way to package.
Creating and Managing Digital Certificates Chapter Eleven.
DEV395 No Touch Deployment for Windows Forms Jamie Cool Program Manager.NET Client Microsoft Corporation.
…the basics…. Wildland Fire Information and Technology Server Requirements ● Windows 7 Professional or Windows 2003/2008 Server ● Windows 8/10 (discussion)
Lesson 6: Controlling Access to Local Hardware and Applications
DEV221 Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
ClickOnce Deployment (One-click Deployment)
Progress Apama Fundamentals
Introduction ITEC 420.
Packaging and Deploying Windows Applications
What are they? The Package Repository Client is a set of Tcl scripts that are capable of locating, downloading, and installing packages for both Tcl and.
Office 365 Development July 2014.
Platform as a Service.
Visual Studio Tools for Office 2005
Security mechanisms and vulnerabilities in .NET
Smart Client Deployment With Microsoft® Windows® Forms
Microsoft Office Illustrated
Lesson #8 MCTS Cert Guide Microsoft Windows 7, Configuring Chapter 8 Configuring Applications and Internet Explorer.
Utilize Group Policy Terminal Server Settings
How to install the Enterprise Agent using Active Directory
The Application Lifecycle
Keep Your Digital Media Assets Safe and Save Time by Choosing ImageVault to be Your Digital Asset Management Solution, Hosted in Microsoft Azure Partner.
Saranya Sriram Developer Evangelist | Microsoft
Deploy Software with Group Policy
Windows Forms in Visual Studio 2005: An Overview
Mark Quirk Head of Technology Developer & Platform Group
Presentation transcript:

ClickOnce Deployment (One-click Deployment) James W. Fawcett, Instructor Murat K. Gungor, TA Syracuse University

Goal Have a .Net Windows Forms application act like Web Application from a deployment perspective. Launch a smart client application directly off a Web URL just like a Web page. Minimize effort required to deploy and update applications. Primary purpose is to present a rich user interface that talks to back-end services on the network.

Auto-Deploying an Executable Users can run the executable by pointing a browser to the URL. Users can also run the executable by entering the URL via the Run option in the Start menu. Or, you can create a Web page with an HTML HREF tag referencing the URL.

Advantages It’s easier to build complex and good looking User Interfaces with Win Forms than with Web forms. Update is easy, just upload new version to the server. If an application is large, executable can download libraries for the rest of the application on an as-needed basis.

Deployment Option (online/offline) ClickOnce allows applications to be deployed offline as well, making the app behave as if it had been installed on the local machine.

ClickOnce is not for you, if … If a program needs to carry out privileged operations that could affect other applications or data on the target machine, such as performing unrestricted file access or accessing the registry, then it may not be suitable for deployment using ClickOnce. Additionally, if an application needs privileged access to the local machine at install time, then it is definitely not a candidate for ClickOnce deployment because by design there are no mechanisms in ClickOnce to add registry entries, install shared assemblies in the Global Assembly Cache (GAC), install services, and so on

It's All About Security With .NET Security Policies, you can protect users from accidentally running code from unknown sources.

.NET Security and the Framework Configuration Tool To launch it, go to the Windows Control Panel, select Administrative Tools, then choose Microsoft .NET Framework Configuration. This tool is part of the .NET Framework (not VS.NET), which means that every user with the .NET Framework installed has the Configuration Tool installed as well. Has two parts: Code Groups, and Permission Sets

.NET Runtime Security Policy You can define custom Code Groups and Permission Sets by right-clicking in the appropriate node.

Security and Permissions Its developer’s responsibility to ensure that the application will run with the appropriate permissions. To prevent users from being prompted, a System Administrator can specify a ClickOnce deployment policy that defines a specific application publisher as a trusted source. On computers where this policy is deployed, permissions will automatically be granted and the user will not be prompted.

Elevating Security Permissions To allow the application to obtain the permissions it needs without administrator intervention on the client machine, ClickOnce can prompt the user at installation time to ask them to grant the application the elevated permissions. Note that this capability circumvents some of the security protections provided by the CLR by allowing a user to elevate security permissions for that application. You can prevent the user from being allowed to do this through security policy in an enterprise environment. Allowing the user to elevate permissions is an important capability for applications deployed over the Internet, where no administrators may be available.

ClickOnce Deployment and Authenticode A digital certificate is a file that contains a cryptographic public/private key pair, along with metadata describing the publisher to whom the certificate was issued and the agency that issued the certificate. You can obtain a certificate for code signing in one of three ways: Purchase one from a certificate vendor. Receive one from a group in your organization responsible for creating digital certificates. Generate your own certificate with MakeCert.exe, which is included with the .NET Framework Software Development Kit (SDK). Certification Authorities Certification authorities (CAs) are trustworthy persons or organizations that issue certificates to applicants whose identity has in some way been verified by the CA.

Application Deployment Prerequisites The minimum required version of the common language runtime. The minimum required version of the Windows operating system required by the application. The minimum version of any and all assemblies that must be preinstalled in the global assembly cache (GAC). All above are specified as assembly dependencies in the application manifest.

Bootstrapping for ClickOnce Applications Visual Studio includes the following deployable packages: Microsoft .NET Framework version 2.0 Microsoft Data Access Components (MDAC) 2.8 Microsoft Visual J# .NET Framework Redistributable Package 3.1 SQL Server 2005 Express Edition Windows Installer 2.0

Accessing Local and Remote Data in ClickOnce Applications With ClickOnce, you can load and store data locally by using any one of the following methods: ClickOnce Data Directory Isolated Storage Other Local Files

How to Deploy a Win Form App. Using Visual Studio Select Project | Publish Project, and Publish Wizard asks from you to specify the location for the publishing server.

Necessary Settings for Deployment Project | Properties Security and Publish Tabs are important tools for successful deployment.

Resources Chris Sells, Michael Weinhardt, Windows Forms 2.0 Programming, Addison – Wesley, 2006. Deploy and Update Your Smart Client Projects Using a Central Server http://msdn.microsoft.com/msdnmag/issues/04/05/ClickOnce/ http://msdn.microsoft.com/vbasic/learning/clickonce/ http://www.code-magazine.com/Article.aspx?quickid=0307061 Rick Strahl's WebLog http://west-wind.com/weblog/

End of Presentation