Marking up the view
The last piece of the puzzle is the WPF window itself, which we are calling, in MVVM parlance, the view. Add a WPF User Control
file called InstallView
to the Views
folder. We will need to change the file to use the Window
element instead of the UserControl
element. Replace the markup in the InstallView.xaml
file with the following code:
<Window x:Class="CustomBA.Views.InstallView" xmlns= "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc= "http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d= "http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300"> <Window.Resources> <Style TargetType="{x:Type ...
Get WiX 3.6: 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.