As of this writing, the OpenVPN-GUI system tray icon is very similar to the Windows 10 wired network icon, making it difficult to distinguish the two at a glance. This gist provides color swapped versions of the default OpenVPN icon to match the three (3) connection states, i.e., disconnected, connecting, and connected.
Using a resource editor, the user can modify their copy of the openvpn-gui.exe binary file to use the new icons. This gist includes a sample Resource Hacker script for this purpose, see "replace-tray-icons.txt".
Usage: ResourceHacker.exe -script replace-tray-icons.txt
The sample script assumes the openvpn-gui.exe file is in the same
directory. Modify the Open
and Save
parameters to change this as
needed.
Ok sorry for the wasted time. I am I idiot.
I tried to modify the installer and not the openvpn-gui.exe.
I would like to have the icon in the installer so I don't have to replace it on every PC when I distribute it.