Chapter 3. Putting Properties and AppSearch to Work

WiX uses variables, called properties, to store data during the course of the installation. It's a temporary storage, so it won't persist once the installation is complete. However, it's the only way to pass information from one action during the install to another. For example, to collect a username and password from the end user you'll need to store them in properties. Then, you might pass them to another part of the install, use them in an outside executable or assembly, or save them to the Registry. You can also use properties in conditional statements that can alter the flow of the install or stop it if some piece of data isn't right.

In this chapter, you will learn:

  • The syntax for declaring ...

Get WiX: A Developer's Guide to Windows Installer XML 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.