When using NSIS to create a windows single click installer it creates a desktop icon with a blank icon and that doesn't work, i.e. it points to nowhere and doesn't launch app when you click it. See image:


I have sniffed around nsh scripts and don't see anything weird about desktop icon, and I should note that the start menu icon and shortcut works fine, it's only the desktop shortcut that has this issue. Tried running installer as admin too, same issues. Tried compatibility mode and that has the same issue too.
"build": { "appId": "com.domain.application", "linux": [ "AppImage", "deb", "rpm" ], "win": { "target": "nsis" } }
When using NSIS to create a windows single click installer it creates a desktop icon with a blank icon and that doesn't work, i.e. it points to nowhere and doesn't launch app when you click it. See image:

I have sniffed around nsh scripts and don't see anything weird about desktop icon, and I should note that the start menu icon and shortcut works fine, it's only the desktop shortcut that has this issue. Tried running installer as admin too, same issues. Tried compatibility mode and that has the same issue too.
"build": { "appId": "com.domain.application", "linux": [ "AppImage", "deb", "rpm" ], "win": { "target": "nsis" } }