Font Size Adjustment for Welcome Prompt

Hi Everyone,

I want to increase the font size of the message(s) in the “Welcome Prompt” when my custom PSAppDeployToolkit application runs.

I want to do the following two things:

  • Increase the font size of the application installer name (#1)
  • Increase the font size of the “ClosePrompt_Message” variable in the “AppDeployToolkitconfig.xml” file but keep the default font used (#2). Speaking of that, how do I know which font is used by PSAppDeployToolkit?

I previously found this thread which was helpful but it was incomplete for my use:

Thanks for all the help everyone.

open AppDeployToolkitMain.ps1 look for Function Show-WelcomePrompt

I’m guessing the following is your #1

		## Label App Name
		$labelAppName.DataBindings.DefaultDataSourceUpdateMode = 0
		$labelAppName.Font = 'Microsoft Sans Serif, 10pt, style=Bold'
		$labelAppName.Name = 'labelAppName'

and I’m guessing this is your #2:

		## Label Welcome Message
		$labelWelcomeMessage.DataBindings.DefaultDataSourceUpdateMode = 0
		$labelWelcomeMessage.Name = 'labelWelcomeMessage'

for this one you’ll need to add a line:

		$labelWelcomeMessage.Font = 'Microsoft Sans Serif, 12pt, style=Bold'

You should be able to figure it out from this.

Thanks for the quick response! I will test this later today and get back to you.

@That-Annoying-Guy thanks again for helping me, it was that simple once I figured out where to go.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.