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

[win32] Ensure product version is set on the executable #173

Merged
merged 1 commit into from
Oct 26, 2015

Conversation

malept
Copy link
Member

@malept malept commented Oct 26, 2015

This is basically a copy/paste solution from #143. Includes a test.

Attempts to fix #172.

@malept malept added the build-target:windows Bundling an Electron app specifically for Windows label Oct 26, 2015
@malept
Copy link
Member Author

malept commented Oct 26, 2015

@p-bakker could you test this fix to see if it fixes your specific case?

(It's still a good change to merge, regardless.)

@p-bakker
Copy link

Tested it: at first seemed to have no effect at all. Debugged a bit and I figured out I wasn't updating the right electron-packager copy (duh...)

So, after I corrected that mistake, the FileVersion started working, but not the ProductVersion.

Debugged that a bit more and found the issue: rcedit doesn't seem to support setting the ProductVersion to value 1. If I try setting it to 0.9 or 1.1 or any other value, the ProductVersion is properly set, if I use 1 (or 1.0) the ProductVersion is not set.

So, conclusion: the fixes for FileVersion/ProductVersion work, but there is another issue in rcedit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-target:windows Bundling an Electron app specifically for Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows (10): 'Product version'' remains empty
2 participants