
; AWFAX.INF

; This is the Setup information file to install Microsoft At Work Fax
; as a PlusPack Component.

; Copyright (c) 1994 - 1996 Microsoft Corporation

[version]
LayoutFile=layout.inf, layout1.inf
signature="$CHICAGO$"
SetupClass=PLUSPACK

[DestinationDirs]
FAXCopyFilesWin		= 10		;LDID_WIN \Windows dir
FAXDelOldWinFiles	= 10		;LDID_WIN
FAXDelAtInUninstal	= 10		;
FAXDelAtInWinBase	= 10		;

FAXCopyAddPrinterSys	= 11
FAXCopyFilesSys		= 11		;LDID_SYS \Windows\system dir
FAXCopyFilesPrint	= 11		;LDID_SYS \Windows\system dir
FAXDelOldSysFiles	= 11		;LDID_SYS
FaxViewSys		= 11		;LDID_SYS

FAXCopyAwfaxinf 	= 17 		;LDID_INF

FAXCopyFilesHelp	= 18		;LDID_HELP
FaxViewHelp		= 18		
FAXDelOldHelpFiles	= 18		;LDID_HELP

FAXCopyAppShared 	= 25 		;LDID_SHARED
FaxViewCopyAppShared	= 25

MessageInTheBottle	= 10,%SPOOL_DIR%\fax	; the Spool Directory

[Optional Components]
FAX

; Run these two section , they are order dependent because of how the
; registry entries are processed. We want to DelReg the LFN remove entries
; in FAXunintall section otherwise we will lose our NEW LFN files at install.
[BaseWinOptions]
FAXuninstall
FaxViewUninstall
AWFAXinstallable

[AWFAXinstallable]
CopyFiles		= FAXCopyAwfaxinf, FAXCopyAddPrinterSys
AddReg			= AwfaxReg.MaintMode, AwfaxReg.NotInstalled
DelReg			= FAXReg.Remove, FAXRenameReg.Del 
DelFiles		= FAXCopyAddPrinterSys, FAXDelAtInWinBase

[FAXCopyAwfaxinf]
awfax.inf

[AwfaxReg.MaintMode]

HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents ,"Msawfax",,"msawfax"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\msawfax,INF,,"awfax.inf"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\msawfax,Section,,"FAX"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\msawfax,Installed,,"0"

;This is the top level Product option
;
[FAX]
OptionDesc		= %FAXDesc%
Tip    			= %FAXTip%
CopyFiles		= FAXCopyFilesWin, FAXCopyAppShared, FAXCopyFilesSys, FAXCopyFilesHelp, FAXCopyFilesPrint, FAXCopyAddPrinterSys, MessageInTheBottle
DelFiles		= FAXDelOldWinFiles, FAXDelOldSysFiles
UpdateInis		= FAXInis, OLDFaxRemove.ini, WFWFaxCleanUp.ini
DelReg			= FaxReg.Old
AddReg			= FAXReg, FAXPrintReg, FAXRenameReg.Add
InstallType		= 0     			;Don't install by default.
IconIndex		= 19				;Windows mini-icon for dialog (see MICONS.TXT for list)
Needs			= MSMAIL, MSWordPad, ImageVue  ;setup product dependency 
Uninstall		= FAXuninstall

; Delete ALL the files (awadpr32.exe) that we installed and 
; the registery entry that created. Awadpr32.exe is left to remove
; the printer during the Runonce

[FAXuninstall]
DelFiles		= FAXCopyFilesWin, FAXCopyAppShared, FAXCopyFilesSys, FAXCopyFilesHelp,FAXDelAtInUninstal
UpdateInis		= FAXInis.Remove		; Remove unneed Short Cuts
DelReg			= FAXReg.Remove, FaxReg.Old	; Remove Unneed Registry entries
AddReg			= AwfaxReg.NotInstalled, FAXRenameReg.Del, FAXPrintReg.Delete

[AwfaxReg.NotInstalled]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\msawfax,Installed,,"0"

[FAXDelAtInUninstal]
awmodem.inf
FaxCover.ini
AWCPE.INI
AWFAXVUR.INI
faxview.exe

