microsoft / XmlNotepad

XML Notepad provides a simple intuitive User Interface for browsing and editing XML documents.
https://microsoft.github.io/XmlNotepad/
MIT License
980 stars 207 forks source link

Register for XML filetype during installation #101

Closed stevebow closed 3 years ago

stevebow commented 3 years ago

After XML Notepad has been installed, it does not appear in the list of programs to choose from when opening an XML file via “Open with…”. While you can of course add XML Notepad manually, it would be convenient if it were available when installed. Especially for the ClickOnce version, as it is installed in an obscure location making it difficult to find to add manually.

lovettchris commented 3 years ago

Yes, I think this can be done also in the standalone installer and by first launch of the app after clickonce install.

lovettchris commented 3 years ago

I changed XmlNotepad.exe so that when you run it it self-registers the .xml file type association - this way it will work no matter which installer you use to install it.