Transcript Slide 1

Packaging and Deploying
Windows Applications
Lesson 7
Objectives
Setup and Deployment Template
Project Types
• The different Setup and Deployment
template project types:
– Setup Wizard
– Setup Project
– Merge Module Project
– Cab Project
– Web Setup Project
– ClickOnce Deployment
– Windows Service Application Installer
Setup Wizard
• Setup Wizard is the easiest option to create
a Setup Project.
• The Setup Wizard has five steps that walk
you through the Setup Project creation
process.
• If you want to create a Setup Project quickly
and with the most common configurations,
then use the Setup Wizard template.
Setup Wizard
• Setup Wizard steps include:
– Welcome
– Choose a project type
– Choose project outputs to include
– Choose files to include
– Create project
Setup Project
• The Setup Project template creates a default Setup
Project.
• Unlike the Setup Wizard template, the Setup
Project template does not walk you through the
creation process.
• You will need to manually configure each aspect of
the Setup Project.
• The Setup Project template is a more advanced
option for getting your Setup Project created, but
because the Setup Project is not automatically
configured, you have more control.
Setup and Deployment Project
Configurable Components
• File System Editor
• Registry Editor
• File Types Editor
• User Interface Editor
• Common Actions Editor
• Launch Conditions Editor
Merge Module Project
• The Merge Module Project template creates a Setup Project
that creates Windows Installer Merge Modules (MSI) files.
• A Merge Module is a setup and deployment file that can be
included in other Setup Projects and does not have a UI.
• You create a Merge Module when you have a set of
installation functionality that is common to several Setup
Projects.
• You move the common functionality to a Merge Module,
and then you can include the Merge Module in several
Setup Projects.
• Merge Modules enable your Setup Projects output to be
more modular and maintainable.
Cab Project
• Cab Project creates an install for ActiveX
components.
• An ActiveX component can be an OCX UI control
or a Component Object Model (COM) DLL.
• The Cab Project is intended for web-serverbased installations where you need to
download an ActiveX component from the Web
server to the Web browser for installation on
the client machine.
Web Setup Project
• Web Setup Project is an installer for web
server based applications on a web server.
• Use the Web Setup Project when you need to
install the application into a Virtual Root
directory on a web server.
• The Web Setup Project is not for installing
applications over the web or for installing
web applications on a client machine.
ClickOnce Deployment
• ClickOnce Deployment is a new technology
for WPF, Windows Forms, and Windows
Services/Console applications that enables
the creation of an application that is selfupdating.
• Once the application is published using
ClickOnce Deployment, it will check for
newer versions as they become available
and automatically update newer files.
Project Properties Expanders and
ClickOnce Deployment Configurations
• Publish
• Signing
• Security
Windows Server Application Installer
• Windows Service Application Installer is an
installation package created for Windows
Services applications.
• The Windows Service Application Installer
can be used only for installing Windows
Services applications.
Summary
• You learned how to use the Windows
Application distribution options and the
differences between each.
• You learned how to create a Setup Project
using the Setup Wizard and Setup Project
components.
• You learned how to create a ClickOnce
Deployment installation and configure the
ClickOnce Deployment options.