Comments (5)
Update: I har installed XMLNotepad with the winget option. I realized I got the same error message when opening XML files from Explorer.
I uninstalled with winget.
I then installed with the standalone installer https://lovettsoftwarestorage.blob.core.windows.net/downloads/XmlNotepad/XmlNotepadSetup.zip
Now both XML and SVG files opens fine in XMLNotepad.
Possibly there is an issue with the winget variant only.
This report is for XMLNotepad v 2.9.0.10
I'm running on Windows 10 22H2
from xmlnotepad.
Thanks for the bug report, I just tried it using 2.9.0.10 and it worked fine for me. Are the .svg files in a protected location by any chance? This is what I tried:
- mkdir d:\temp
- pushd temp
- git clone https://github.com/clovett/dgml.git
- cd demos\ConditionalStyles
- launch XML notepad and open a sample from the help menu
- Copy the path to XmlNotepad.exe which is something like this:
"C:\Program Files\WindowsApps\43906ChrisLovett.XmlNotepad_2.9.0.10_neutral__hndwmj480pefj\Application" - open the demos\ConditionalStyles folder in Explorer
- right click one of the .svg files and select "open with"
- past in the above path to xmlnotepad.exe and select xmlnotepad.exe
- now double click each of the svg's in this windows explorer window work and they open in a new instance of XML notepad no problem.
from xmlnotepad.
Hi Chris,
I uninstalled XL Notepad (standalone) and reinstalled with winget:
winget install Microsoft.XMLNotepad
Found XML Notepad [Microsoft.XMLNotepad] Version 2.9.0.10
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
██████████████████████████████ 100%
Successfully installed
When I open within XMLNotepad menu "Open"
G:\tmp\XMLNotepad\dgml\demos\ConditionalStyles\set.svg
The file opens fine.
If I right-click on the set.svg file in the explorer window and select Open with -> Microsoft XML Notepad then I get the same messagebox error "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."
I uninstall with winget uninstall Microsoft.XMLNotepad
The reinstall from XmlNotepadSetup.zip (standalone 2.9.0.10)
I go with windows explorer to G:\tmp\XMLNotepad\dgml\demos\ConditionalStyles
If I right-click on the set.svg file in the explorer window and select Open with -> Microsoft XML Notepad
"C:\Program Files (x86)\LovettSoftware\XmlNotepad\XmlNotepad.exe"
The set.svg file opens fine in XML Notepad
I use winget regularly to install and update applications without any problems.
But if this works fine on your machine there must be something wrong in my Windows installation.
I think you can close this issue.
Thank you very much for your efforts.
The XML Notepad is awesome by the way :)
Best regards,
Tolleif
from xmlnotepad.
Thanks for going through all this testing and reporting what you found, it is very useful. But I think you have a misstep on the winget version of XML notepad when you wrote this:
Open with -> Microsoft XML Notepad then I get the same messagebox error "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."
I think it found an old sale entry for "Microsoft XML Notepad" that didn't exist any more. When you use the winget version the Windows Open-With dialog cannot find it which is why I listed the extra steps, let me make it more clear:
- launch XML notepad and open a sample from the help menu
- Copy the path to XmlNotepad.exe which is something like this: "C:\Program Files\WindowsApps\43906ChrisLovett.XmlNotepad_2.9.0.10_neutral__hndwmj480pefj\Application\XmlNotepad.exe"
- open the demos\ConditionalStyles folder in Explorer
- right click one of the .svg files and select "open with"
- select "choose another app" at the bottom of this menu
- scroll to the bottom of the next popup menu and select "choose an app on your PC"
- Now paste in the full path to XmlNotepad.exe from step (2)
Now windows knows how to find your winget installed version. Unfortunately notice this windows app path is version specific so you will have to repeat this step each time you update to a new version. I probably should provide an admin tool that does all this for folks...
from xmlnotepad.
Closing issue to to lack of answer, but I think this one is a case that Windows does not automatically update the "Open With..." menu to point to the newly installed app, so you have to manually fix that using the Windows default apps settings page.
from xmlnotepad.
Related Issues (20)
- Error Installing on another drive HOT 5
- Feature Request - Ability to open JSON files that begin with an array HOT 2
- Feature request - Schematron validation HOT 3
- Feature request - User Templates of Prepopulated subnodes HOT 1
- Feature Request - Keyboard shortcut to comment/uncomment nodes HOT 3
- XmlNotepad detects xml-errors at empty nillable xsd:date Elements, but xml is correct
- Saving file introduces a new line at the top of the file, breaking my xml HOT 4
- Feature Request - Dark Mode/Theme HOT 1
- XSLT 2 HOT 2
- Unsharp text on high DPI screen V2.9.0.10 HOT 4
- Copy to clipboard hangs on large files HOT 3
- Not able to validate XML against multiple not referenced Schemas HOT 6
- M
- K HOT 1
- Feature Request - Replace External URL with Local File for XML References HOT 1
- Suggestion: please limit "Check for Update" HOT 3
- Suggestion: add an area for free text HOT 1
- "Updates.xml" is outdated HOT 3
- Expand (right mouse) / expand all - problems with scrolling HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmlnotepad.