Deploying Applications with ClickOnce



Similar documents
Smart Client Deployment with ClickOnce. Brian Noyes IDesign, Inc. (

An Overview Of ClickOnce Deployment. Guy Smith-Ferrier. Courseware Online. Courseware Online

Last edited on 7/30/07. Copyright Syncfusion., Inc

DEPLOYING A VISUAL BASIC.NET APPLICATION

Caching SMB Data for Offline Access and an Improved Online Experience

Zanibal Plug-in For Microsoft Outlook Installation & User Guide Version 1.1

Citrix Application Streaming. Universal Application Packaging and Delivery Breaking Away from Traditional IT

Installation Guide v3.0

4cast Client Specification and Installation

Administrator s Guide to deploying Engagement across multiple computers in a network using Microsoft Active Directory

DataCove. Installation Instructions for Search Plug-in for Microsoft Outlook 2007 & 2010 (All Users)

INTEGRATING APP-V WITH MICROSOFT VDI

Browser Client 2.0 Admin Guide

How to Setup SQL Server Replication

Key Benefits of Microsoft Visual Studio 2008

Course MS55077A Project Server 2013 Development. Length: 5 Days

Insight Video Net. LLC. CMS 2.0. Quick Installation Guide

SpamTitan Outlook Addin v1.1 Installation Instructions

Groove Management Server

Managing Software Updates with System Center 2012 R2 Configuration Manager

ClickOnce Security. ClickOnce Security Overview. of different aspects with respect to security. You need to consider

Pcounter Web Report 3.x Installation Guide - v Pcounter Web Report Installation Guide Version 3.4

TECHNICAL DOCUMENTATION SPECOPS DEPLOY / APP 4.7 DOCUMENTATION

Dovico Timesheet v12 INSTALLATION GUIDE

Programming with Android: SDK install and initial setup. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna

2933A: Developing Business Process and Integration Solutions Using Microsoft BizTalk Server 2006

InstallAware for Windows Installer, Native Code, and DRM

Issue Tracking Anywhere Installation Guide

BUILDER 3.0 Installation Guide with Microsoft SQL Server 2005 Express Edition January 2008

Microsoft Corporation. Project Server 2010 Installation Guide

Creating XML Report Web Services

Installation Guide. . All right reserved. For more information about Specops Inventory and other Specops products, visit

Developing Microsoft SharePoint Server 2013 Core Solutions

Visual Basic. murach's TRAINING & REFERENCE

Defender Token Deployment System Quick Start Guide

One Bing Maps application ID was used to make requests to two different sets of URLs, one for staging and one for production.

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

Introduction and Overview

Installing VinNOW Client Computers

Thirtyseven4 Endpoint Security (EPS) Upgrading Instructions

The Great Office 365 Adventure

Trial environment setup. Exchange Server Archiver - 3.0

SQL Server 2005: Report Builder

PowerMapper/SortSite Desktop Deployment Guide v Introduction

Distributing SMS v2.0

2009 BuilderMT, LLC, 200 Union Blvd, Suite 500, Lakewood, Colorado USA All rights reserved.

How To Install Outlook Addin On A 32 Bit Computer

Clinical Scheduling for Windows

XMap 7 Administration Guide. Last updated on 12/13/2009

4.0 SP1 ( ) November P Xerox FreeFlow Core Installation Guide: Windows Server 2008 R2

MS 10978A Introduction to Azure for Developers

Specops Command. Installation Guide

Installing Crystal Reports XI. Installing Crystal Reports XI

BitDefender Security for Exchange

Silect Software s MP Author

Installation Guide on Cloud Platform

Microsoft Dynamics CRM 2013/2015 Event Pipeline

Provide instructions for installing the VMware View Client a non-wellmont device. These instructions are for a Windows based OS.

NetWrix SQL Server Change Reporter. Quick Start Guide

Developing ASP.NET MVC 4 Web Applications Course 20486A; 5 Days, Instructor-led

Dynamic Web Programming BUILDING WEB APPLICATIONS USING ASP.NET, AJAX AND JAVASCRIPT

Developing ASP.NET MVC 4 Web Applications

Providing Patch Management With N-central. Version 7.2

Getting Started with. Ascent Capture Internet Server Revision A

Getting Microsoft Outlook and Salesforce in Sync

Trusted Stackware series. Rev D.O.I-Net Co., Ltd. Document No.:TST E

Team Foundation Server 2010, Visual Studio Ultimate 2010, Team Build 2010, & Lab Management Beta 2 Installation Guide

OrgPublisher EChart Server Setup Guide

App-V Deploy and Publish

Tournament Pairing Program Installation Instructions for Windows 7

GOA365: The Great Office 365 Adventure

How To Install The Snow Active Directory Discovery Service On Windows (Windows) (Windows 7) (Powerbook) (For Windows) (Amd64) (Apple) (Macintosh) (Netbook) And (Windows

Developing Algo Trading Applications with SmartQuant Framework The Getting Started Guide SmartQuant Ltd Dr. Anton B.

Programming in C# with Microsoft Visual Studio 2010

Administrator s Guide

How to Log in to LDRPS-Web v10 (L10)

INSTALLATION GUIDE Version 1.2

Integration Client Guide

Course 10978A Introduction to Azure for Developers

HP ALM Performance Center

3M Occupational Health and Environmental Safety 3M E-A-Rfit Validation System. Version 4.2 Software Installation Guide (Upgrade) 1 P age

Building a Scale-Out SQL Server 2008 Reporting Services Farm

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

HOW TO SILENTLY INSTALL CLOUD LINK REMOTELY WITHOUT SUPERVISION

Installing Crystal Reports XI R2. Installing Crystal Reports XI R2

Trainer Preparation Guide for Course 20488B: Developing Microsoft SharePoint Server 2013 Core Solutions Design of the Course

Installation Guide - Client. Rev 1.5.0

How To Install Ass Software On A Computer Or A Hard Drive

SPT2013: Developing Solutions with. SharePoint DAYS AUDIENCE FORMAT COURSE DESCRIPTION STUDENT PREREQUISITES

The Trusted Technology Partner in Business Innovation PASSION DISCIPLINE INNOVATION TEAMING INTEGRITY

Sophos for Microsoft SharePoint startup guide

SCCM Plug-in User Guide. Version 2.21

SmartDraw Installation Guide

Colligo Contributor 4.4 SP2 for Terminal Services. User Guide

Access It! Universal Web Client Integration

Transcription:

Deploying Applications with ClickOnce Suthep Sangvirotjanaphat Microsoft MVP, GreatFriends.Biz Instructor suthep@greatfriends.biz http://greatfriends.biz Thailand.NET Training and Community

Agenda Introduction ClickOnce Basics Security Programming ClickOnce

Introduction Deployment Problems Client applications can be fragile Will the installation of one application break another application? Traditional DLL-conflict problem Installing client applications is hard and expensive Must affect every client For both the initial installation and updates Web-based applications Solved many deployment issues, but there s a but" At the expense of a rich client experience

Introduction Version 1.0 of the.net Framework Addressed the issue of DLL conflict Introduced application isolation Controlled the versioning of shared components Began to address the ease-of-deployment issue Run executable files from URL or UNC HREF executable files Set the stage for ClickOnce

Introduction The Best of the Client and the Web Reach No Touch Deployment Low System Impact Install and Run per User Rich and Interactive Offline Access Windows Shell Integration Per-Computer and Shared Components Unrestricted Installation Web ClickOnce MSI Client

ClickOnce Basics Development Experience IDE support in Visual Studio 2005 Integrated with core project types Setup is not a post-development task Project Designer Publish pane Security pane Publish Wizard Copies the application to a Web server Server extensions through Microsoft FrontPage FTP or network file share

ClickOnce Basics Declarative Installation Application manifest Authored by the developer Describes the application Example: which assemblies constitute the application Deployment manifest Authored by the administrator Describes the application deployment Example: which version clients should use

ClickOnce Basics Update from the Web 1.0 1.1 Application Manifest Deployment Manifest 1.0 Web Page Link to Manifest Application Manifest 1.1

ClickOnce Basics Deployment Options Launched applications Application launches but doesn t install No Start menu and no Add or Remove Programs Always updates on launch Installed applications Install from the Web, a UNC location, or a CD-ROM Start menu and Add or Remove Programs Variety of update options

ClickOnce Basics Update Architecture Launched MIME.application Deployment Framework Service Application Store Yes Installed Startup SHIM Update Check? No My Application

ClickOnce Basics Update Options On application startup If an update is found, ask the user to update the application After application startup If an update is found, ask the user to update on the next run Required updates Specified by using the minimum required version Programmatic updating Integrate the update experience into the application

ClickOnce Basics Application Bootstrapper Installs the application prerequisites.net FX, Microsoft DirectX, MDAC, and so on Requires administrator rights Install the ClickOnce application after the prerequisites Use ClickOnce for automatic updates No automatic updating of prerequisite components

ClickOnce Basics The Bootstrapper in Action Web Server Setup.exe Dotnetfx.exe Mdac_typ.exe Custom.msi Bar.application Client PC Reboot MDAC detected!

Building, Deploying and Updating a Client Application

Security Secure Execution Environment (Sandbox) ClickOnce applications run in a sandbox by default Permissions are based on origin Internet, Intranet, or Full Trust Ensures that applications are safe to run Similar to Microsoft Internet Explorer and JavaScript Applications often need higher trust Call unmanaged code Access the file system or the registry Connect to a database Consume Web services

Security Determining Permission Requirements Security pane of Project Designer Use to manually configure permissions Permissions Calculator Calculates the least-required permissions Debug in the sandbox Debug applications with partial trust Exception Assistant Microsoft Intellisense in the sandbox Filtered based on the security context

Security Trusted Application Deployment Establishes deployment authority One-time distribution Configures the trusted license issuer Trust licenses Issued by an authority Deployed with applications Application-developer tasks Obtain a trust license (.tlic file) Set the deployment ticket property

Security User Consent Model Users make trust decisions all the time Installing software from CD-ROMs Useful for targeting random computers Internet or unmanaged Intranet User is the administrator Request the required permissions When the application needs permissions that are higher than the sandbox Administrators can disable prompting through policy

Security Secure Updates ClickOnce manifests are signed XMLDSIG Publisher key is needed to deploy updates Ensures that updates come from the original author Guarantees a unique application identity Only the original publisher can update Prevents the automatic deployment of viruses

Configuring ClickOnce Security Permissions

Programming ClickOnce Programming Scenarios Application updating Implement the Update Now menu item Match the client with back-end programs Customize when-to-update logic Limit updates to only early adopters Limit updates based on the server load On-demand download Progressive installation Shell with application plug-ins System.Deployment namespace ApplicationDeployment

Programming ClickOnce Application Updating Control when and how the application updates CheckForUpdate GetUpdateCheckInfo Update Synchronous and asynchronous versions of methods Available only for applications that are deployed through ClickOnce Use IsNetworkDeployed

Programming ClickOnce On-Demand Download Group files in the manifest Put related files in the same group Download files as a group Marks files as optional in the manifest Optional files are not downloaded during the installation AreFilesLocal DownloadFiles Takes a group or file name Simultaneously delivery (synchronous or asynchronous) of multiple downloaded files

Implementing User-Initiated Updates

Summary ClickOnce makes client-application deployment easy and safe Visual Studio bootstrapper facilitates the easy redistribution of prerequisites Visual Studio 2005 provides integrated developer support for ClickOnce ClickOnce APIs support a variety of application-update scenarios