Skip to content

Windows App Doesn't Start / Shortcut Links Broken (after successful installation) #800

@dharders

Description

@dharders
  • Version: 7.11.2
  • Target: NSIS Windows

Just updated to latest electron-builder 7.11.2 and successfully built a Win64 NSIS target on Windows 7 (no errors/warnings given).

After running the setup.exe, I noticed the app did not auto-launch after installation. So I went to manually open the link on the desktop (and menu) and found they were broken links.

I managed to trace it back to something was released in version 7.11.1, as 7.11.0 does work (if I simply change my package.json version and npm install then build).

Looking at your release notes (and commits) it's not too obvious to me what in fact is the cause.

I've attached some relevant details below.

"electron-builder": "7.11.2",
"electron-prebuilt": "1.4.3",
"build": {
    ...
    "asar": true,
    "compression": "store",
    "npmRebuild": false,
    "win": {
      "target": "nsis",
      "certificateSubjectName": "My Cert",
      "iconUrl": "https://www.example.com.au/app.ico",
      "legalTrademarks": "Example™"
    },
    "mac": {
      "target": "dmg"
    },
    "nsis": {
      "perMachine": false,
      "allowElevation": true,
      "oneClick": true,
      "language": "3081"
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions