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!
Again, not sure if it was the best way, but it works! Haha