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.

NSIS windows 10 desktop shortcut icon missing

See original GitHub issue
  • 7.15.2:
  • Windows 10:

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: screen shot 2016-10-31 at 3 22 03 pm

screen shot 2016-10-31 at 3 29 00 pm

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" } }

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
develarcommented, Nov 3, 2016

Ouch. If you use Parallels, you must not use “Share Mac user folders with Windows” feature and must not run installers from such folders. I am also macOS user and Parallels user and aware about this problem. I didn’t report about it to Parallels, if you want – please report (but I guess it is Windows bug).

You should or use feature “Open in Windows” screen shot 2016-11-03 at 11 14 33

or copy installer to windows machine.

0reactions
jackHomcommented, Feb 22, 2021

@emilyplusplus @gtkpr I’ve focused this problem these days.I fixed this by add config: “nsis”: { “perMachine”: true

Read more comments on GitHub >

github_iconTop Results From Across the Web

There is no shortcut icon under the directory of windows 10 ...
This application is made by NSIS , after installing this app , I find that the icon of uninstall 's shortcut disappeared ....
Read more >
Shortcut icons seem corrupted - NSIS Forums
An icon shows up in the QuickLaunch tray, but it's pretty much just garbage. It's not a default icon, it's just a corrupted...
Read more >
NSIS CreateShortcut insists on using %ProgramFiles% for the ...
If I open the lnk file or right click the shortcut and click "Change Icon ...", I get the error "Windows can't find...
Read more >
NSIS CreateShortcut- Icon not visible to other users on same PC
Hi, I am using nsis to create an installer for my java application (.jar) and I have 2 questions regarding Shortcut icons.
Read more >
Chapter 4: Scripting Reference
The config directory on Windows is the same directory as makensis.exe is in. ... want to reference resources that are in NSIS directory...
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