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

Mamesaver.scr - This application could not be started. Do you want to view information about this issue? ... #52

Closed
antdude opened this issue Jun 9, 2019 · 19 comments

Comments

@antdude
Copy link

antdude commented Jun 9, 2019

After downloading https://github.com/mika76/mamesaver/releases/download/3.0/Mamesaver.scr and moving into my updated 64-bit W7 HPE SP1's c:\windows\system32, I couldn't configure and run it due to "Mamesaver.scr - This application could not be started. Do you want to view information about this issue? Yes No". I clicked yes and was taken to https://docs.microsoft.com/en-us/dotnet/framework/deployment/initialization-errors-managing-the-user-experience?version=(null)&processName=Mamesaver.scr&platform=0009&osver=5&isServer=0&shimver=4.0.30319.0 -- ".NET Framework initialization errors: Managing the user experience..."

@mika76
Copy link
Owner

mika76 commented Jun 9, 2019

Seems to me like it's struggling to run .net? Do you have.net framework 4.6 installed?

https://dotnet.microsoft.com/download/dotnet-framework/net462

@antdude
Copy link
Author

antdude commented Jun 9, 2019

How do I know what version I have installed? I know I have .NET, but which version(s)?

@antdude
Copy link
Author

antdude commented Jun 9, 2019

Paint.NET uses .NET, and it's fine.

@mika76
Copy link
Owner

mika76 commented Jun 9, 2019

Seems the latest paint.net uses 4.7. I would have thought that would work with mamesaver too. You could always try install 4.6 and see what happens. Shouldn't give a you any problems...

@mika76
Copy link
Owner

mika76 commented Jun 9, 2019

Or maybe you have an older paint.net with an older framework? Here Microsoft's instructions on how to determine which is installed : https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

@antdude
Copy link
Author

antdude commented Jun 9, 2019

From my regedit.exe:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client]
"Version"="4.7.02558"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"MSI"=dword:00000001
"Servicing"=dword:00000000
"InstallPath"="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\"
"Release"=dword:000709fe

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client\1033]
"Version"="4.7.02558"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"Servicing"=dword:00000000
"Release"=dword:000709fe

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full]
"Version"="4.7.02558"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"MSI"=dword:00000001
"Servicing"=dword:00000000
"InstallPath"="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\"
"Release"=dword:000709fe

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\1033]
"Version"="4.7.02558"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"Servicing"=dword:00000000
"Release"=dword:000709fe

@antdude
Copy link
Author

antdude commented Jun 9, 2019

I am using paint.net v4.1.6. BTW, I'm going to sleep soon.

@mika76
Copy link
Owner

mika76 commented Jun 9, 2019

Seems you have 4.7 which should run it without problems. Hmm I'll have to play around with it a bit and see if I can figure it out...

@antdude
Copy link
Author

antdude commented Jun 9, 2019

I was able to reproduce it in a clean, updated 64-bit W7 HPE SP1 in a virtual machine (VM) with VirtualBox. Its registry shows:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client]
"Version"="4.6.01055"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"MSI"=dword:00000001
"Servicing"=dword:00000000
"Release"=dword:0006041f
"InstallPath"="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client\1033]
"Version"="4.6.01055"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"Servicing"=dword:00000000
"Release"=dword:0006041f

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full]
"Version"="4.6.01055"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"MSI"=dword:00000001
"Servicing"=dword:00000000
"InstallPath"="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\"
"Release"=dword:0006041f

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\1033]
"Version"="4.6.01055"
"TargetVersion"="4.0.0"
"Install"=dword:00000001
"Servicing"=dword:00000000
"Release"=dword:0006041f

https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed says this is v4.6.1. :( Do you have an updated 64-bit W7 SP1? If not, then try it in a machine (virtual is fine to use since I reproduced it).

@mika76
Copy link
Owner

mika76 commented Jun 9, 2019

Hey try and place it in c:\windows\syswow64 and let's see if that's the issue... I'm pretty sure we compile for any cpu but who knows...

@antdude
Copy link
Author

antdude commented Jun 9, 2019

Woah. That worked! I'm configuring it now. I hope it works with old MAME v0.177. I haven't updated for years since I don't play games these days. :(

@mika76
Copy link
Owner

mika76 commented Jun 9, 2019

They changed the format of their xml output a while ago (don't know specific ver though) so if the build list function doesn't work then it's that and you'll probably need a newer version...

@nullpainter
Copy link
Contributor

Hey try and place it in c:\windows\syswow64 and let's see if that's the issue... I'm pretty sure we compile for any cpu but who knows...

I was just about to recommend that! I recall this issue before, but didn't pay much heed to it. We should verify that we are indeed compiling for AnyCPU, @mika76.

@antdude
Copy link
Author

antdude commented Jun 9, 2019

Darn it. I can't use MAME64 v0.177 since it didn't find any games. Boo! This will take a while for me to update my ROMs too. Bah!

@antdude
Copy link
Author

antdude commented Jun 9, 2019

I'm going to sleep! Thanks! ;)

@nullpainter
Copy link
Contributor

I don't believe it would be too much effort for me to add support for earlier versions of MAME. What are your thoughts?

@antdude
Copy link
Author

antdude commented Jun 9, 2019

Nullpainter: Try it. Let's keep this one about .NET version issue. #53 for the older MAME version issue that I just made.

nullpainter added a commit to nullpainter/mamesaver that referenced this issue Jun 15, 2019
@nullpainter
Copy link
Contributor

All fixed. PR submitted; will be in next release. The issue wasn't actually about .NET - it was that the screensaver was inadvertently being built as a 32 bit application. Thanks for reporting this, @antdude.

@antdude
Copy link
Author

antdude commented Jun 15, 2019

You're welcome. :D

@mika76 mika76 closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants