question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
MarshallOfSoundcommented, Aug 2, 2017

In order to set the application name and such, you need to set the values in electronPackagerConfig. Check https://electronforge.io/config

0reactions
Lorempn2commented, Aug 2, 2017

Well 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 command npm prone --production failed. Very nice… Googled it and ended up with this issue: https://github.com/npm/npm/issues/17781

Turned 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…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to set custom name for Windows in taskbar ... - GitHub
If I run the Windows installer, I get an error alert from squirrel.exe saying only: 'The application was unable to start correctly (0xc000007b)` ......
Read more >
Troubleshoot Start menu errors - Windows Client
Learn how to troubleshoot common Start menu errors in Windows 10. For example, learn to troubleshoot errors related to deployment, crashes, ...
Read more >
Customize the Start menu and taskbar layout on Windows 10 ...
On Windows devices, customize the start menu layout and taskbar using XML, group policy, provisioning package, or MDM policy. You can add ......
Read more >
Resolved issues in Windows 10, version 20H2 | Microsoft Learn
In this article. Resolved issues; Issue details. See a list of known issues that have been resolved for Windows 10, version 20H2 over...
Read more >
Compatibility Fixes for Windows 10, Windows 8, Windows 7 ...
Find compatibility fixes for all Windows operating systems that have been released from Windows Vista through Windows 10.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found