As per the title, how do I set the application id of a native Windows desktop application?
Documentation on Application Id's is sparse and I haven't found anything about setting it.
There is this Microsoft Docs but this mentions what it is and how to use AppUserModelId's
I am using Inno Setup Compiler to create an installer for my desktop application and I have set the flag AppId
to a GUID generated by Inno Setup Compiler.
AppId={{6BE5E5E6-68BF-4AF7-A9E5-FF919709E86C}
My understanding is that Inno Setup will set up the AppId
when you are running the installer, but when I run this PowerShell snippet, I am unable to find my application after installation (this snippet shows the AppId as IdentifyingNumber
):
get-wmiobject Win32_Product -Filter "Name LIKE 'MyApp%'"
Everything works as expected in my application though. It starts up and everything, but I need the AppId
to be set in order for my toast notifications to work correctly (via wxWidgets).
Edit:
What I was actually after was AppUserModelId
and not AppId
which is what was even mentioned in my question here, ironically.
2nd Edit:
I've learnt that the AppId
is a Inno Setup specific thing and not anything to do with Windows. As mentioned in my previous edit, what I was actually looking for is the AppUserModelId
and my issue became more clear which has been put into this question.
I find it interesting regardless that some applications I can query with the Powershell snippet and I get results back, but for my application I get no result