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

App not appearing in Windows start menu after installation #551

Closed
YagoGG opened this issue Jun 30, 2016 · 6 comments
Closed

App not appearing in Windows start menu after installation #551

YagoGG opened this issue Jun 30, 2016 · 6 comments
Labels

Comments

@YagoGG
Copy link

YagoGG commented Jun 30, 2016

  • Version: 3.27.0
  • Target: Windows x64

  • Node.js version: 6.2.2

  • npm version: 3.9.5

  • build field in development package.json:

"build": {
    "app-bundle-id": "com.yagogg.myapp",
    "app-category-type": "public.app-category.productivity"
  }

I've created an app using Electron, and successfully bundled it in an .exe file with electron-builder, using the command run.

When I run the generated executable, the application starts with the default installation GIF, as expected.

After the GIF finishes, the app restarts and works properly. It even appears in control panel's programs list.

However, if I look for it in the start menu applications, it isn't there (and searching it by its name only returns the aforementioned .exe installer).
Because of this, once the app is closed, the only way to open it back is running again the installer.

I'd like to know why does this happen, and how can I solve it.
Thanks!

@develar
Copy link
Member

develar commented Jun 30, 2016

Only NSIS installer creates shortcuts and start menu without code on your side. For Squirrel.Windows please see #549 (comment)

@YagoGG
Copy link
Author

YagoGG commented Jun 30, 2016

Alright, thank you very much!

@develar
Copy link
Member

develar commented Jun 30, 2016

We understand that it is not user-friendly, and it is why NSIS was added, but NSIS will not be default windows target until #529 is not fixed.

@YagoGG
Copy link
Author

YagoGG commented Jun 30, 2016

BTW, how come it says Unknown target: nsis?

"build": {
    "appId": "com.yagogg.myapp",
    "win": {
      "target": [ "nsis" ]
    },
    "nsis": {

    }
}

@develar
Copy link
Member

develar commented Jun 30, 2016

@YagoGG electron-builder 3 is outdated, please use latest version.

@YagoGG
Copy link
Author

YagoGG commented Jun 30, 2016

Great, now it works like a charm! Thanks a lot @develar

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

No branches or pull requests

2 participants