Open winseros opened 2 years ago
While the example is in .NET, the basic principles remain applicable across languages so it would not matter if its written in C++
There is a great example in the Notepad++ repository: https://github.com/notepad-plus-plus/nppShell/blob/master/Installer.cpp And they did it in a smart way, so when regsvr32 is executed, if running on Windows 11, the sparse package gets registered as well. I hope it helps
The example demonstrates how to register a sparse package from a .NET app.
Apparently, a non-uwp application might be made in a number of non-.NET technologies.
How do I register my sparse package, if my application is implemented, say, in plain C++?