@@ -28,6 +28,7 @@ The Azure Stack Development Kit installer UI script is based on PowerShell and t
2828
2929# region Text
3030$Text_Generic = @ {}
31+ $Text_Generic.Version = " 1.0.06"
3132$Text_Generic.Password_NotMatch = " Passwords do not match"
3233$Text_Generic.Regex_Fqdn = " <yourtenant.onmicrosoft.com> can only contain A-Z, a-z, 0-9, dots and a hyphen"
3334$Text_Generic.Regex_Computername = " Computername must be 15 characters or less and can only contain A-Z, a-z, 0-9 and a hyphen"
@@ -543,7 +544,11 @@ $Xaml = @'
543544 <Grid>
544545 <DockPanel LastChildFill="True" >
545546 <StackPanel DockPanel.Dock="Left" Width="550" HorizontalAlignment="Left" Margin="50,0,0,0" >
546- <TextBlock FontSize="24" FontFamily="Segoe UI Light" Foreground="#EBEBEB" Margin="0,25,0,0" Text="Microsoft Azure Stack" />
547+ <StackPanel Orientation="Horizontal" Margin="0,25,0,0">
548+ <TextBlock FontSize="24" FontFamily="Segoe UI Light" Foreground="#EBEBEB" Text="Microsoft Azure Stack" />
549+ <TextBlock FontSize="11.5" FontFamily="Segoe UI Light" Foreground="#EBEBEB" Margin="210,3,0,0" Text="Installer UI version: " />
550+ <TextBlock x:Name="Control_Header_Tbl_Version" FontSize="11.5" FontFamily="Segoe UI Light" Foreground="#FF4590CE" Margin="0,3,0,0" />
551+ </StackPanel>
547552 <TextBlock FontSize="44" FontFamily="Segoe UI Light" Foreground="#EBEBEB" Text="Development Kit" />
548553 <TextBlock x:Name="Control_Header_Tbl_Title" FontSize="20" FontFamily="Segoe UI" Foreground="#EBEBEB" Margin="0,50,0,30" Text="Title" />
549554 <!--#region Mode-->
@@ -836,6 +841,10 @@ $xaml.SelectNodes("//*[@*[contains(translate(name(.),'n','N'),'Name')]]") | Wher
836841# endregion
837842
838843# region Data
844+ # region Version
845+ $syncHash.Control_Header_Tbl_Version.Text = $Text_Generic.Version
846+ # endregion
847+
839848# region AuthEndpoints
840849$AuthEndpoints = @ {
841850 ' Azure Cloud' = @ {
@@ -1677,6 +1686,10 @@ If ($synchash.Control_NetConfig_Tbx_TimeServer.Text.Length -gt 0){
16771686 $InstallScript += " -TimeServer "
16781687 $InstallScript += $synchash.Control_NetConfig_Tbx_TimeServer.Text
16791688 }
1689+ Else {
1690+ $InstallScript += " -TimeServer "
1691+ $InstallScript += " pool.ntp.org"
1692+ }
16801693
16811694$syncHash.Control_Summary_Tbx_Content1.Text = $InstallScript
16821695
@@ -1751,6 +1764,9 @@ Function F_Install {
17511764 If ($synchash.Control_NetConfig_Tbx_TimeServer.Text.Length -gt 0 ){
17521765 ' -TimeServer "' + $synchash.Control_NetConfig_Tbx_TimeServer.Text + ' "' | Add-Content $filepath - NoNewline
17531766 }
1767+ Else {
1768+ ' -TimeServer "' + ' pool.ntp.org' + ' "' | Add-Content $filepath - NoNewline
1769+ }
17541770
17551771 # endregion
17561772
0 commit comments