MuseScore 2.0.2 won't start on Windows 10 if Windows Firewall was not running during install
I just installed MuseScore on my Windows 10 pc (64-bit) and tried to run it without success. When I started it, it immediately closed itself without showing anything on the screen. I also tried the unsupported versions with the same result.
Then I reinstalled the standard version and tried to run it with the -d (debug) commandline flag. To my big suprise MuseScore then started and runs without any problem. It still doesn't run when I omit the -d flag
GIT commit: f51dc11
Comments
Same problem. Also note that running MuseScore.exe from the commandline with no flags doesn't write any output.
Do the previous discussions at https://musescore.org/en/node/84146 and https://musescore.org/en/node/92116 help at all?
I tested using ABL's batch script and got the following log
I embedded my MuseScore installation into ABL's debug script and got the following:
warning: Mscore: fatal error: cannot load internal font <:/fonts/MuseJazz.ttf>
warning: Mscore: fatal error: cannot load internal font <:/fonts/FreeSans.ttf>
warning: Mscore: fatal error: cannot load internal font <:/fonts/FreeSerif.ttf>
warning: Mscore: fatal error: cannot load internal font <:/fonts/FreeSerifBold.ttf>
warning: Mscore: fatal error: cannot load internal font <:/fonts/FreeSerifItalic.ttf>
warning: Mscore: fatal error: cannot load internal font <:/fonts/FreeSerifBoldItalic.ttf>
warning: Mscore: fatal error: cannot load internal font <:/fonts/mscoreTab.ttf>
warning: Mscore: fatal error: cannot load internal font <:/fonts/mscore-BC.ttf>
warning: Mscore: fatal error: cannot load internal font <:/fonts/bravura/BravuraText.otf>
warning: Mscore: fatal error: cannot load internal font <:/fonts/gootville/GootvilleText.otf>
warning: Mscore: fatal error: cannot load internal font <:/fonts/mscore/MScoreText.ttf>
which is consistent with the fact that I cannot print scores: it only prints some basis lines, but no notes etc.
Question is now:
- aren't these fonts part of the installation package?
- if not, where can I get them and where should I put them?
- if they are, why are they not installed properly?
These fonts are normally compiled into the executable file itself on Windows, so it doesn't make sense to me that they can't be loaded.
Found it!
Windows prohibits installing fonts if the Windows Firewall is not started. I use another firewall, so this was going on in my case. So I started the Windows firewall, ran an MuseScore installation/repair, and PRONTO everything was working!
Microsoft is crazy.
Thanks to ABL, who pointed to http://superuser.com/questions/957907/unable-to-install-fonts-on-window…
Is there anything that should and/or can be done on MuseScore's end so Window's users don't run into this issue? Or atleast some message so they know what to do when this installation fails?
came up again in https://musescore.org/en/node/139101
I guess this should get added to https://musescore.org/en/handbook/known-incompatibilities
There's another option I had to disable
https://docs.microsoft.com/en-us/windows/threat-protection/block-untrus…
Same issue with 2.1
Perhaps the installer can be changed to copy the fonts to c:\windows\fonts
No, installing fonts would be just plain wrong and leading to trouble, they are built into MuseScore (and not installed by it anywhere) and additionaly installing them is causing trouble
Maybe there could be a check to see if the fonts have been installed by the administrator, to allow it to run with Block Untrusted Fonts enabled. It's likely Microsoft will make blocking untrusted fonts the default at some point.
MuseScore does not install any fonts. It does have a couple built in though.
Right, that's what I'm talking about, with Block Untrusted Fonts enabled Windows 10 will stop those built in fonts being used. The program just fails to run. If there were a check for that it could fall back to using the same fonts that had previously been installed by the administrator who enabled Block Untrusted Fonts in the first place
I repeat: MuseScore does not install any Fonts, it just uses built-in ones. Previously installed ones ones need to go away anyhow, they should haave never been installed in the first place.
MuseScore does not fail on my Windows 10 machine, so it can't really be Microsoft blocking untrusted fonts, if talking about those builit-in fonts
Windows 10 blocks fonts that are not in %windir%/Fonts, if Block Untrusted Fonts is enabled.
https://docs.microsoft.com/en-us/windows/threat-protection/block-untrus…
If I disable this setting MuseScore runs fine, if it's enabled it does not load.
And I repeat, MuseScore doesn't install fonts, not in %windir%/Fonts nor elsewhere.
I don't have MitigationOptions at all in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Kernel\, not sure whethet than means in regards to Block Untrusted Fonts being enabled ot not
This is a feature that can be enabled if wanted, either through EMET or the registry. Companies can choose to enable this, but it is disabled by default.
I'm having a problem that sounds a lot like this one. I'm running Windows 10, download and run the MuseScore 2 installer, it looks like it's installed fine, but when I try to launch it nothing happens. I can see a MuseScore 2 process in Task Manager, but no window appears, it just hangs. I've tried disabling the Block Untrusted Fonts registry setting as described, restarting, and reinstalling - the same thing happens. I cannot change my firewall settings as they are set by my organisation.
While it's possible you are seeing the same problem, it's also possible it is something else. The thing to try would be starting a command prompt window (eg, by typing "cmd" into the Windows 10 search bar) then starting MuseScore from there described in the Handbook under "Command line options". Ideally you'd get output to the terminal, but apparently Windows isn't good about making sure that happens. Still, you might see something interesting. Or you could try some of the various options like -s or -w to see if it will start with some component disabled.
The same problem with Musescore 2.1 on Windows 10. Musescore installed without problems, but when I run it nothing happens. It doesn't appears in Task Manager. No error messages. When I run the executable in command line, it also doesn't give any information. Epic fail.
Did you read the solution above? Windows prohibits the installation of fonts if the firewall is not running, so you need to uninstall MuseScore, start the firewall, reinstall it, and then things will be fine (you can shut down the firewall at that point if you like).
Came up again in https://musescore.org/en/node/274805, so it seems to affect MuseScore 2.3.1 as well
Here https://docs.microsoft.com/en-us/windows/threat-protection/block-untrus… helped
See also https://blogs.technet.microsoft.com/secguide/2017/06/15/dropping-the-un… which recommends to unblock the load of untrusted fonts and apparently is the default as of Windows 10 update v1703
I guess with this we can close this issue. I've added this to the handbook under "Known incomaptibilities"