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

Self-executing installers for PcHelpWare Video Hook Drivers

Post Reply
basilirwin
Posts: 3
Joined: 2007-12-08 16:05
Contact:

Self-executing installers for PcHelpWare Video Hook Drivers

Post by basilirwin »

I built a package to turn the PcHelpware video hook drivers into self-executing installer/uninstallers for the XP and Vista drivers.

This package can be downloaded from here:

http://reliancepc.com/menu/remotehelp/D ... allers.exe

Example iinstaller/uninstallers can be downloaded from here:

http://reliancepc.com/menu/remotehelp

It includes a readme.txt file, which I've copied here so you can get an idea what this package does:


This software is used to make self-extracting installers and unininstallers for the
PCHelpware video hook drivers. It's based on software and methods used in the create_server
directory of the PCHelpWare version 1.0 software distribution found at:

http://www.uvnc.com/pchelpware/download/

The heart of this software is create.bat, and the the four installers are made as follows:

create xp install
create xp uninstall
create vista install
create visga uninstall

which respectively create the following working directories:

xpinstall
xpuninstall
vistainstall
vistauninstall

The four installers end up in:

downloadableinstallers

and are respectively named:

driver_xp_install.exe
driver_xp_uninstall.exe
driver_vista_install.exe
driver_vista_uninstall.exe


This software package can be downloaded from:

http://reliancepc.com/menu/remotehelp/D ... allers.exe

Example installers I've customized for myself can be downloaded at:

http://reliancepc.com/menu/remotehelp/


The upx.exe, 7z.exe, and replaceicon.exe tools in my disbribuiton are the ones included in
the PCHelpware 1.0 distribution in the create_server directory.

The video hook driver files in the driverxp and drivervista folders are the ones found in the
PCHelpware 1.0 distribution folders:

drivers\driverXPW2\driver
drivers\driverVISTA\driver

setupdrv.exe is from drivers\driverXPW2 in the PCHelpware 1.0 distribution

7zS.sfx was obtained by downloading 4.57 version 7z457_extra.7z from

http://sourceforge.net/project/showfile ... p_id=14481

I used 7zS.sfx, but you could use 7zSD.sfx instead.

Information abut these .sfx files can be found by looking at:
Help -> Contents -> Command Line Version -> Switches -sfx in 7zFM.exe (7Zip File Manager).

Note that I used Resource Hacker to manually customize the icons in 7zS.sfx. The icon source
I used for this is icon2.ico. icon1.ico is similar to icon1.ico and is used by the replaceicon
program to automatically replace the icon in setupdrv.exe.

At any rate, you can replace icon1.ico and icon2.ico with your own file and then use Resouce Hacker to
manually modify 7zS.sfx. (The 7zS.sfx included is the one I already modified for myself. The original
distribution file is 7zS.orig.sfx, which you can use to replace my 7zS.sfx file.

A good free icon processor is IcoFX 1.5 which is freely available at:


http://www.tucows.com/preview/501114


I've included Resource Hacker in the "Resource Hacker" directory obtained from:

http://www.angusj.com/resourcehacker/

This software is designed for the PCHelpWare video hook drivers, but clearly could be easily modifed
to package the UltraVNC video hook drivers as well.

Basil Irwin.

12/9/2007

[mod=3406,1197291660] Make post a sticky [/mod]
Last edited by basilirwin on 2009-05-31 09:23, edited 2 times in total.
Basil Irwin
Semmel_of_nine
Posts: 3
Joined: 2006-04-10 20:20

Re: Self-executing installers for PcHelpWare Video Hook Driv

Post by Semmel_of_nine »

Hi Basil,

I see that you advise the user here (http://reliancepc.com/reliancepc/menu/t ... torepoint/) to manually create a system restore point before installing the video driver. That is good practice.

You could do this automatically with few lines of C code as I just found out: See here: http://support.microsoft.com/kb/315530.

I guess one should replace the code in the "Install an Application" section of the Microsoft example with a call to ShellExecute("setupdrv.exe install", , ..) or CreateProcess("setupdrv.exe install", , ..). I dont know how to test the success though.

Semmel
Post Reply