[FAXInis]
; Create link in SendTo folder 
setup.ini, progman.groups,, "SendTo=""..\..\%SendTo_Desc%"""     ;creates folder
setup.ini, SendTo,,"""%SendToFax_DESC%"",%11%\awsnto32.exe,,,,,%Sendfax%"	 ; create Link to EXE
;
;Program Item for the FAX group
;
setup.ini, progman.groups,, "groupFax=%FAXApps_DESC%"	;creates Accessories/Fax folder (if not already there
setup.ini, groupFax,,"""%FAXCOVER_Link_Desc%"",FaxCover.exe,,,,,%FaxCover%"
setup.ini, groupFax,,"""%CallaFaxService%"",%11%\awsnto32.exe   -p,%11%\awsnto32.exe,1,,,%FaxPoll%"
setup.ini, groupFax,,"""%SendNewFax%"",%11%\awsnto32.exe,,,,,%Newfax%"

;
; Program Group for Item in the "Program" -- First Level Start menu
;
setup.ini, progman.groups,, 	"FaxLnk="			;create NULL group
setup.ini, FaxLnk,, """%Old_SendNewFax%""",,		;Deletes link
;
; We have to delete these items now.... Since the name have changed but we might be reinstalling
; over an existing installation.
;
setup.ini, groupFax,, 		"""%Old_FAXCOVER_Link_Desc%""",,	;Deleteslink in Accessories folder
setup.ini, groupFax,, 		"""%Old_SendNewFax%""",,	
setup.ini, groupFax,, 		"""%Old_CallaFaxService%""",,



[FAXInis.Remove]
setup.ini, progman.groups,, "SendTo=""..\..\%SendTo_Desc%"""    ;creates folder
setup.ini, SendTo,,	"""%SendToFax_DESC%""",,		;Deletes Link

setup.ini, progman.groups,, "groupFax=%FAXApps_DESC%"		;Create folder
setup.ini, groupFax,, 	"""%FAXCOVER_Link_Desc%""",,		;Deleteslink in Accessories folder
setup.ini, groupFax,, 	"""%SendNewFax%""",,			
setup.ini, groupFax,, 	"""%CallaFaxService%""",,	

; and the Short names if we are on a short name system....
setup.ini, groupFax,, 	"""%FaxCover%""",,
setup.ini, groupFax,, 	"""%FaxPoll%""",, 
setup.ini, groupFax,,	"""%Newfax%""",,

;Delete old item in the Programs and Accorires folder

setup.ini, progman.groups,, "SendToOld=""%SendTo_Desc%"""    ;creates folder
setup.ini, group2,, 	"""%SendToFax_DESC%""",,		;Deletes link

setup.ini, progman.groups,, "group2="				;create NULL group
setup.ini, group2,, 	"""%Old_SendNewFax%""",,		;Deletes link
setup.ini, group2,, 	"""%FAXDesc%"""				;Deletes link to Accessories/Fax folder
;
; Delete link to FAX folder
setup.ini, progman.groups,, 	"FaxLnk="			;create NULL group
setup.ini, FaxLnk,, """%FAXDesc%"""				;Deletes link to Accessories/Fax folder


[OLDFaxRemove.ini]
setup.ini, progman.groups,, "SendToOld=""%SendTo_Desc%"""    ;creates folder
setup.ini, group2,, 	"""%SendToFax_DESC%""",,		;Deletes link

[WFWFaxCleanUp.ini]
msmail.ini,"custom messages","IPM.Microsoft Fax.Encrypted=*",
msmail.ini,"EFAX Transport","LocalFax=*",
msmail.ini,"Custom Menus","Fax=*",
msmail.ini,"Custom Commands","FaxOpts=*",
msmail.ini,"Custom Commands","FaxMgr=*",
msmail.ini,"Custom Commands","FaxAnswer2=*",
msmail.ini,"Custom Commands","FaxSecur=*",
msmail.ini,"Custom Commands","FaxSep1=*",
msmail.ini,"Custom Commands","FaxCheck=*",
msmail.ini,"Custom Commands","FaxAnswer=*",
msmail.ini,"Custom Commands","FaxHelp=*",
msmail.ini,"Microsoft Mail","CustomOptionsHandler=*",
win.ini, PrinterPorts,"Microsoft At Work Fax=*",
win.ini, devices,"Microsoft At Work Fax=*",

