Initial release v1.01 — InstaSoft Office Tool
Office deployment wizard for InstaSoft customers: - Install Office 2019/2021/2024 (Standard, Professional Plus, Home & Business) - Auto-download ODT from Microsoft, generate config XML, run setup - Remove existing Office installations (C2R + MSI) - License troubleshooting via ospp.vbs (dstatus, unpkey) - Fluent Design UI (WPF .NET Framework 4.8, Win7+ compatible) - Hungarian interface, multi-language Office installation - Product key input with auto-activation support Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
73
MainWindow.xaml
Normal file
73
MainWindow.xaml
Normal file
@@ -0,0 +1,73 @@
|
||||
<Window x:Class="InstaSoftOfficeTool.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="InstaSoft Office Tool"
|
||||
Width="800" Height="550"
|
||||
ResizeMode="NoResize"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Background="{StaticResource BackgroundBrush}">
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="64"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="60"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Header bar -->
|
||||
<Border Grid.Row="0" Background="{StaticResource HeaderBarBrush}"
|
||||
BorderBrush="{StaticResource BorderBrush}" BorderThickness="0,0,0,1">
|
||||
<Grid Margin="24,0">
|
||||
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
||||
<!-- Microsoft 4-color logo -->
|
||||
<Grid Width="24" Height="24" Margin="0,0,12,0">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Rectangle Grid.Row="0" Grid.Column="0" Fill="#F35325" Margin="0,0,1,1"/>
|
||||
<Rectangle Grid.Row="0" Grid.Column="1" Fill="#81BC06" Margin="1,0,0,1"/>
|
||||
<Rectangle Grid.Row="1" Grid.Column="0" Fill="#05A6F0" Margin="0,1,1,0"/>
|
||||
<Rectangle Grid.Row="1" Grid.Column="1" Fill="#FFBA08" Margin="1,1,0,0"/>
|
||||
</Grid>
|
||||
<StackPanel VerticalAlignment="Center">
|
||||
<TextBlock Text="InstaSoft Office Tool" FontSize="16" FontWeight="SemiBold"
|
||||
Foreground="{StaticResource TextPrimaryBrush}"/>
|
||||
<TextBlock Text="Microsoft Partner" FontSize="11"
|
||||
Foreground="{StaticResource TextSecondaryBrush}" Margin="0,-2,0,0"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
<TextBlock Text="v1.0" HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
FontSize="12" Foreground="{StaticResource TextSecondaryBrush}"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<!-- Content area -->
|
||||
<Frame x:Name="ContentFrame" Grid.Row="1" NavigationUIVisibility="Hidden"
|
||||
Margin="0" Background="Transparent"/>
|
||||
|
||||
<!-- Bottom bar: step dots + navigation -->
|
||||
<Border Grid.Row="2" Background="{StaticResource HeaderBarBrush}"
|
||||
BorderBrush="{StaticResource BorderBrush}" BorderThickness="0,1,0,0">
|
||||
<Grid Margin="24,0">
|
||||
<!-- Step indicator dots -->
|
||||
<StackPanel x:Name="StepIndicator" Orientation="Horizontal"
|
||||
HorizontalAlignment="Left" VerticalAlignment="Center">
|
||||
</StackPanel>
|
||||
|
||||
<!-- Navigation buttons -->
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center">
|
||||
<Button x:Name="BtnBack" Content="← Vissza" Style="{StaticResource SecondaryButton}"
|
||||
Click="BtnBack_Click" Margin="0,0,8,0" Visibility="Collapsed"/>
|
||||
<Button x:Name="BtnNext" Content="Tovább →" Style="{StaticResource PrimaryButton}"
|
||||
Click="BtnNext_Click" Visibility="Collapsed"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user