Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

A (re)Configurable PHW-server.exe

Post Reply
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

A (re)Configurable PHW-server.exe

Post by YY »

Most of us had used the PHW-viewer to create the server, but in many times we just want to make a new version with a minor modification of the helpdesk.txt from an old version.

Would it be nice if we can edit/modify the helpdesk.txt inside a PHW-server.exe directly?

Many of us know that we can inspect/extract the content inside the .EXE with 7-ZIP, but you will get an error message when you try to change the helpdesk.txt. This is because all the archives are packed together thus impossible to modify any of them.

So if the helpdesk.txt is not mixed with other files (but it is still packed inside the .EXE), you can modify its content when opening it with 7-ZIP.

To make this, you just need to make a simple modification of the \\PcHelpWare\create_server\Create.bat
Inside it, locate the following statement and modify it:

From:
7z a -mx=9 -t7z PcHelpWare.7z PcHelpWare.exe SCHook.dll background.bmp helpdesk.txt 1SCDLL.dll 1CHATDLL.dll icon1.ico
To:
7z a -mx=9 -t7z PcHelpWare.7z PcHelpWare.exe SCHook.dll background.bmp txt 1SCDLL.dll 1CHATDLL.dll icon1.ico

7z a -ms=off -mx=0 -t7z PcHelpWare.7z helpdesk.txt
That is it.

The .EXE created with this batch script will have the helpdesk.txt packed separately, which means you can edit it freely with 7-ZIP.

Remind: when you modify the helpdesk.txt, it will write into the .EXE directly, so make sure to have the backup if you still want to keep the original.
Last edited by YY on 2009-06-18 02:23, edited 1 time in total.
Post Reply