WiX 3.6: A Developer's Guide to Windows Installer XML

Nick Ramirez

  • 出版商: Packt Publishing
  • 出版日期: 2012-11-22
  • 售價: $2,050
  • 貴賓價: 9.5$1,948
  • 語言: 英文
  • 頁數: 488
  • 裝訂: Paperback
  • ISBN: 1782160426
  • ISBN-13: 9781782160427
  • 相關分類: XML
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

If you're a developer needing to create installers for Microsoft Windows, then this book is essential. It's a step-by-step tutorial that teaches you all you need to know WiX 3.6: the professional way to produce a Windows installer package.

Overview

  • Brings the reader up to speed on all of the major features of WiX, including the new bootstrapper engine, Burn.
  • Provides a richer understanding of the underlying Windows Installer technology.
  • Showcases the flexibility and versatility of WiX, with a few tips and tricks along the way.

In Detail

The cryptic science of Windows Installer can seem far off from the practical task of simply getting something installed. Luckily, we have WiX to simplify the matter. WiX is an XML markup, distributed with an open-source compiler and linker, used to produce a Windows Installer package. It is used by Microsoft and by countless other companies around the world to simplify deployments.

"WiX 3.6: A Developer's Guide to Windows Installer XML" promises a friendly welcome into the world of Windows Installer. Starting off with a simple, practical example and continuing on with increasingly advanced scenarios, the reader will have a well-rounded education by book's end .

With the help of this book, you'll understand your installer better, create it in less time, and save money in the process. No one really wants to devote a lifetime to understanding how to create a hassle-free installer. Learn to build a sophisticated deployment solution targeting the Windows platform in no time with this hands-on practical guide. Here we speed you through the basics and zoom right into the advanced. You'll get comfortable with components, features, conditions and actions. By the end, you’ll be boasting your latest deployment victories at the local pub.

Once you've finished "WiX 3.6: A Developer's Guide to Windows Installer XML", you'll realize just how powerful and awesome an installer can really be.

What you will learn from this book

  • Register with Add/Remove Programs and build in a consistent way to uninstall your software.
  • Customize an easy to navigate install Wizard.
  • Gain an understanding of the order in which events happen during an install and how to hook into this process.
  • Learn how WiX builds and links your files into the final MSI package and how to fine tune this process.
  • Make your project more modular with Fragments, Components, and ComponentGroups.
  • Prevent users from installing your software on unsupported operating systems and introduce other prerequisite checks.
  • Install, start, stop, and uninstall Windows services at the time of setup.
  • Bootstrap required dependencies before installing your own software.

Approach

A step-by-step tutorial with plenty of code and examples to improve your learning curve.

Who this book is written for

If you are a developer and want to create installers for software targeting the Windows platform, then this book is for you. You'll be using plenty of XML and ought to know the basics of writing a well-formed document. No prior experience in WiX or Windows Installer is assumed. You should know your way around Visual Studio to compile projects, add project references and tweak project properties.

商品描述(中文翻譯)

如果你是一位需要為 Microsoft Windows 創建安裝程式的開發人員,那麼這本書是必不可少的。這是一本逐步教學的指南,教你如何使用 WiX 3.6:一種專業的方式來製作 Windows 安裝程式套件。

概述:
- 讓讀者熟悉 WiX 的所有主要功能,包括新的引導程序引擎 Burn。
- 提供對底層 Windows Installer 技術的更深入理解。
- 展示 WiX 的靈活性和多功能性,並提供一些技巧和訣竅。

詳細內容:
Windows Installer 這種神秘的科學似乎與簡單地安裝某些東西的實際任務相去甚遠。幸運的是,我們有 WiX 來簡化這個問題。WiX 是一種 XML 標記語言,配備了一個開源的編譯器和鏈接器,用於生成 Windows 安裝程式套件。它被微軟和世界各地無數其他公司使用,以簡化部署過程。

《WiX 3.6:Windows Installer XML 開發人員指南》承諾友好地引領讀者進入 Windows Installer 的世界。從一個簡單實用的示例開始,逐漸進入越來越高級的場景,讀者將在書的結尾獲得全面的教育。

通過這本書的幫助,你將更好地理解你的安裝程式,節省時間並節省金錢。沒有人真的想花一生的時間來理解如何創建一個無憂無慮的安裝程式。通過這本實用指南,你將在短時間內學會在 Windows 平台上構建一個複雜的部署解決方案。我們將快速介紹基礎知識,並迅速進入高級內容。你將熟悉組件、功能、條件和操作。最後,你將在當地酒吧炫耀你最新的部署成果。

完成《WiX 3.6:Windows Installer XML 開發人員指南》後,你將意識到安裝程式的強大和令人驚嘆。

你將從這本書中學到什麼:
- 在「新增/移除程式」中註冊並以一致的方式構建卸載軟體。
- 自定義易於導航的安裝精靈。
- 瞭解安裝過程中事件發生的順序以及如何鉤入此過程。
- 瞭解 WiX 如何將文件構建和鏈接到最終的 MSI 套件中,以及如何微調此過程。
- 通過片段、組件和組件組使項目更具模塊化。
- 防止用戶在不支援的操作系統上安裝軟體,並引入其他先決檢查。
- 在安裝時安裝、啟動、停止和卸載 Windows 服務。
- 在安裝自己的軟體之前引導所需的依賴項。

這是一本逐步教學的指南,提供大量的代碼和示例,以提高你的學習曲線。

這本書適合開發人員,並且想要為針對 Windows 平台的軟體創建安裝程式。你將使用大量的 XML,並且應該瞭解撰寫格式良好文件的基礎知識。不需要 WiX 或 Windows Installer 的先前經驗。你應該熟悉使用 Visual Studio 編譯項目、添加項目引用和調整項目屬性的方法。