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--