cloudfoundry / cloudfoundry/cli
Windows MSI package does not populate properly the cf cli tools package version
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.9k
- Forks
- 990
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 8
Description
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=1to 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Windows MSI packaging configuration and how version metadata is supplied; the issue names no file or test. Reproduce by installing a 8.17+ package and inspecting Windows Installed apps and inventory output. Done means the display name is Cloud Foundry CLI and the installed version is numeric rather than VERSION.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100