I can't tell you how happy I am to be writing this post.
AppId's have been a thorn in my side for a long time. I've been using a loophole to get toasts displayed which recent versions of Windows 10 closed. This resulted in my removing the ability to easily set a custom AppId.
The fix in the short term was to hard code BurntToast's default AppId to that of powershell.exe. This allowed toasts to be displayed again, but in the Action Center they would appear greyed out… not nice.
That's no longer the case.
First, I'd like to thank Adam Driscoll for providing the thread to pull on to solve this issue.
Over on GitHub you'll find an msi you can use to "install" a dummy application for BurntToast complete with an AppId laden shortcut in the start menu.
The installer isn't signed, so you will get a warning when you run it.
It'll put a PNG file into "C:\Program Files\BurntToast\" and throw a shortcut to that file into your start menu.
To actually use it, find the directory where the BurntToast module lives and open config.json. Change the AppId in this file to "King.Geek.NZ!BurntToast"
If you don't know where the module is installed, run this:
Get-Module -Name BurntToast -ListAvailable | Select -Property ModuleBase
Proof Is in the (Bread and Butter) Pudding
And here's the result:
The next version of this installer will likely change the configured AppId in BurntToast automatically. And the next version of BurntToast will include a better method for updating the default AppId without having to dig up the json file.
My next blog post will be on how you can use the WiX Toolset to create your own fully working AppId, for those situations when the name BurntToast isn't suitable.