Unable to set custom name for Windows in taskbar and shortcut and 1 windows error during installation
See original GitHub issue- I have read the contribution documentation for this project.
- I have searched the issue tracker for an issue that matches the one I want to file, without success.
- I agree to follow the code of conduct that this project follows, as appropriate.
Please describe your issue:
Building for Mac osx and Windows is successful and I can install and run the app correctly, however I have 2 Windows issues. If I run the Windows installer, I get an error alert from squirrel.exe saying only: 'The application was unable to start correctly (0xc000007b)`. I can ignore/dismiss the error and still everything is working fine and the app is installed properly.
Also, I’m unable to change the name in Windows, the taskbar and startmenu still displays “Electron” as the name, the icon is however correct.
Console output when you run electron-forge
with the environment variable DEBUG=electron-forge:*
. (Instructions on how to do so here). Please include the stack trace if one exists.
What command line arguments are you passing?
electron-forge publish --target=electron-release-server --platform=win32 --arch=ia32
What does your config.forge
data in package.json
look like?
"electronWinstallerConfig": {
"name": "MyName",
"owners": "MyName",
"authors": "MyName",
"title": "MyName",
"noMsi": false,
"setupIcon": "src/desktop_icon.png.ico",
"loadingGif": "src/installer.gif",
"iconUrl": "https://s3-us-west-2.amazonaws.com/xx-desktop/favicon.ico",
"description": "MyName"
},
Please provide either a failing minimal testcase (with a link to the code) or detailed steps to
reproduce your problem. Using electron-forge init
is a good starting point, if that is not the
source of your problem.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
In order to set the application name and such, you need to set the values in
electronPackagerConfig
. Check https://electronforge.io/configWell I would like to generate builds on Windows, but’s thats unfortunately also not working… another strange error.
The specified executable is not a valid application for this platform
when running this command in Win7/32bit:electron-forge publish --target=electron-release-server --platform=win32 --arch=ia32
Edit: Updated NodeJS (from 6.x to 8.x) on Windows to the latest version which also gave me NPM 5.3. Now it was time for another nice clear fatal error during
electron-forge make
. The commandnpm prone --production
failed. Very nice… Googled it and ended up with this issue: https://github.com/npm/npm/issues/17781Turned out to be an NPM bug or something, so I rolled back to NPM5.2 and now that error is gone but I am still stucked with an error on windows saying:
this specified executable is not a valid application for this OS
. But I’m on a 32bit Windows pc trying to make a 32bit build, so the os is valid…