diff options
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/burn/WixToolset.WixBA/InstallationViewModel.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/burn/WixToolset.WixBA/InstallationViewModel.cs b/src/test/burn/WixToolset.WixBA/InstallationViewModel.cs index e056b943..3a71779a 100644 --- a/src/test/burn/WixToolset.WixBA/InstallationViewModel.cs +++ b/src/test/burn/WixToolset.WixBA/InstallationViewModel.cs | |||
| @@ -53,9 +53,9 @@ namespace WixToolset.WixBA | |||
| 53 | /// </summary> | 53 | /// </summary> |
| 54 | public class InstallationViewModel : PropertyNotifyBase | 54 | public class InstallationViewModel : PropertyNotifyBase |
| 55 | { | 55 | { |
| 56 | private RootViewModel root; | 56 | private readonly RootViewModel root; |
| 57 | 57 | ||
| 58 | private Dictionary<string, int> downloadRetries; | 58 | private readonly Dictionary<string, int> downloadRetries; |
| 59 | private bool downgrade; | 59 | private bool downgrade; |
| 60 | private string downgradeMessage; | 60 | private string downgradeMessage; |
| 61 | 61 | ||
| @@ -407,7 +407,7 @@ namespace WixToolset.WixBA | |||
| 407 | 407 | ||
| 408 | private void DetectBegin(object sender, DetectBeginEventArgs e) | 408 | private void DetectBegin(object sender, DetectBeginEventArgs e) |
| 409 | { | 409 | { |
| 410 | this.root.DetectState = e.Installed ? DetectionState.Present : DetectionState.Absent; | 410 | this.root.DetectState = RegistrationType.Full == e.RegistrationType ? DetectionState.Present : DetectionState.Absent; |
| 411 | WixBA.Model.PlannedAction = LaunchAction.Unknown; | 411 | WixBA.Model.PlannedAction = LaunchAction.Unknown; |
| 412 | } | 412 | } |
| 413 | 413 | ||
