Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Windows MSI package does not populate properly the cf cli tools package version

Đang mở
#3,787 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
go
Lĩnh vực
build-system, cli

Hướng nghiên cứu

Bắt đầu bằng cách truy vết cấu hình đóng gói MSI của Windows và cách cung cấp siêu dữ liệu phiên bản; issue không nêu tệp hoặc bài kiểm thử nào. Tái hiện bằng cách cài đặt một gói 8.17+ và kiểm tra Windows Installed apps cùng đầu ra kiểm kê. Được xem là hoàn tất khi tên hiển thị là Cloud Foundry CLI và phiên bản đã cài đặt là dạng số thay vì VERSION.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Please fill out the issue checklist below and provide ALL the requested information.

  • I reviewed open and closed github issues that may be related to my problem.
  • I tried updating to the latest version of the CF CLI to see if it fixed my problem.
  • I attempted to run the command with CF_TRACE=1 to help debug the issue.
  • I am reporting a bug that others will be able to reproduce.

Describe the bug and the command you saw an issue with
The Windows MSI package software does not populate properly the cf cli tools version.

What happened
On Windows11 platform : as of version 8.17+ , the "cf" CLI application is displayed as "Cloud Foundry CLI version VERSION" for its app name in the Windows Settings/Apps/Installed apps.

When this software is inventoried by some enterprise inventory tools, it is returned like this :

<![LOG[[Win32AppInventory] Collected app inventory details: 0000...sometext...fff, Cloud Foundry CLI version VERSION, VERSION, Cloud Foundry Foundation, 65535, 1/1/0001 12:00:00 AM]LOG]!><time="09:39:45.6038179" date="5-22-2026" component="Win32AppInventory" context="" type="1" thread="11" file="">

...whereas other softwares look like this :

<![LOG[[Win32AppInventory] Id: 0000.......sometext.... Name: Wireshark 4.6.3 arm64 Version: 4.6.3]LOG]!><time="09:39:45.5876532" date="5-22-2026" component="Win32AppInventory" context="" type="1" thread="11" file="">

This makes difficult to discover centrally what this "Cloud Foundry CLI version VERSION" is really running. Would it be possible to populate the app name and version attributes properly, so that when queried, it is visible as "Cloud Foundry CLI" for its name in the Apps/Installed apps pane, and correct version in its version attribute?

Expected behavior
I expect the correct version number to appear (a real number).

Exact Steps To Reproduce
Go to Windows Start menu/Apps/Installed Apps, the CF CLI displays its version as "VERSION" string.

Ngôn ngữ chính
Go
Star
1.9k
Fork
989
Merge trung bình
4 ngày 15 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cloudfoundry/cli

Tất cả issue của cloudfoundry/cli

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.