Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying WiX Cookbook
  • Table Of Contents Toc
WiX Cookbook

WiX Cookbook

By : Nicholas Matthew Ramirez
3.5 (10)
close
close
WiX Cookbook

WiX Cookbook

3.5 (10)
By: Nicholas Matthew Ramirez

Overview of this book

WiX is a dialect of XML used to make installers for Windows. Its declarative style avoids the complexity and limitations of procedural code, providing you with everything you need to package up an entire application into a single MSI file. This book gives you a good overview of WiX's capabilities to develop your own installer packages with functionalities beyond those available in Windows Installer. In the recipes of this book, you will see ways in which WiX can cut down on your installation time and help you streamline your deployment processes. You will see how to make customized installer UIs, write custom actions, create shortcuts, and also set your application as the default for a file type.
Table of Contents (15 chapters)
close
close
14
Index

What this book covers

Chapter 1, Organizing and Building WiX Projects, helps you to build your WiX projects right, whether that means from Visual Studio, the command line, or on a build server with automation. We'll also see how to reference the output of other projects that will be included in the installer and how to separate WiX markup into libraries.

Chapter 2, Installing Files and Directories, covers creating folders and files on the end user's computer. We'll also see how to get heat.exe to generate this sort of markup for us and how to make decisions during installation about which files to create.

Chapter 3, File and Folder Permissions, introduces recipes to set the permissions on installed files and folders. We'll also see how to create file shares and choose a default program to use when opening a custom file type.

Chapter 4, Shortcuts, digs into all things related to shortcuts. We'll see how to put an icon on a shortcut, point a shortcut to a folder, as well as place a shortcut in the most popular places: the Start menu and the desktop. We'll also touch on how to create an advertised shortcut that will give users the ability to install features on demand.

Chapter 5, Editing XML Files during Installation, will come in handy especially when altering XML-based configuration files for your software. We'll add XML elements, remove them, set attributes, and insert inner text as part of our installation.

Chapter 6, Custom Actions, focuses on making well-behaved custom actions to extend the WiX functionality. We'll see how to protect the privacy of data sent to custom actions and open console windows without showing them, and rollback failures.

Chapter 7, Installing Wizards, puts a face on our installer by plugging in one of the wizards that comes with the WiX toolset. We'll then see how to customize it with our own images, license, and dialogs.

Chapter 8, Users and Groups, discusses adding users and groups to the target computer. We'll also see how to marry the two by adding users to groups and grant users the log on as a service security setting.

Chapter 9, Handling Prerequisites, includes tactics to only install our software to systems that can support it. We'll examine ways to stop an installation if prerequisites aren't met, install .NET Framework if it's missing, and download resources from the web during installation.

Chapter 10, Installing Websites, explores adding sites to IIS. We'll cover application pools, websites, virtual directories, and web applications. We'll then top it off with a recipe to secure a website with SSL.

Chapter 11, Linking to the Web, connects our installer to online resources. We'll see how to open web pages, display hyperlinks, and install shortcuts to websites.

Chapter 12, Installing SQL Server Databases, is dedicated to recipes about deploying SQL Server databases. If SQL Server isn't already installed on the target computer, we can install it with a bootstrapper. We'll add tables, insert data, and register an ODBC data source.

Chapter 13, Admin Tasks, rounds up a collection of administrative chores, including installing scheduled tasks, adding event sources, registering performance counters, and adding exceptions to the Windows firewall.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
WiX Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon