cloudflared
cloudflared copied to clipboard
đŸ’¡Version number in .exe please
Describe the feature you'd like Please fill out the metadata in the "Detail" box for .exe files, particularly the Product Version, so that I can script auto-deployment and update scenarios? Particularly useful with Intune.
@lifers5555 thanks for flagging this as a feature request. As a heads up, you can currently grab version through the logs, ui, or by running cloudflared.exe version
. With that, could you elaborate on the tooling your looking to build in MS InTune and how it may be useful to provide this information directly through the Control Panel. This will be helpful to help us scope the improvement outlined here.
None of those methods help when using the Intune build in "Version >= xxx" when using "check if file exists" rule.
@lifers5555 : This is an extremely fringe request that we may take some time to get to. Do you want to help contribute a fix? You can check the wxs file here: https://github.com/cloudflare/cloudflared/blob/master/cloudflared.wxs. I suspect you'll have to add $(var.Version) somewhere here to show up as Product Version
.
I'm not sure this can be classified as extremely fringe, being that 99% of all executables on the Windows platform have this meta filled in, and consequently many automation tools for Windows use this meta to manage programs and updates. I'm not a coder so can't fix it myself. Looking forward to CloudFlare adding this when possible.
Related to:
- https://github.com/cloudflare/cloudflared/issues/695 and
- https://github.com/cloudflare/cloudflared/issues/667
@sudarshan-reddy , I don't think the solve here is the WXS file -- the OP is posting about the .exe which the version which would more likely be set during build..
@ShadowXVII you’re correct.
We will have to use something like https://github.com/hallazzang/syso to embed during build time so this keeps updating during upgrade.