Skip to content

Conversation

@Chill-Astro
Copy link
Contributor

@Chill-Astro Chill-Astro commented May 29, 2025

Checklist for Pull Requests

Manifests

  • Have you checked that there aren't other open pull requests for the same manifest update/change?
  • This PR only modifies one (1) manifest
  • Have you validated your manifest locally with winget validate --manifest <path>?
  • Have you tested your manifest locally with winget install --manifest <path>?
  • Does your manifest conform to the 1.10 schema?

Note: <path> is the directory's name containing the manifest you're submitting.


Microsoft Reviewers: Open in CodeFlow

@wingetbot
Copy link
Collaborator

Service Badge  Service Badge  

@wingetbot
Copy link
Collaborator

Validation Pipeline Run WinGetSvc-Validation-61-261430-20250529-1

@wingetbot wingetbot added the Validation-Unattended-Failed During installation testing the installer was blocked on user input and no switches were provided. label May 29, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback This needs a response from the author. label May 29, 2025
@stephengillie
Copy link
Collaborator

Automatic Validation ended with:

No errors to post.

(Automated response - build 1058.)

@stephengillie stephengillie added Validation-Completed Validation passed and removed Validation-Unattended-Failed During installation testing the installer was blocked on user input and no switches were provided. Needs-Author-Feedback This needs a response from the author. labels May 29, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot enabled auto-merge (squash) May 29, 2025 17:32
@stephengillie
Copy link
Collaborator

Hi @Chill-Astro,

Manual Validation ended with:
image

The window disappeared quickly, so I needed to pause the VM to catch it. Is this expected?

Verify while here:
image

@stephengillie stephengillie added the Needs-Author-Feedback This needs a response from the author. label May 29, 2025
@Chill-Astro
Copy link
Contributor Author

No that's not normal. It should run properly.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention This work item needs to be reviewed by a member of the core team. and removed Needs-Author-Feedback This needs a response from the author. labels May 30, 2025
@Chill-Astro
Copy link
Contributor Author

I think I shall test it. I will let you know. I need to modify the setup file in that case

@Chill-Astro
Copy link
Contributor Author

On my computer the setup runs fine. I need to check if its some missing dependency like .Net runtime, though it's bundled into it.

@Chill-Astro
Copy link
Contributor Author

Chill-Astro commented May 30, 2025

@stephengillie In my Windows 11 VM, it runs perfectly though. Would you mind re-running the installer?
It's pretty much a blank VM with no runtimes. Nothing. Just blank. Can you give some logs maybe of what issue happened?

Here's a new Installer with a new hash if that helps :

URL : https://github.com/Chill-Astro/Random/releases/download/v1.0/Random-Setup.exe

SHA256 : 2d10c489b88605ff7e11ebb0d13d998cc75a2f62fbe886148d3ab3fa1899416e
MD5 : 7bd9e166fe330bf273c6563786b40221
SHA-1 : e5e8cd37420be8efa23d715bac755eafd187ca80

Hope this helps!

image

@stephengillie
Copy link
Collaborator

@stephengillie In my Windows 11 VM, it runs perfectly though. Would you mind re-running the installer? It's pretty much a blank VM with no runtimes. Nothing. Just blank. Can you give some logs maybe of what issue happened?

Hi @Chill-Astro,

Does this package require Windows 11? If so, consider adding MinimumOSVersion: 10.0.22621.0 to the manifest. My VMs are also blank with no runtimes. I use Windows 10 by default.

@stephengillie stephengillie added Needs-Author-Feedback This needs a response from the author. and removed Needs-Attention This work item needs to be reviewed by a member of the core team. labels May 31, 2025
@Chill-Astro
Copy link
Contributor Author

@stephengillie In my Windows 11 VM, it runs perfectly though. Would you mind re-running the installer? It's pretty much a blank VM with no runtimes. Nothing. Just blank. Can you give some logs maybe of what issue happened?

Hi @Chill-Astro,

Does this package require Windows 11? If so, consider adding MinimumOSVersion: 10.0.22621.0 to the manifest. My VMs are also blank with no runtimes. I use Windows 10 by default.

@stephengillie No this app doesn't need Windows 11. The runtimes are bundled into the app. Other OSes run the same code as well. Please try to test if the Standalone .exe works or not. Like their executable is the same. It's unusual that this is happening.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention This work item needs to be reviewed by a member of the core team. and removed Needs-Author-Feedback This needs a response from the author. labels May 31, 2025
@Chill-Astro
Copy link
Contributor Author

