Skip to content

Bootstrapper Overview

Richard Martin edited this page Mar 25, 2024 · 2 revisions

Before getting into the BA code, take a look at the project structure. You'll notice there are a few files at the project root. Otherwise, models, views, and view models have been placed in folders to keep them organized. If you guessed this project is using the MVVM design pattern, you'd be correct.

The Models folder contains all code shared between the BA and the UI.

In the Phases folder are event handlers for the detect, plan, and apply phases. These handlers are the heart of the BA. There also handlers for the important tasks of cancellation and progress reporting.

In Models\State you'll find classes for managing application state. There's a lot of state to manage and I've found it helpful to separate that from the task of managing the software deployment.

Under both the Models and ViewModels folders are Util folders. I wanted to separate scaffolding and helpers from the real meat. The tutorial doesn't cover these utility classes.

Previous: Bundle Source || Next: WiX Config

Clone this wiki locally