Changes

WHFC

69 bytes added, 13:22, 4 February 2008
m
no edit summary
WHFC is a free (GPL) frontend to famous FAX server HylaFAX.
In this setup I install ('''NOTE''': tested only on XP) the program, setup the program (system settings) and the (virtual) printer.<br />
The package descritpion is:
<source lang="xml">
<package
id="whfc"
<remove cmd='rundll32 printui.dll,PrintUIEntry /q /dl /n "HylaFAX"' />
</package>
</source>
Where the whfc.bat contains:
<source lang="dos">
:: Apply configuration settings
::
regedit /s %WPKGROOT%\packages\whfc.reg
:: Apply configuration settings :: regedit /s %WPKGROOT%\packages\whfc.reg :: Create the printer, apply settings. :: rundll32 printui.dll,PrintUIEntry /q /dl /n "HylaFAX" rundll32 printui.dll,PrintUIEntry /q /if /b "HylaFAX" /f "%windir%\inf\ntprint.inf" /r "WHFCFAX:" /m "Apple LaserWriter 16/600 PS" rundll32 printui.dll,PrintUIEntry /q /Sr /n "HylaFAX" /a "%WPKGROOT\packages\whfc.dat" g d :: we ignore errors... :: exit 0
:: we ignore errors...
::
exit 0
</source>
You can obtain the whfc.dat file by creating the printer (manually or using the first two rundll32 commands), setup it as needed, and then dumping the configuration with:
The registry excerpt simply setup the system settings of WHFC:
<source lang="reg">
REGEDIT4
REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\WHFC] "SpoolOffLine"="C:\\Windows\\Temp\\" "SpoolDir"="C:\\Windows\\Temp\\" "Hostname"="fax" "InTaskBar"=dword:00000001 "CoverSheetVersion"="4.1" "RecvFaxArg"="rundll32.exe C:\\WINDOWS\\System32\\shimgvw.dll,ImageView_Fullscreen %s"</source>
This setup misses the user settings part, but I think that wpkg it is not the tool to use for this task, but roaming profiles, policy, ...
[[Category:Silent Installers]]