title: Change icon of executable exe file
body: <p>I have created an executable file using NetBeans 8.0.2 (the standard JDK), following the instructions on this website about native packaging: <a href="https://netbeans.org/kb/docs/java/native_pkg.html" rel="nofollow noreferrer">https://netbeans.org/kb/docs/java/native_pkg.html</a>.</p>
  
  <p>Now, how do I change the icon of the exe installer file from the standard Java coffee cup, to my own custom icon? (I was able to change the icon that displays in the installed application's top left window, by directly coding the frame's image resource in the source code of my application). </p>
  
  <p>However I want my custom icon to also be displayed on the actual exe installer file, and the installed application's desktop icon. I had the same issue when I tried an MSI file, instead of and EXE file. I tried searching for other solutions, but none of them have worked for me. I even tried Resource Hacker, but that didn't work for me. How do other people achieve this (seemingly simple/straightforward) thing? I would imagine this requirement is in high demand.</p>