Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

icons aren't working?

Single Click discussions / bugs
Post Reply
twist3r
8
8
Posts: 12
Joined: 2006-09-01 01:43

icons aren't working?

Post by twist3r »

I've compile sc online with both compilers and custom icons. However, the exe always has the regular uvnc icon and the tray icon is the same! I open the file with 7-zip and my custom icons are inside! Why are my custom icons not showing?

thanks,
twist3r
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: icons aren't working?

Post by redge »

you need to use the 2nd creator TEST 1.0(down), not the old one RC23 (up)

you need to comply file image correct size and colors.
Last edited by redge on 2006-09-01 20:44, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
twist3r
8
8
Posts: 12
Joined: 2006-09-01 01:43

Re: icons aren't working?

Post by twist3r »

using a more common icon editor seems to help, although I wish we could use more than 16 color icons...
Dwalf
40
40
Posts: 112
Joined: 2005-08-25 01:02

Re: icons aren't working?

Post by Dwalf »

Can you not drag and drop new icons in the exe after opening with 7 zip.

I never tried this

Cheers
Dwalf
Nokao
Posts: 3
Joined: 2007-02-21 11:34

Re: icons aren't working?

Post by Nokao »

Hi... I tryed with your tips and I had success in changing the tray icon of the program...

But... the .exe (7-z file) called "remote.exe" seems to ignore the icon...

Can someone give more detailed information on how to change it's behaviour?

In this website i found links on 1-2 programs to change .exe icons... but all of them compromised my "remote.exe" file generating a smaller (with the right icon) .exe broken win32 application.
Yod4z
20
20
Posts: 55
Joined: 2006-10-18 15:08

Re: icons aren't working?

Post by Yod4z »

i put this file in a directory:
7z.exe
7zSD.sfx (download from the 7zip page)
config.txt
replaceicon.exe
upx.exe (from upx sourceforge.net page)
Create.bat
background.bmp
enter.bmp
helpdesk.txt
icon1.ico
icon2.ico
vnchooks.dll
winvnc.exe

In the config.txt

Code: Select all

;!@Install@!UTF-8!
Title="UltraVNC"
Progress="no"
RunProgram="winvnc.exe"
;!@InstallEnd@!
In the create.bat:

Code: Select all

@ECHO OFF
mkdir server
copy helpdesk.txt server\helpdesk.txt
copy vnchooks.dll server\vnchooks.dll

copy winvnc.exe server\winvnc.exe
copy enter.bmp server\enter.bmp
copy background.bmp server\background.bmp
copy icon1.ico server\icon1.ico
copy icon2.ico server\icon2.ico
copy 7z.exe server\7z.exe
copy config.txt server\config.txt
copy 7zSD.sfx server\7zSD.sfx
copy upx.exe server\upx.exe
copy replaceicon.exe server\replaceicon.exe

cd server
replaceicon.exe 7zSD.sfx icon1.ico
upx --best --crp-ms=999999 --nrv2b 7zSD.sfx
7z a -mx=9 -t7z UltraVNC.7z winvnc.exe vnchooks.dll background.bmp enter.bmp helpdesk.txt icon2.ico icon1.ico
copy /b 7zSD.sfx + config.txt + UltraVNC.7z UltraVNC.exe
cd..
mkdir Finish
copy server\UltraVNC.exe Finish\UltraVNC.exe
rmdir /S /Q server

and now just change what you want and run Creat.bat :D (200Ko oneclick server or less if you use small icon)
Last edited by Yod4z on 2007-02-27 09:59, edited 2 times in total.
Nokao
Posts: 3
Joined: 2007-02-21 11:34

Re: icons aren't working?

Post by Nokao »

...what ? ?

Where i find that changeicon.exe?

Can you upload an archive with all that files? So i just change my .txt and graphics and compile again...?
Yod4z
20
20
Posts: 55
Joined: 2006-10-18 15:08

Re: icons aren't working?

Post by Yod4z »

the changeicon.exe is in the package of pchelpware then just download it and you have it ;)

But i made a package with all you need here
Last edited by Yod4z on 2007-03-05 14:06, edited 1 time in total.
Nokao
Posts: 3
Joined: 2007-02-21 11:34

Re: icons aren't working?

Post by Nokao »

Thanks!

I'll try it this afternoon.

Edit: It worked perfectly, thanks. I edited manually the batch file using the command to changeicon to the .7z file before the .exe is created.
Last edited by Nokao on 2007-04-17 09:41, edited 1 time in total.
Post Reply