Skip to content

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

@billgatesfan

Description

@billgatesfan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions