Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.SVG not registered properly for Win 10 causes unable-to-open-Solo-files #130

Open
PropGit opened this issue Aug 31, 2021 · 0 comments
Open
Assignees

Comments

@PropGit
Copy link
Contributor

PropGit commented Aug 31, 2021

Problem (this is extracted from a customer support issue):

The problem was that the SVG file settings had been changed in the Windows registry, and because Google Chrome is respecting the Windows registry settings it was unable to open .svg files properly.

I think it would be reasonable to assume that one of the Paint programs made the change during installation. The settings had been changed to an older style which Windows 10 no longer uses (but win XP/7/8 did use), so it caused some havoc !! I guess the developers of the Paint software are trying to support the older Windows versions still.

When we met on the phone the last time, I fixed the problem at one place in your Windows registry. And of course as soon as I put the phone down and thought over the situation, I realised I hadn't changed it in another place to match. I didn't want to call you back and disturb you again, so instead I wrote that little script which makes the fix automatically.

If you ever re-install one of the Paint programs and find the same problem starts, just run that SVG_REGFIX.bat again, and all will be well !
What it does is tell Windows that files ending in ".svg" should be interpreted as SVG+XML files (which is what they need to be on Windows 10 and onwards).

Solution:

To resolve the issue, need to reset the SVG settings in Windows registry. The script should solve in most cases. There might be a case where the svg+xml type doesn't exist in known types either, so that might also need adding. But I'd expect the script (which sets which type is used to svg+xml) would work in win10.

so if a customer cannot open .svg files, run the script, or edit registry manually using the command in the script.
The script:
reg add "HKEY_CLASSES_ROOT\.svg" /v "Content Type" /t REG_SZ /d "image/svg+xml" /f
mshta "about:<script>alert('SVG Repair completed! Press OK and then restart your computer.');close()</script>"

  1. Save the script, right-click the file, and choose "Run as Administrator". Select OK, and YES to any security messages.

  2. You should see a pop-up window that says "SVG Repair completed! Press OK and then restart/reboot your computer."

  3. Restart your computer

  4. Then try opening Google Chrome again, visit the https://solo.parallax.com webpage, and try to "OPEN" one of your saved .svg files.

Potential Future Solution:

might be worth considering having launcher verify the windows registry setting for .svg files is correct. I suggest this because Chrome based browsers (and therefore Solo) rely on the registry setting being correct.

Important SVG settings occur In two registry locations- one is described at the following forum link. The attached images show both places in regedit.

https://forums.parallax.com/discussion/comment/1527820/#Comment_1527820

@PropGit PropGit self-assigned this Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant