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]: Microsoft.ServiceFabricSDK - version changes after installation #142677

Closed
2 tasks done
cthlo opened this issue Mar 6, 2024 · 2 comments · Fixed by #142720
Closed
2 tasks done

[Package Issue]: Microsoft.ServiceFabricSDK - version changes after installation #142677

cthlo opened this issue Mar 6, 2024 · 2 comments · Fixed by #142720
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@cthlo
Copy link
Member

cthlo commented Mar 6, 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

Other

Brief description of your issue

After installing Microsoft.ServiceFabricSDK version 7.0.1949, the version shown by winget list is 7.0.1949.9590.

Not exactly sure if it's a package issue or an issue with WinGet.

May be related:
When I winget configure with the following resource, it always thinks the package is not installed (even after I manually winget install):

# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
properties:
  resources:
    - resource: Microsoft.WinGet.DSC/WinGetPackage
      directives:
        description: Install Service Fabric SDK
        allowPrerelease: true
      settings:
        id: Microsoft.ServiceFabricSDK
        source: winget
        version: "7.0.1949"
        installMode: Default
  configurationVersion: "0.2.0"

Steps to reproduce

winget install -e --id Microsoft.ServiceFabricSDK --version 7.0.1949 --accept-package-agreements

Actual behavior

> winget list -e --id Microsoft.ServiceFabricSDK
Name                               Id                         Version       Source
-----------------------------------------------------------------------------------
Microsoft Azure Service Fabric SDK Microsoft.ServiceFabricSDK 7.0.1949.9590 winget

Expected behavior

The version should be 7.0.1949.

Environment

Windows Package Manager v1.7.10582
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.3155
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10582.0

Screenshots and Logs

No response

@cthlo cthlo added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Mar 6, 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 Mar 6, 2024
@stephengillie
Copy link
Collaborator

This might be due to the manifest PackageVersion not matching the data written to the Registry. Can you post a screenshot of the application and version number in either Control Panel Add and Remove Programs (ARP), or Apps and features Settings page (ANF)?

@cthlo
Copy link
Member Author

cthlo commented Mar 6, 2024

This might be due to the manifest PackageVersion not matching the data written to the Registry. Can you post a screenshot of the application and version number in either Control Panel Add and Remove Programs (ARP), or Apps and features Settings page (ANF)?

Indeed the version in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Service Fabric SDK is 7.0.1949.9590, and as shown in the control panel:
image

Looks like @Trenly has a PR out for it. Thank you both!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants