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

Portable version not working #44

Open
Mageign opened this issue Mar 30, 2023 · 17 comments
Open

Portable version not working #44

Mageign opened this issue Mar 30, 2023 · 17 comments
Labels
question Further information is requested

Comments

@Mageign
Copy link

Mageign commented Mar 30, 2023

Portable version LibreScore.zip doesn't work, file is executed but no window available to interact with.

@PeterNjeim PeterNjeim added the question Further information is requested label May 1, 2023
@PeterNjeim
Copy link
Member

What version of Windows are you using, and is it modified

@Mageign
Copy link
Author

Mageign commented May 3, 2023

Using Windows 11 Pro 22H2 Build 22621.1413.
Some services are disabled.
What does librescore need to run ?

@PeterNjeim
Copy link
Member

Not sure of any specific services, can you list the ones you've disabled, or try enabling them and trying to run the program again?

@Mageign
Copy link
Author

Mageign commented May 3, 2023

No I cannot, and if librescore needs windows update, it should be specified.
Shouldn't you know if some services or anything else is required for it to run ?
Or at least be sure that it works in a given environment ?
And it didn't work for me on Windows 7 Pro x64 either.

@PeterNjeim
Copy link
Member

You're misinterpreting my comment. I'm not aware of any specific service that LibreScore requires to run, which is why I asked you to list the services that you've disabled so I can make a guess as to which is affecting it. Now that you've claimed it's only Windows Update, I can assure you that's not the cause for LibreScore not opening.

Also, it's not my responsibility to make sure LibreScore works on modified versions of an OS, that's quite obviously the custom OS's user's responsibility, not that your disablement of Windows Update is the problem here.

Any other modifications you've made? You said you disabled multiple services but listed only one

@PeterNjeim
Copy link
Member

You edited your comment after I answered saying that it doesn't work on Windows 7. Are you having the same issue as on Windows 11? Maybe there's a bug in the portable version itself, I'll have to test when I get the time

@Mageign
Copy link
Author

Mageign commented May 3, 2023

Thanks for the details, sorry for the edit.
I disabled everything that was useless, so you can understand there is not enough space here to enumerate them all.
Same issue on W7 and I also tried on a friend W10 Pro "vanilla" and had the same results.

When I execute librescore.exe, the process is running with a pending cmd process, but no window to show. It runs as a process but nothing happens.

@PeterNjeim
Copy link
Member

I just tested on Windows 11 22H2 22621.1635 and it worked. I unzip LibreScore.zip, then I run LibreScore.exe. I recall testing LibreScore on Windows 7, 8.1, and 10 a few months ago and it working fine, so I think one of the services you deem "useless" (which I disagree with) might be causing the issue, and your friend's "vanilla" build may not actually be.

Can you try opening a PowerShell window and running the following: !([System.Environment]::OSVersion.Version.Major -ge 10 -and [System.Environment]::OSVersion.Version.Build -ge 17763) -or (Get-WmiObject -Class Win32_OperatingSystem).ProductType -ne 1. It should return False on Windows 10 and 11 and return True on Windows 7 and 8.1 and any Windows Server version

@Mageign
Copy link
Author

Mageign commented May 3, 2023

Ok, great thanks for your answer, I'll dig into it.
Any hints on .net or vc++ version needed if any ?
Or any other third party software ?
It says true ...

@PeterNjeim
Copy link
Member

PeterNjeim commented May 3, 2023

All required libraries are bundled so you shouldn't need anything. Please share the outputs of the following three commands:
[System.Environment]::OSVersion.Version.Major
[System.Environment]::OSVersion.Version.Build
(Get-WmiObject -Class Win32_OperatingSystem).ProductType

On your Windows 11 system it should return 10, 22621, and 1.

@Mageign
Copy link
Author

Mageign commented May 3, 2023

Yeah, it does return the same numbers.

Feels like librescore trying to access internet through a service and get stuck there.
The only way for me to find the culprit is to test and deploy another image of Windows ... not for tomorrow.

@PeterNjeim
Copy link
Member

If it returns the same numbers it should return False, not True. Are you sure you're copying the whole thing? There's an ! at the beginning

@Mageign
Copy link
Author

Mageign commented May 3, 2023

Can you read minds ?
Indeed, it says False with that missing (!), I can't even copy paste ;)

@PeterNjeim
Copy link
Member

Well the ! is what "flips" from true to false, so that was my best guess lol. Well it seems that isn't the issue then, I'm at a loss as to why it isn't working (other than a specific service as you mention). I personally didn't code anything specific to any service so I'm not sure, maybe one of the dependencies I'm using uses a service

@Mageign
Copy link
Author

Mageign commented May 3, 2023

Nice guess !
Any hints could help me find what I shouldn't have disabled or removed.
I use many portable apps and plays many modern games without problem on this windows.
Thanks to you, I'm sure that it comes from my customization, I'll have to dig in as the trial and error amateur I am.

@Lyssers
Copy link

Lyssers commented Mar 30, 2024

Same issue here. Windows 10 21H2, bone stock. Nothing happens.

@PeterNjeim
Copy link
Member

@Lyssers any more details?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants