Chapter 13. Admin Tasks

In this chapter, we will cover the following:

  • Setting an environment variable
  • Creating a scheduled task
  • Defining a new event source for the Windows event viewer
  • Registering a performance counter
  • Adding an exception to the Windows Firewall

Introduction

There are a number of install-time chores that I would categorize as administrative tasks—jobs that set up the user's environment. In this chapter, we'll lump a few of these items together and see how to perform them with WiX. We'll cover the very simple chore of adding an environment variable to more complex jobs such as creating a scheduled task or a performance counter.

Get WiX Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.