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



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

TECHNICAL DOCUMENTATION SPECOPS DEPLOY / APP 4.7 DOCUMENTATION

Census. di Monitoring Installation User s Guide

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

Wavecrest Certificate

Issue Tracking Anywhere Installation Guide

Internet Synchronization with Microsoft Jet 3.5

Introduction and Overview

Team Foundation Server 2013 Installation Guide

Password Reset Server Installation Guide Windows 8 / 8.1 Windows Server 2012 / R2

Moving the TRITON Reporting Databases

NSi Mobile Installation Guide. Version 6.2

Installing Autodesk Vault Server 2012 on Small Business Server 2008

Secret Server Installation Windows Server 2012

SQL Server 2008 R2 Express Edition Installation Guide

Configuring.NET based Applications in Internet Information Server to use Virtual Clocks from Time Machine

Team Foundation Server 2012 Installation Guide

Specops Command. Installation Guide

STEP BY STEP IIS, DotNET and SQL-Server Installation for an ARAS Innovator9x Test System

SQL Server 2008 and SSL Secure Connection

Using IIS and UltraDev Locally page 1

Getting started with 2c8 plugin for Microsoft Sharepoint Server 2010

Moving the Web Security Log Database

Installing OneStop Reporting Products

Secret Server Installation Windows Server 2008 R2

SETUP SSL IN SHAREPOINT 2013 (USING SELF-SIGNED CERTIFICATE)

Creating XML Report Web Services

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

Microsoft Corporation. Project Server 2010 Installation Guide

4cast Client Specification and Installation

Generating a Certificate Signing Request (CSR) from LoadMaster

QUANTIFY INSTALLATION GUIDE

Jolly Server Getting Started Guide

USER GUIDE Deploying Your Application to WinHost

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

Dovico Timesheet v12 INSTALLATION GUIDE

Secret Server Installation Windows 8 / 8.1 and Windows Server 2012 / R2

ADFS Integration Guidelines

Livezilla How to Install on Shared Hosting By: Jon Manning

Bitrix Site Manager ASP.NET. Installation Guide

Migrating MSDE to Microsoft SQL 2008 R2 Express

NetBeans IDE Field Guide

How to Create a Delegated Administrator User Role / To create a Delegated Administrator user role Page 1

XIA Configuration Server

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

DriveLock Quick Start Guide

Technical Bulletin. SQL Express Backup Utility

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

OUTLOOK ADDIN V1.5 ABOUT THE ADDIN

SourceAnywhere Service Configurator can be launched from Start -> All Programs -> Dynamsoft SourceAnywhere Server.

ILTA HAND 6B. Upgrading and Deploying. Windows Server In the Legal Environment

Desktop Surveillance Help

Installing and Configuring Microsoft Dynamics Outlook Plugin to Use with ipipeline MS CRM

HTTP Server Setup for McAfee Endpoint Encryption (Formerly SafeBoot) Table of Contents

MicrosoftDynam ics GP TenantServices Installation and Adm inistration Guide

Microsoft Dynamics GP SQL Server Reporting Services Guide

1. CONFIGURING REMOTE ACCESS TO SQL SERVER EXPRESS

NetWrix Password Manager. Quick Start Guide

EntroWatch - Software Installation Troubleshooting Guide

Installing Oracle 12c Enterprise on Windows 7 64-Bit

Distributing SMS v2.0

1/4/12 Installing and Configuring WebDAV on IIS 7 : WebDAV for IIS 7.0 : Publishing Content to Web Sites : T

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

SSO Plugin. J System Solutions. Upgrading SSO Plugin 3x to 4x - BMC AR System & Mid Tier.

TECHNICAL NOTE. The following information is provided as a service to our users, customers, and distributors.

Introduction. There are several bits of information that must be moved:

Administration Guide. . All right reserved. For more information about Specops Deploy and other Specops products, visit

SQL Server Business Intelligence

etoken Enterprise For: SSL SSL with etoken

Changing Your Cameleon Server IP

Installing Windows Server Update Services (WSUS) on Windows Server 2012 R2 Essentials

Install SQL Server 2014 Express Edition

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

Installation Guide v3.0

Using Remote Web Workplace Version 1.01

Sophos for Microsoft SharePoint startup guide

WhatsUp Gold v16.1 Installation and Configuration Guide

GETTING STARTED WITH SQL SERVER

PowerMapper/SortSite Desktop Deployment Guide v Introduction

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint InfoPath 2013 Web Enabled (Browser) forms

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

SpamTitan Outlook Addin V2.0

R i o L i n x s u p p o r r i o l i n x. c o m 1 / 3 0 /

CONFIGURING MICROSOFT SQL SERVER REPORTING SERVICES

Monitoring SQL Server with Microsoft Operations Manager 2005

Backup / migration of a Coffalyser.Net database

isupplier PORTAL ACCESS SYSTEM REQUIREMENTS

SOFTWARE INSTALLATION INSTRUCTIONS CLIENT/SERVER EDITION AND WEB COMPONENT VERSION 10

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë

Workshop for WebLogic introduces new tools in support of Java EE 5.0 standards. The support for Java EE5 includes the following technologies:

esafe Web SSL - Certificate Rollout

Ekran System Help File

Using Internet or Windows Explorer to Upload Your Site

XenDesktop Implementation Guide

SQL Server 2005: Report Builder

HP Enterprise Integration module for SAP applications

Configuring IBM HTTP Server as a Reverse Proxy Server for SAS 9.3 Web Applications Deployed on IBM WebSphere Application Server

File Share Navigator Online 1

OSPI SFTP User Guide

Transcription:

Enabling ClickOnce deployment for applications that use the Syncfusion libraries... 2 Requirements... 2 Introduction... 2 Configuration... 2 Verify Dependencies... 4 Publish... 6 Test deployment... 8 Trust requirements... 11 Signing... 11 Additional settings... 13 Additional notes... 14 References... 14 Questions / Comments?... 14

Enabling ClickOnce deployment for applications that use the Syncfusion libraries Requirements Syncfusion Essential Studio 5.1 or later. Microsoft Visual Studio 2005 (or later). This article does not cover the deployment of applications using.net Framework version 1.1 or 1.0. Introduction ClickOnce technology enables Windows Forms applications to be deployed with almost the same ease as Web applications. Though it was introduced in earlier versions of the.net Framework, ClickOnce support has been greatly enhanced with version 2.0 of the.net Framework making it almost trivial to deploy an application. The purpose of this article is to walk through the steps needed for the deployment of a Windows Forms application that uses the Syncfusion libraries. For the most part these steps are no different from steps you would follow for the deployment of an application that does not use the Syncfusion libraries. Therefore this article does not attempt to cover every scenario that applies to such deployment as there are plenty of resources that deal with this already (check the References section for additional information). We picked a fairly complex application, the VSDemo sample that ships with our Essential Tools product, to use as a test case. The VSDemo sample uses several Syncfusion libraries (Tools, Edit and Grid) and should be fairly representative of a project that uses the Syncfusion libraries. You do not however, need this project. You can instead pick any other project including your own and follow along. There is nothing listed that is specific to this application. Configuration Open the VSDemo sample in Microsoft Visual Studio.NET 2005. This sample is commonly installed under %userprofile%\documents\syncfusion\essentialstudio\5.1.0.51\windows\tools.windows\sam

ples\2.0\featured Samples\VSDemo. You can create a copy if you would like to preserve the original sample for reference purposes. Open the properties for this project in Visual Studio.NET. Select the Publish page when the project property pages are displayed. Figure 1. ClickOnce Publish settings. There are two important settings that need to be entered on this dialog the Publishing location and the Installation URL. For our purpose, we have chosen to publish the files using ftp. The location of the FTP server and the path where the files are to be published is entered under Publishing Location. If authentication is required to access the Publishing Location (FTP server in this case), click the browse button next to the Publishing Location TextBox and enter authentication details. You will also observe that several additional publishing methods are available including publishing to a site that supports FrontPage server extensions.

Figure 2. Authentication Information to access the server where files are to be deployed to. The next step is to enter the Installation URL. This will be the base URL from where the ClickOnce application will be deployed. This needs to be http/https location or a file system reference. It should of course correspond to the FTP path that we used as the publishing location. The publishing process will create a file named publish.htm by default under the root folder of the ftp / http location. This will be the entry point to install the ClickOnce application. For example in our case the final published link will be http://www2.syncfusion.com/installs/articles/clickonce/publish.htm. Verify Dependencies

The next step is to verify that the ClickOnce runtime has all the information it needs on files that need to be deployed. As part of the publishing process ClickOnce will copy all assemblies and any additional files that the application requires to the remote site. Assemblies It is very critical that the ClickOnce runtime has a complete understanding of all non-system assemblies that are needed. Normally, this is not a problem and the ClickOnce system is able to obtain this information from the references list in Visual Studio.NET. o However, there is one Syncfusion specific gotcha here to watch out for. Many projects that use the Syncfusion assemblies may not have a direct reference to Syncfusion.Core.dll. However, this assembly is needed at runtime and the ClickOnce deployment will fail if this assembly is not copied over for deployment. If you look at your reference list and you do not see Syncfusion.Core please browse and add Syncfusion.Core as a reference (installed under $drive:\program Files\Syncfusion\Essential Studio\$version\precompiledassemblies\$version \2.0). o No additional steps are needed if CopyLocal is to True. If CopyLocal for the referenced assemblies is set to False, please click on the Application Files button and change the Publish Status for each of the Syncfusion assemblies (and any non-system assemblies that are referenced in a similar manner) to be Include from the automatically selected Prerequisite setting. If you do not make this change and any of the assemblies are marked as prerequisites the ClickOnce runtime will complain that the assembly so referenced needs to be in the GAC for the application to start. Additional content Any additional files that your application needs such as image files, SQL databases etc., should be made known to the ClickOnce publishing system. The easiest way to do this for additional content files is to mark them as Content (Build Action set to Content).

