PSADT - Toast notification logo and icon

Hey everyone,

I’m currently looking to deploy apps with PSADT and was looking to get a bit more info in terms of the toast notification during installation.

I wanted to customize the toast notification so that it shows our company logo and company name for the title in the attribution area but then show the app logo in the visual area.

I was able to modify the title using the ADTConfig XML but unfortunately the logo for both the visual and the title seems to be the same.

I thought it would use the same .ico logo that’s used for the prompt UI, but it seems to be using the AppDeployToolkitLogo.png instead.

I’ve attached a picture a screenshot to better explain what I mean.

Is there any way to modify this in the AppDeployToolkitMain.ps1 file ?

Thanks in advance!

You may want to have a read of this: Customizing Deployments · PSAppDeployToolkit

Any questions feel free to ask :slight_smile:

Hey there!

Thanks for the link, appreciate it.

I actually did already go over PSADT’s documentation as well as other posts in this forum and Reddit as well.

What I realized is that the toast notification used the same picture (AppDeployToolkitLogo.png) for both the icon in the title as well as the app logo in the visual section.

After quite a bit of testing, I ended up making it work every time by modifying a couple of stuff in the ADTMain script.

Not sure if it’s the best way to go about it but, for those wondering, what I’ve done is add a section before the pre-installation with a command to copy both logos (my company’s logo and the app’s logo) into a folder in the C: drive.

Afterwards, for the title logo (my company’s logo), I’ve changed the IconUri registry key value (New-ItemProperty -Path “$regPathToastApp$toastAppId” -Name ‘IconUri’), which is $appDeployLogoImage by default, to the path where I copied my company’s logo.

And then for the app logo in the visual section (toast launch=“app-defined-string”), I changed the image id (<image id=“1” src=), which is file://$appDeployLogoImage by default, to the path where I copied the app’s logo.

In my template all I have to do every time is to change the app logo picture and it overwrites the previous logo before any new installation starts.

All this was honestly just for an extra visual factor, I think it looks cool when the toast notification shows our company name and logo in the title, but shows the app logo in the visual area! :stuck_out_tongue_closed_eyes:

Again, not sure if it was the best way, but it works! Haha

1 Like

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