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

[Package Issue]: Package.Identifier Error while installing Winget on Windows Server 2012 R2 #166579

Closed
2 tasks done
SathishkumarG3 opened this issue Aug 7, 2024 · 5 comments
Closed
2 tasks done
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Milestone

Comments

@SathishkumarG3
Copy link

SathishkumarG3 commented Aug 7, 2024

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Installation issue.

Brief description of your issue

We are encountering an error when trying to install Winget on a Windows Server 2012 R2 system. Below are the details of the error and the steps we have taken so far:

Steps to reproduce

Error Message:

System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forInspection, Boolean suppressSecurityChecks)
Steps to Reproduce:

Attempt to install WingError Message:

System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forInspection, Boolean suppressSecurityChecks)

Actual behavior

Expected Behavior:
Winget should install without errors on the system.

Expected behavior

Error Message:

System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forInspection, Boolean suppressSecurityChecks)
Steps to Reproduce:

Attempt to install WingError Message:

System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forInspection, Boolean suppressSecurityChecks)

Environment

Environment:

OS: Windows Server 2012 R2
Attempted: Installation of Winget

Additional Information:

Is it possible to install Winget on Windows Server 2012 R2?
We are also looking to install Winget on Windows 10 in a server environment. Any specific guidance for both OS versions would be appreciated.

Screenshots and Logs

image
w

@SathishkumarG3 SathishkumarG3 added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Aug 7, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Aug 7, 2024
@MagicAndre1981
Copy link

winget requires at least Windows 10 (10.0.17763.x) or Server 2019 (10.0.17763.x), 2012 R2 is Windows 8.1 based (6.3.9600.x) and too old.

TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.22621.0"/>

@Trenly
Copy link
Contributor

Trenly commented Aug 7, 2024

[Policy] Needs Author Feedback

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback This needs a response from the author. and removed Needs-Triage This work item needs to be triaged by a member of the core team. labels Aug 7, 2024
@stephengillie
Copy link
Collaborator

stephengillie commented Aug 7, 2024

This should probably be moved to winget-cli, if it remains open. It's basically a feature request to support older OSes.

@stephengillie stephengillie added Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. and removed Issue-Bug It either shouldn't be doing this or needs an investigation. labels Aug 7, 2024
@Trenly
Copy link
Contributor

Trenly commented Aug 7, 2024

This should probably be moved to winget-cli, if it remains open. It's basically a feature request to support older OSes.

I doubt this will remain open -

@​Qiangong2 we have some OS dependencies that are not supported in Windows blow 1809. Many of these are enterprise level concerns like Delivery Optimization. I don't know if there is enough demand on earlier versions of Windows to justify making OS level changes. I'm not going to close this issue at this point so others have the ability to add their 👍 and to provide some context.

Originally posted by @denelon in microsoft/winget-cli#1008 (comment)

@stephengillie
Copy link
Collaborator

Oh, so it's a duplicate.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Author-Feedback This needs a response from the author. label Aug 9, 2024
@denelon denelon added this to the 1.10 Packages milestone Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Projects
None yet
Development

No branches or pull requests

5 participants