-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
App name not set correctly in Windows EXE metadata #166
Comments
I had already seen that one and tried to manually make the same code changes as in that case, but that didn't solve the issue for me. I manually tried calling rcedit on my exe and was able to alter the ProductVersion using the set-version-string syntax of rcedit, and that worked. So the fact that it doesn't work from electron-builder makes me assume that there is something else going wrong, which might also be why the manually added codechanges from #129/#143 didn't help |
The third bullet item might not be specific to electron-packager, but to electron itself: I've now tested running plain electron and I also see duplicated icons there once you pin the app. Maybe need to reopen electron/electron#1954 |
I'm not good at Windows stuff, but wanted to mention it would be really helpful to know if we have tests for the reported bugs here. Even better, if we don't have any tests, if we could get some failing tests then that would be super amazing. |
For the third bullet item: see electron/electron#1954. It might be a Windows 10 and/or Electron issue, so not something specific to the electron-packager |
I assume that I've updated the issue title to reflect that this GitHub issue is only about the second bullet point now. |
yeah, that was just a typo, edited it now. I don't think it is correct to dismiss the first item just yet: The first item is still an issue and not covered by #129. While the cause of #129 would explain the FileVersion not being set properly, it doesn't explain the ProductVersion not being set. As for the second bullet: I've located the .lnk file that shows on the TaskBar and it is named Electron, hence it shows as Electron. Don't know if it is named Electron because is shows as Electron or that it shows as Electron because it is named Electron, but anyway: it shouldn't be Electron |
I'm not a big fan of omnibus issues - it makes it more difficult to figure out what the issue's current status is. I'd rather there be a separate issue for the |
ok, no problem: I've added them all in here originally, because they were all Windows 'branding' related issues and I had no idea how they related to each other. I've created #172 for the issues described under the first bullet item |
For sake of completeness: the third bullet item seems to be a Windows 10 bug, scheduled to be fixed in the next Windows 10 update: electron/electron#1954 (comment) |
And again for the sake of completeness: the first bullet item was/is a combination of #129 and electron/node-rcedit#10 |
Updated Windows 10 yesterday: the proper name now shows when right-clicking the icon on the taskbar, so seems to have been a Windows 10 issue, resolved in Win10 update "Threshold 2" |
|
@nithinc989 this is probably an issue with NPM and not Electron Packager, if it works correctly when you run the command directly. |
Thanks for the reply, @malept It would be great if you could add certificate adding option in the electron packager itself. |
@nithinc989 Since Electron Packager doesn't create installers, there's no need for it to add the certificate. I suggest either using electron-winstaller, or import your Electron app project to Electron Forge (which uses both Packager and -winstaller internally). |
@malept |
I seem to be encountering this issue as well, only I'm using a custom-built Electron based on 1.7.2 and the programmatic API to run the packager. I'm using My logs show I'm passing the correct values for |
Hi,
EDITED: This case is only about the item below. The case started out with more issues, but those are split off into separate cases and either already fixed, or related to issues outside Electron-packager. Only the item below remains:
INITIAL CASE DESCRIPTION:
For the past day and a half I've been trying to package my app as a Windows executable. While the basic process works, I run into the following issues:
-- the 'File version' is still set to the used Electron version, although i specify another version
-- the 'Product version' is empty
Note that the generated .exe did get the supplied fileName, the suplied icon and that 'File description', 'Product name', 'Copyright' and 'Original filename' are set as specified
In my main.js I do call this:
app.setAppUserModelId('com.squirrel.myCompany.myCompany');
I work on Windows 10 and am using the latest electron-packager version and use electron 0.34.0
This is the command I use:
I've seen many cases related to this, but all are marked as closed and should be included in the latest releases.
As I've looked everywhere for solutions and tried all that I could find and none worked, I'm posting this as a bug.
The text was updated successfully, but these errors were encountered: