Hello
Thank you for your question and reaching out.
Windows provides access to the application package's location.Path property for ApplicationModel.Package.Current.InstalledLocation.
--If the reply is helpful, please Upvote and Accept as answer--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
My .NET MAUI desktop application for windows needs an .exe file and a dll (in c++) for a particular functionality. This DLL and .exe are required to be in system32. Is it possible to create an installation package (MSIX) so that the .exe and the dll are copied to system32? Or run some powershell or bat script to do the same.
Hello
Thank you for your question and reaching out.
Windows provides access to the application package's location.Path property for ApplicationModel.Package.Current.InstalledLocation.
--If the reply is helpful, please Upvote and Accept as answer--