@stephengillie You may need to update Windows 10 to its latest build. Or else it may be an issue as .NET 9.0 is probably bundled.

Some explanation from AI :

Why this happens on Windows 10 with a bundled runtime:

  • The .NET runtime (especially newer versions or those compiled with certain security features enabled by default) expects certain kernel functionalities to be present and correctly implemented for features like Control-flow Enforcement Technology (CET), which includes shadow stacks.
  • Older or insufficiently updated Windows 10 installations might not have the necessary kernel patches or full support for these features, even if the hardware theoretically supports them.
  • When the bundled CLR initializes and attempts to use these features (or verify their state), it encounters an unexpected condition (the !AreShadowStacksEnabled() part of the assertion) and crashes.
    So, your primary focus should be on getting that Windows 10 VM thoroughly updated.

@stephengillie
Copy link
Collaborator

stephengillie commented Jun 3, 2025

@ stephengillie You may need to update Windows 10 to its latest build.

This happens every 2-3 weeks.

Or else it may be an issue as .NET 9.0 is probably bundled.

The error is likely due to the missing runtime. Is there any proof that it's bundled? Also, which version of .NET - the SDK, the runtime, or the desktop runtime?

Some explanation from AI :

Why this happens on Windows 10 with a bundled runtime:

  • The .NET runtime (especially newer versions or those compiled with certain security features enabled by default) expects certain kernel functionalities to be present and correctly implemented for features like Control-flow Enforcement Technology (CET), which includes shadow stacks.
  • Older or insufficiently updated Windows 10 installations might not have the necessary kernel patches or full support for these features, even if the hardware theoretically supports them.
  • When the bundled CLR initializes and attempts to use these features (or verify their state), it encounters an unexpected condition (the !AreShadowStacksEnabled() part of the assertion) and crashes.

These suggestions are too general to be helpful in this situation. This is a known issue when using AI - their replies are too uninformed to be useful in specific situations. They imply that the source doesn't actually know what's wrong here, and so it suggests everything.

So, your primary focus should be on getting that Windows 10 VM thoroughly updated.

Again, this happens every couple of weeks. Do you have any proof that the runtime is bundled? In my experience, they are usually not, and since it's required, its absence is the most likely explanation for the error.

Microsoft runtimes are available through the package manager, and so can be enumerated in manifests as a PackageDependencies. If the specific .NET 9.0 runtime were known, then it could be included as a dependency, after which the program should work normally.

(edit: grammar)

@stephengillie stephengillie removed Validation-Completed Validation passed Needs-Attention This work item needs to be reviewed by a member of the core team. labels Jun 3, 2025
@stephengillie stephengillie added Validation-Executable-Error Needs-Author-Feedback This needs a response from the author. labels Jun 3, 2025
@stephengillie
Copy link
Collaborator

Manual Validation ended with:

2025-06-03 15:10:02.306 [CLI ] Package hash verification failed. SHA256 in manifest [de4e9c606a66bb8f71d1d1345bb396262b9f14fb213e5d8e9ebf28a3fe70a0cf] does not match download [2d10c489b88605ff7e11ebb0d13d998cc75a2f62fbe886148d3ab3fa1899416e] with file size [24824688] and content type []

(Automated response - build 1064.)

@ItzLevvie
Copy link
Contributor

@wingetbot run

@wingetbot
Copy link
Collaborator

Validation Pipeline Run WinGetSvc-Validation-63-261430-20250604-1

@wingetbot wingetbot added the Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash label Jun 4, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback This needs a response from the author. label Jun 4, 2025
@Chill-Astro Chill-Astro closed this Jun 4, 2025
auto-merge was automatically disabled June 4, 2025 07:57

Pull request was closed

@Chill-Astro Chill-Astro deleted the Chill-Astro.Random-1.0-7aa7705f-b3ef-4de8-9d1c-4d13dfba8a38 branch June 4, 2025 07:57
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Author-Feedback This needs a response from the author. label Jun 4, 2025
@Chill-Astro
Copy link
Contributor Author

I have deleted the branch and I will try again later. I need to do some diagnosis of the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Error-Hash-Mismatch The InstallerSHA256 Hash specified in the manifest doesn't match with the InstallerURL hash

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants