Bug 409717

Summary: [Question/missing doc] CLSID
Product: [Frameworks and Libraries] Snoretoast Reporter: Thomas <thomas>
Component: generalAssignee: Hannah von Reth <vonreth>
Status: REPORTED ---    
Severity: normal CC: daniel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Thomas 2019-07-11 13:14:00 UTC
In the README, I find that you have to set your own AppID for an application to use Snoretoast. But looking at the code, "snoretoast -install" does more than just setting an AppID, it also sets a CLSID. This is never mentioned in the docs.

There are some questions that arises to me:
* Is the CLSID needed (since it isn't mentioned in the README and it is checked for beeing empty in which case "snoretoast -install" continues without; but seems like it is needed for the buttons to work https://github.com/mohabouje/WinToast/issues/35)
* Snoretoast sets a constant CLSID that changes on every version. But what if Snoretoast is shipped by two Apps, therefore remains two times on the disk, both register the same CLSID with different Locations on the Filesystem. Then the wrong Snoretoast and therefore the wrong Application will be contacted for callbacks, won't it? Is Snoretoast intended to be shipped as an exe as part of another Application?

Thanks in advance!
Thomas