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

Set Windows versioninfo on build #563

Merged
merged 1 commit into from
Oct 10, 2020
Merged

Set Windows versioninfo on build #563

merged 1 commit into from
Oct 10, 2020

Conversation

carlpett
Copy link
Collaborator

@carlpett carlpett commented Jul 4, 2020

This PR adds versioninfo generation for the .exe to the build steps, meaning checking the file properties will now look like this:
image

I also had a moment of inspiration when I saw the field for the icon, so I also threw together the below and if people think it looks okay, it will be the icon for the exe and in Add/Remove programs:
logo-small
(@brian-brazil - I couldn't find any separate license/usage guidelines for the Prometheus logo and my understanding is that this type of derivative work is fine, correct?)

Fixes #561

@brian-brazil
Copy link

https://www.linuxfoundation.org/trademark-usage/ is the relevant policy, and reading through it "A logo should not be displayed with color variations, or with other elements superimposed on top of the logo.".

@JDA88
Copy link
Contributor

JDA88 commented Jul 15, 2020

Thanks for adding the version info!
For the icon, it's nice, but a bit pointless on a Windows Service has it will unfortunately not be displayed anywhere. Task Manager and Service console don’t display icon on services, it will only show on the explorer.

@majerus1223
Copy link
Contributor

It also shows in appwiz.cpl so might not be a bad idea to add an icon to make it look complete.

Signed-off-by: Calle Pettersson <carlpett@users.noreply.github.com>
@carlpett carlpett changed the title Set Windows versioninfo on build, add icon Set Windows versioninfo on build Oct 10, 2020
@carlpett
Copy link
Collaborator Author

I reached out to the CNCF trademark team back in July but still haven't heard back, so ditching the logo thing.

@JDA88
Copy link
Contributor

JDA88 commented Oct 10, 2020

Ok, great! If at some point they reach back to you we can still add it back.

@carlpett carlpett merged commit 6765935 into master Oct 10, 2020
@carlpett carlpett deleted the set-versioninfo branch December 9, 2020 07:35
anubhavg-icpl pushed a commit to anubhavg-icpl/windows_exporter that referenced this pull request Sep 22, 2024
…/set-versioninfo

Set Windows versioninfo on build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

File version missing on the EXE
4 participants