万本电子书0元读

万本电子书0元读

顶部广告

WiX Cookbook电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Nick Ramirez

出  版  社:Packt Publishing

出版时间:2015-01-30

字       数:135.4万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
If you are a developer with a good understanding of WiX projects and would like to further explore advanced WiX topics, this book is for you. To get the most out of this book, knowledge of proper XML syntax is recommended.
目录展开

WiX Cookbook

Table of Contents

WiX Cookbook

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Organizing and Building WiX Projects

Introduction

Installing WiX and creating a new project in Visual Studio 2013

Getting ready

How to do it…

How it works…

There's more…

Referencing the output of a .NET console application in a WiX project by using a preprocessor variable

Getting ready

How to do it…

How it works…

Separating a portion of WIX markup into its own library

Getting ready

How to do it…

How it works…

There's more…

Compiling a WiX installer on a build machine using MSBuild

Getting ready

How to do it…

How it works…

Building a WiX installer from the command line

Getting ready

How to do it…

How it works…

2. Installing Files and Directories

Introduction

Installing directories onto the target computer

Getting ready

How to do it…

How it works…

Adding a file to a directory

Getting ready

How to do it…

How it works…

There's more…

Installing a 64-bit executable file to Program Files

Getting ready

How to do it…

How it works…

There's more…

Including one component or another depending on the condition

Getting ready

How to do it…

How it works…

There's more…

Using the heat.exe tool to generate components

Getting ready

How to do it…

How it works…

There's more…

3. File and Folder Permissions

Introduction

Changing the permissions on a folder for a user

Getting ready

How to do it…

How it works…

There's more…

Changing the permissions on a file for a user

Getting ready

How to do it…

How it works…

Marking a file as read only

Getting ready

How to do it…

How it works…

Creating a file share

Getting ready

How to do it…

How it works…

Setting the default program for a file type

Getting ready

How to do it...

How it works...

There's more...

4. Shortcuts

Introduction

Adding an application shortcut to the Start menu

Getting ready

How to do it...

How it works...

There's more...

Adding an icon to a shortcut

Getting ready

How to do it...

How it works...

There's more...

Placing a shortcut on the desktop

Getting ready

How to do it...

How it works...

Creating a shortcut to a folder

Getting ready

How to do it...

How it works...

Creating an advertised shortcut that installs a feature on demand

Getting ready

How to do it...

How it works...

There's more...

5. Editing XML Files during Installation

Introduction

Adding a new element to an XML file during installation

Getting ready

How to do it...

How it works...

There's more...

Setting the value of an attribute on an XML element

Getting ready

How to do it...

How it works...

Inserting inner text into an XML element

Getting ready

How to do it...

How it works...

There's more...

Adding an XML element only if it does not already exist

Getting ready

How to do it...

How it works...

Removing an XML element

Getting ready

How to do it...

How it works...

6. Custom Actions

Introduction

Creating a C# custom action and referencing it in your project

Getting ready

How to do it...

How it works...

There's more...

Passing information entered by a user to a deferred custom action

Getting ready

How to do it...

How it works...

Preventing custom action data from being displayed in the install log

Getting ready

How to do it...

How it works...

Running an executable as a custom action without showing a console window by using CAQuietExec

Getting ready

How to do it...

How it works...

There's more...

Testing rollback custom actions with WixFailWhenDeferred

Getting ready

How to do it...

How it works...

7. Installing Wizards

Introduction

Adding a wizard to guide users through the installation

Getting ready

How to do it...

How it works...

There's more…

Changing the logo images and default license agreement text of the wizard

Getting ready

How to do it...

How it works...

Customizing the wizard by adding a new dialog window to it

Getting ready

How to do it...

How it works...

Deciding which dialog to show next depending on the user's choices

Getting ready

How to do it...

How it works...

Setting a property based on user input

Getting ready

How to do it...

How it works...

8. Users and Groups

Introduction

Creating a local user

Getting ready

How to do it...

How it works...

Adding a new user to a new group

Getting ready

How to do it...

How it works...

Adding a new user to an existing group

Getting ready

How to do it...

How it works...

Adding an existing user to a new group

Getting ready

How to do it...

How it works...

Adding a new user with the log on as a service security setting

Getting ready

How to do it...

How it works...

9. Handling Prerequisites

Introduction

Stopping the installation with a launch condition

Getting ready

How to do it...

How it works...

There's more...

Installing only to supported versions of Windows

Getting ready

How to do it...

How it works...

There's more...

Redistributing the .NET Framework with a bootstrapper

Getting ready

How to do it...

How it works...

Executing either a 64-bit or 32-bit MSI depending on the user's operating system

Getting ready

How to do it...

How it works...

Downloading resources from the Web with a web installer

Getting ready

How to do it...

How it works...

10. Installing Websites

Introduction

Spinning up a new application pool in IIS

Getting ready

How to do it...

How it works...

Adding a website to IIS that runs under your app pool

Getting ready

How to do it...

How it works...

There's more...

Creating a virtual directory

Getting ready

How to do it...

How it works...

Adding a web application to IIS

Getting ready

How to do it...

How it works...

Setting up a website to use SSL

Getting ready

How to do it...

How it works...

11. Linking to the Web

Introduction

Adding a hyperlink control to a wizard dialog

Getting ready

How to do it...

How it works...

Opening an installed HTML file after a successful installation

Getting ready

How to do it...

How it works...

There's more...

Launching a web page when a user uninstalls our software

Getting ready

How to do it...

How it works...

Installing a shortcut that opens a web page

Getting ready

How to do it...

How it works...

Updating programs and features to show a link to our company's website

Getting ready

How to do it...

How it works...

12. Installing SQL Server Databases

Introduction

Installing a SQL Server instance with a bootstrapper

How to do it...

How it works...

Adding a database to a SQL Server instance

Getting ready

How to do it...

How it works...

Creating a table within a SQL Server database

Getting ready

How to do it...

How it works...

Inserting data into a database table

Getting ready

How to do it...

How it works...

Creating an ODBC data source for a SQL Server instance

Getting ready

How to do it...

How it works...

13. Admin Tasks

Introduction

Setting an environment variable

Getting ready

How to do it...

How it works...

There's more...

Creating a scheduled task

Getting ready

How to do it...

How it works...

Defining a new event source for the Windows event viewer

Getting ready

How to do it...

How it works...

Registering a performance counter

Getting ready

How to do it...

How it works...

Adding an exception to Windows Firewall

Getting ready

How to do it...

How it works...

Index

累计评论(0条) 2个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部