Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
Improved check + changed wording
Browse files Browse the repository at this point in the history
  • Loading branch information
dongle-the-gadget committed Aug 30, 2021
1 parent 8c762db commit 0a7b7c4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions W11ISO/Pages/LocationPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ private void CheckOrig()
OrigISOError.Visibility = Visibility.Visible;
OrigISOError.Content = "The specified ISO file does not exist.";
}
else
{
OrigISOError.Visibility = Visibility.Collapsed;
}
}
catch (Exception ex)
{
Expand All @@ -116,6 +120,10 @@ private void CheckOrig()
WorkingDirError.Visibility = Visibility.Visible;
WorkingDirError.Content = "The working directory is not empty.";
}
else
{
WorkingDirError.Visibility = Visibility.Collapsed;
}
}
catch (Exception ex)
{
Expand All @@ -136,6 +144,10 @@ private void CheckOrig()
ProductError.Visibility = Visibility.Visible;
ProductError.Content = "The specified ISO file exists.";
}
else
{
ProductError.Visibility = Visibility.Collapsed;
}
}
catch (Exception ex)
{
Expand Down
2 changes: 1 addition & 1 deletion W11ISO/Pages/WelcomePage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</Grid.RowDefinitions>

<TextBlock Text="Welcome" FontWeight="Bold" FontSize="36" TextWrapping="Wrap" />
<TextBlock Grid.Row="1" Text="This wizard will help you through creating a no TPM or Secure Boot check Windows 11 ISO." FontWeight="SemiBold" FontSize="18" TextWrapping="Wrap" />
<TextBlock Grid.Row="1" Text="This wizard will help you through creating a Windows 11 ISO without TPM or Secure Boot checks." FontWeight="SemiBold" FontSize="18" TextWrapping="Wrap" />

<Grid Grid.Row="3">
<Grid.ColumnDefinitions>
Expand Down

0 comments on commit 0a7b7c4

Please sign in to comment.