Figure 3. Application Files list. This list contains details on files that will be deployed. We have also provided a command line tool called NETDepends.exe that can take any assembly and dump a list of its dependencies. It comes with a help file, netdepends.htm and is included for download along with this article. You can use this tool to verify that all your non-system file dependencies are accounted for. You can check the list of files that will be deployed by clicking on the Application Files button on the Publish property page. Publish Once you have verified that all dependencies are correctly handled, you can click on the Publish Now button on the Publish property page to start the publishing process. The Visual Studio.NET IDE status bar will be updated with details on the status of the publishing process.

Please note that as part of the deployment process, files have a suffix.deploy added to them. This is a configurable setting but in most cases you do not need to make any changes. Shown below is a screenshot of the files list on the server. One level above this folder is where the deployment entry point, Publish.htm file is created. This is the file that users will have to navigate to install the ClickOnce application. Figure 4. Files on the server. Figure 5. Publish.htm the ClickOnce entry point on the server.

Test deployment Navigate to the URL - http://www2.syncfusion.com/installs/articles/clickonce/publish.htm to test deployment. The following user interface is displayed by the browser. Figure 6. ClickOnce entry point. You can click on the Install button to start the download process. The ClickOnce runtime displays a note that the Publisher of the application cannot be verified. This can be fixed by signing the deployment manifest as detailed under the section Signing.

Figure 7. ClickOnce download in progress. The actual download will take a little time depending on the size of your application, download speed and connection to the server. Once installed locally the application will automatically startup and run.

Figure 8. ClickOnce deployed application on the end user s machine. If you selected The application is available offline as well on the Publish property page, a start menu entry will also be automatically added. This will allow the application to be run subsequently without having to navigate to the ClickOnce entry point URL. Figure 9. Online/Offline settings.

You can also view/change the installed ClickOnce application under Add/Remove programs in the control panel. Trust requirements The default trust requirement selected for Windows Forms applications is Full Trust. You can change this by selecting the Security property page. However, for applications that use Syncfusion user interface libraries, Full Trust is a requirement and we recommend that you do not change this setting. Figure 10. Code Access Security settings for the deployed application. Signing During the deployment test, the ClickOnce runtime warned us that the Publisher of the ClickOnce application could not be verified.

Figure 11. Security warning prior to application installation. To prevent this warning from being displayed you will have to sign your ClickOnce manifest with a valid Authenticode certificate from a certificate provider (such as Verisign / Thawte). For more details please refer to Authenticode links provided under the references section. Figure 12. Certificate Manager.

Once you obtain a key from a provider you should import it into the certificate store on your machine. To do this simply run CertMgr.exe (should be in your system path). When it comes up navigate to Personal\Certificates in the tree to the left. Right click on the certificates node and select AllTasks\Import. You will be presented with a certificate import wizard that will walk you through the process of importing files provided by your certification authority. Once you have a key installed in your certificate store navigate to the Signing property page. You can then select the certificate you wish to use for the signing process by clicking on the Select from Store option. Once you sign the ClickOnce manifest in this manner the ClickOnce runtime will display a much more reassuring dialog to your end users. Your end users can install your application confident of the source of the application and of the fact that it has not been tampered with. Figure 13. Deploying a signed application. Additional settings There are several additional settings that can be tweaked depending on your needs. For further information on these please refer to the articles listed under the references section.

Additional notes We recommend that you deploy the application to a clean machine by copying it manually to ensure that regular deployment works prior to trying ClickOnce. ClickOnce is supported on Firefox using a plugin available for download from http://www.softwarepunk.com/ffclickonce/. References Windows Forms 2.0 Programming by Chris Sells and Michael Weinhardt. o Chapter 19 ClickOnce deployment is invaluable. Authenticode - http://www.microsoft.com/technet/archive/security/topics/secaps/authcode.mspx?mfr=true Questions / Comments? Please send us your feedback by sending an email to support@syncfusion.com. We love to hear from you. The Syncfusion Essential Studio Team