[FAXReg]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\msawfax,Installed,,"1"
HKCU,"Software\Microsoft\At Work Fax\Transport Service Provider","Presentation Data",,"1"	
;
; Cover page Editor Registery
;
HKCR,.cpe,,,FaxCover.Document
HKCR,.cpd,,,FaxCover.Document
HKCR,FaxCover.Document,,,%CPE_DOC%
HKCR,FaxCover.Document\DefaultIcon,,,"%25%\FaxCover.exe,1"
HKCR,FaxCover.Document\shell\open\command,,,"%25%\FaxCover.exe ""%%1"""
HKCR,FaxCover.Document\shell\print\command,,,"%25%\FaxCover.exe ""%%1"" /p"
;
; Registry for the message in the bottle....
;
; keys below should match those in awfaxp.c
HKLM,"SOFTWARE\Microsoft\At Work Fax\Local Modems\Received",,""
HKLM,"SOFTWARE\Microsoft\At Work Fax\Local Modems\Received",R00,,"001"
HKLM,"SOFTWARE\Microsoft\At Work Fax\Local Modems\Received",F00,,"RCV0000.EFX"
HKLM,"SOFTWARE\Microsoft\At Work Fax\Local Modems\Defaults",BlindDial,,"3"
HKLM,"SOFTWARE\Microsoft\At Work Fax\General",FirstRun,,"1"
;
; CPE-Transport interface
;
HKCU,Software\Microsoft\"At Work Fax","Transport Service Provider",,"transport service provider"
HKCU,"Software\Microsoft\At Work Fax\Transport Service Provider","Cover Page Editor",,"%25%\FaxCover.exe /SSESS_ID"
;
; Register our client Extensions
;
HKLM,Software\Microsoft\Exchange\Client\Extensions,,," "
HKLM,Software\Microsoft\Exchange\Client\Extensions,"MicrosoftFax",,"4.0;awfext32.dll;10;;;AWFAX"


[FAXRenameReg.Add]
HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Fax,,,%10%
HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Fax,confdent.cpe,,"%CPE_1desc%.cpe" 
HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Fax,fyi.cpe,,"%CPE_2desc%.cpe"
HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Fax,urgent.cpe,,"%CPE_4desc%.cpe"
HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Fax,generic.cpe,,"%CPE_5desc%.cpe"

[FAXRenameReg.Del]
HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\Fax,,,%10%
HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\Fax,confdent.cpe,,"%CPE_1desc%.cpe" 
HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\Fax,fyi.cpe,,"%CPE_2desc%.cpe"
HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\Fax,urgent.cpe,,"%CPE_4desc%.cpe"
HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\Fax,generic.cpe,,"%CPE_5desc%.cpe"
HKLM,Software\Microsoft\Windows\CurrentVersion\DeleteFiles\Fax,generic.cpe,,"%OLD_CPE_5desc%.cpe"


; /W Add entry run=awadpr32 /D to Win.ini 
; /D deletes Printer 
; /A Add printer 
; /M fixes the msmail,inf file
[FAXPrintReg.Delete]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,FAXPrint,,"%11%\awadpr32.exe /D"

[FAXPrintReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,FAXPrint,,"%11%\awadpr32.exe /AM"


[FAXReg.Remove]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents","Faxview"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents","FaxTop"
HKLM,Software\Microsoft\Exchange\Client\Extensions,"MicrosoftFax"
HKLM,SOFTWARE\Microsoft\"At Work Fax"
HKCU,Software\Microsoft\"At Work Fax"
HKCR,.cpe
HKCR,.cpd
HKCR,FaxCover.Document

[FaxReg.Old]
HKCR,AwFaxvur.Document
HKCR,Awcpe.Document
HKCR,AWCPE.CoverPage



;--------------------------------------Localizable Strings Section-------------------------------

; User-visible strings
[Strings]
FAXDesc			= "Microsoft Fax"

FAXTip          	= "Allows you to send and receive faxes"

; Program Groups
FAXApps_DESC		= "Accessories\Fax"
FaxPrograms		= "Programs"		; The Programs Group
SendTo_DESC     	= "SendTo"    		; Name of SendTo folder in the Windows dir
FaxStartMenu		= "StartMen"		; Name of the Start Menu Folder MUST USE 8.3 PATH NAME

; Group Item Names
SendToFax_DESC  	= "Fax Recipient"   	; 
FAXVIEW_Link_Desc	= "Fax Viewer"		; Not used
FAXCOVER_Link_Desc	= "Cover Page Editor"
CallaFaxService		= "Request a Fax"
ShowFaxQueue		= "Show Fax Queue"
SendNewFax		= "Compose New Fax"

; 8.3 name of the equivelent items above.... Have fun...

FaxPoll			= "Request"
Newfax			= "NewFax"
FaxCover		= "FaxCover"
Sendfax			= "SendFax"

; OLE Verb Names (Localized?)

PRINT			= "&Print"
OPEN			= "&Open"
EDIT			= "&Edit"

; The name of the Spool directory in c:\windows
SPOOL_DIR		= "spool"
; 
; Registry item names -- Must match what is in resource of program
VIEWER_DOC		= "Fax Viewer Document"
CPE_DOC			= "Cover Page Editor Document"

; Mapi provider names
FAXAB			= "Address Book"
FAXXP			= "Transport"
FAXMS			= "Messaging Service"

;
; Cover page Sample LFN's
CPE_1desc		= "Confidential!"
CPE_2desc		= "For your information"
CPE_4desc		= "Urgent!"
CPE_5desc		= "Generic"
OLD_CPE_5desc		= "General Purpose"
;
; for NON-US BUILD this STRING should be "NotUsed"
; no need to localize this anymore. This is handled in the code.
;rgMessageInTheBottle	= "Received"			; USA builds ONLY
;rgMessageInTheBottle	= "NotUsed"			; NON-USA BUILDS

; This is the 8.3 name of the OLD General Purpose CPE file
; We Had to make a short File name so we would have correct defaults
; even on non-Long File name systems. This name is used to delete the
; old "General Purpose.CPE" file
General83name		= "GENERA~1.CPE"  

; Old names need for deleting links left over from previous installs
Old_CallaFaxService	= "Retrieve File"
Old_ShowFaxQueue	= "Show Fax Queue"
Old_SendNewFax		= "Send New Fax"
Old_FAXCOVER_Link_Desc	= "Fax Cover Page Editor"


;;; These strings should not localized -- Must not change
TransportReg		= "Software\Microsoft\At Work Fax\Transport Service Provider"

;
[FAXDelAtInWinBase]
%General83name%

; These are the files to delete IF we get installed. We delete WFW FAX files
; when we get installed, simply because we have conflicting names between the components.

[FAXDelOldWinFiles]
efaxpump.dll,,,1
efaxrun.dll,,,1
awnetfax.dll,,,1
faxopt.dll,,,1
netfax.dll,,,1
faxspool.dll,,,1
viewrend.dll,,,1
rad.exe,,,1
awfaxio.dll,,,1
awfxprot.dll,,,1
awt30.dll,,,1
dllsched.dll,,,1
faxcodec.dll,,,1
faxcover.dll,,,1
faxmgr.exe,,,1
faxview.exe	 ; Can't delete this at install, if we have previoisly 
		 ; installed the viewer package it won't reinstall
ifkernel.dll,,,1
keyview.exe,,,1
lineariz.dll,,,1
msfax.hlp,,,1
msfaxrad.hlp,,,1
sigview.exe,,,1
trnoff.dll,,,1
rpctask.exe,,,1

[FAXDelOldSysFiles]
rbaspool.dll,,,1
;wpsunire.dll,,,1		; Deleteing this cause setup warning
wpsfaxqp.dll,,,1
arasock.dll,,,1
awrpc.dll,,,1
bidilpt.dll,,,1
mapistub.dll,,,1
mapiutil.dll,,,1
psi_spx.dll,,,1
psicomm.dll,,,1
faxcomp.dll,,,1
wpsfax.drv,,,1
lhutil.dll,,,1
efaxdrv.drv,,,1
fax.cpl,,,1
faxnsp.dll,,,1
faxstub.dll,,,1

[FAXCopyAddPrinterSys]
awadpr32.exe,,,1			;  Add printer Util

[FAXCopyAppShared]
FaxCover.exe,,,1			;  Cover Page Editor

[FAXCopyFilesHelp]
awfax.cnt ,,,1			;  At Work Help File
awfax.hlp,,,1			;  At Work Help File
awprt.hlp,,,1			;  At Work Help File
Faxcover.cnt ,,,1		;  At Work Fax Coverpage Help File
Faxcover.hlp,,,1		;  At Work Fax Coverpage Help File

[FAXCopyFilesPrint]
faxcodec.dll,,,1		;  
genfax.apd,,,1			;  
wpsapd.dll,,,1			;  
wpsuni.drv,,,1			;  
wpsunire.dll,,,1			;  

[FAXCopyFilesSys]
awbmsc32.dll,,,1			;  Bitmap Scaler
awbtrv32.dll,,,1			;  Bit Reversal
awcapi32.dll,,,1			;  Capability database
awcl1_32.dll,,,1			;  Class 1 Modem Driver
awcl2_32.dll,,,1			;  Class 2 Modem Driver
awdevl16.dll,,,1			;  Printer Device Layer
awdevl32.dll,,,1			;  Printer Device Layer
awfaxp32.dll,,,1			;  MAPI Fax Tranpsort
awfext32.dll,,,1			;  Linearizer
awfmon32.dll,,,1			;  Print Monitor
awfr32.dll,,,1				;  Format Resoultion
awfxab32.dll,,,1			;  Address Book
awfxcg32.dll,,,1			;  Property sheets for mapi
awfxex32.exe ,,,1			;  
awfxio32.dll,,,1			;  Fax Common IO
awfxrn32.dll,,,1			;  
awlft332.dll,,,1			;  
awlhut32.dll,,,1			;  Lineraizer Utilites
awlinz32.dll,,,1			;  Linearizer
awlzrd32.dll,,,1			;  Lz encoder/decoder
awnfax32.dll,,,1			;  Network Fax Client
awpwd32.dll,,,1				;  Security Support
awramb32.dll,,,1			;  Rambo Encoder
awrbae32.dll,,,1			;  Rambo Decoder
awrndr32.dll,,,1			;  Generic Renderer
awschd32.dll,,,1			;  Fax Scheduler
awsnto32.exe,,,1			;  Mail Print To Extentions
awsrvr32.dll,,,1			;  Network Fax Server
awt30_32.dll,,,1			;  T30 protocol Driver
awutil32.dll,,,1			;  At Work Security support
rndsrv32.dll,,,1			;  Render Server

[FAXCopyFilesWin]
confdent.cpe,,,1			;  Confidential!
fyi.cpe,,,1			;  For your information
generic.cpe,,,1			;  General purpose
urgent.cpe,,,1			;  Urgent!

[FaxViewCopyAppShared]
FaxView.exe,,,1			;  Fax Viewer

[FaxViewHelp]
Faxview.cnt,,,1			;  At Work Fax Viewer Help File
Faxview.hlp,,,1			;  At Work Fax Viewer Help File

[FaxViewSys]
awcodc32.dll,,,1			;  Fax Codec
awdcxc32.dll,,,1			;  DCX Codec
awkrnl32.dll,,,1			;  Common Support
awresx32.dll,,,1			;  Resource Executor
awview32.dll,,,1			;  Viewing Engine

[FilesNotCopied]
awfax.csv,,,1			;  CSV file for Chicago Layout files
awfax.inf,,,1			;  Setup file checked into Chicago Tree

[MessageInTheBottle]
RCV0000.efx,,,1			;  First Message to Arrive in Inbox from Fax
