; PENWIN.INF
;
; This is the Setup information file for installation of the Pen Services
; for Windows 95 OEM product.  This .INF file installs both Pen Services
; for Windows 95 and the accompanying pen driver.
;
; Copyright 1995, Microsoft Corporation
;

[version]
; The layout record is optional in Windows 95.  It can be replaced with
; SourceDisksNames and SourceDisksFiles sections and that is what is done
; in this .INF file.
;LayoutFile=layout.inf
signature="$CHICAGO$"
; Use of a SetupClass record means that this is *not* a PnP .INF file.
SetupClass=NOTPnP
Provider=%Msft%

[SourceDisksNames]
; This section denotes distribution disks and assocated Logical Disk
; Identifiers (LDIDs).
;
; <LDID> = <desc. string key>, <disk label>, <disk ser. num.>
;
; All the pen services and tablet files fit on one diskette.
1="PenServices", "PENSERVICES", 0001

[SourceDisksFiles]
; This section lists all the filenames and filesizes on the one diskette.
; Setup uses filesizes to calculate and display a "space needed" amount in
; the UI.
;
; <filename> = <LDID>,,<filesize>
GRECO.DLL     =1,,377200
MSKB.DLL      =1,,48100
PEN.CNT       =1,,2100
PEN.HLP       =1,,78300
PENC.DRV      =1,,6600
PENCAL.DLL    =1,,10100
PENCP.CPL     =1,,36200
PENUI.DLL     =1,,9000
PENWIN.DLL    =1,,232200
PENWIN.INF    =1,,18600
PENWIN32.DLL  =1,,22100
SK.EXE        =1,,22100
TRAINER.EXE   =1,,15200
VPENDC.VXD    =1,,15200
W_PEN.CNT     =1,,2500
WRITEPAL.EXE  =1,,29700

[DestinationDirs]
; This section defines the destination directories for each file-list section.
; <file-list section> = <predefined LDID>
;
; The following six records specify the destination of files being installed
; for Pen Services for Windows 95, or being uninstalled.
PenServices.files          = 25    ; LDID_SHARED
PenServices.sys            = 11    ; LDID_SYS
PenServices.help           = 18    ; LDID_HELP
Register_PenServices.Copy  = 17    ; LDID_INF
PenDrv_CopyFiles           = 11    ; LDID_SYS
PenDrv_VxD_CopyFiles       = 22    ; LDID_VMM32
del.PrevBeta.files         = 25    ; LDID_SHARED
del.PrevBeta.files.sys     = 11    ; LDID_SYS


; ============ START OF OPTIONAL COMPONENTS DESCRIPTION SECTIONS ==============

[Optional Components]
; This section contains the names of the sections that contain information
; about each optional component.
PenServices

[Register_PenServices.AddReg]
; This section establishes the registry keys that Setup needs to install and
; uninstall the pen services option.
;
; Create Registry entries for Maint Mode Setup
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents,"PenServices",,"PenServices"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\PenServices,INF,,"penwin.inf"
; This optional component's [Optional Component's] section name.
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\PenServices,Section,,"PenServices"
; The default for maintenance mode setup is to mark this component
; as installed.
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\PenServices,Installed,,"1"

; ---------- Start of Pen Services optional component description -------------

[PenServices]
; The number of records that are used in this section is open-ended.
OptionDesc      = %PenServicesDesc%
Tip             = %Pen_Tip%
IconIndex       = 4
AddReg          = Register_PenServices.AddReg, PenServices_Add_Reg, PenDrv_Add_Reg
DelReg          = PenDrv_Old_Reg
DelFiles        = del.PrevBeta.files, del.PrevBeta.files.sys
CopyFiles       = Register_PenServices.Copy, PenServices.files, PenServices.help, PenServices.sys, PenDrv_CopyFiles, PenDrv_VxD_CopyFiles
UpdateInis      = del.PrevBeta.links, PenServices.links, MS_PENWIN_Ini
UpdateIniFields = MS_PENWIN_Inifields
; The following record points to the section that uninstalls pen services.
Uninstall       = PenServices_remove
; This ensures that Win95 setup will need to show the Reboot Now... message.
Reboot          = 1

[PenServices_remove]
; This section uninstalls pen services
DelFiles        = PenServices.files, PenServices.sys, PenServices.help, Register_PenServices.Copy, PenDrv_CopyFiles, PenDrv_VxD_CopyFiles
DelReg          = PenServices.remove.reg, PenDrv_Del_Reg, PenServices_Del_Reg
UpdateInis      = del.PenServices.links, NO_MS_PENWIN_Ini
UpdateIniFields = NO_MS_PENWIN_Inifields
 
; ============= END OF OPTIONAL COMPONENT DESCRIPTIONS ========================

; ============= START OF REGISTRY STUFF =======================================

[PenDrv_Del_Reg]
; This section is referred to by [PenServices_remove], it removes all registry
; entries created by [PenDrv_Add_Reg].
HKLM,System\CurrentControlSet\Services\VxD\VPEND

[PenDrv_Old_Reg]
; This section is referred to by [PenServices], it removes registry entries
; for all digitizers that may have been registered in a previous pen services
; version 2.0 install and that are no longer supported by the pen sample driver.
HKLM,System\CurrentControlSet\Services\VxD\VPEND\CalComp
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Grid
HKLM,System\CurrentControlSet\Services\VxD\VPEND\IBM
HKLM,System\CurrentControlSet\Services\VxD\VPEND\SummaGraphics
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\PL-100V
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\Tablet"

[PenDrv_Add_Reg]
; This section is referred toby [PenServices], it adds registry entiries
; for digitizers supported by the pen sample driver.
HKLM,System\CurrentControlSet\Services\VxD\VPEND,AngleXY,1,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND,AngleZ,1,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND,Height,1,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND,StaticVxD,,"*vpendc"
HKLM,System\CurrentControlSet\Services\VxD\VPEND,BootStatus,1,01,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND,Model,,""
HKLM,System\CurrentControlSet\Services\VxD\VPEND,Pressure,1,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\SD-510C,FriendlyName,,"Wacom Technologies Digitizer Model SD-510C"
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\SD-510C,Inductive,1,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\SD-510C,CommandSet,1,0d,52,45,0d,00,41,53,31,0d,00,53,52,0d,00,00,00,00,49,43,31,\
0d,00,00,00,00,00,50,48,31,0d,00,00,00,00,00,41,4c,31,0d,00,00,00,00,00,00,\
41,4c,30,0d,00,00,50,48,30,0d,00,53,54,0d,00,53,50,0d,00,52,51,31,0d,00,41,\
4c,31,0d,00,41,4c,30,0d,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\SD-510C,Force,1,23,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\SD-510C,RateValues,1,14,00,00,00,16,00,00,00,19,00,00,00,1c,00,00,00,21,00,00,00,\
28,00,00,00,32,00,00,00,43,00,00,00,64,00,00,00,c8,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\SD-510C,RateCommands,1,49,54,31,30,0d,00,49,54,39,0d,00,49,54,38,0d,00,49,54,37,0d,\
00,49,54,36,0d,00,49,54,35,0d,00,49,54,34,0d,00,49,54,33,0d,00,49,54,32,0d,\
00,49,54,31,0d,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\SD-510C,HardwareInfo,1,01,00,00,00,f8,03,00,00,04,00,00,00,F4,01,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,83,ff,ff,ff,83,\
ff,ff,ff,07,00,00,00,03,00,01,00,01,00,16,00,08,00,00,00,37,00,00,00,70,00,\
00,00,00,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\SD-510C,PenInfo,1,b6,21,00,00,22,15,00,00,db,10,00,00,91,0a,00,00,42,00,00,00,00,\
00,00,00,14,00,00,00,c8,00,00,00,00,00,00,00,26,00,00,00,01,00,00,00,00,00,\
00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,08,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\HD-648A,FriendlyName,,"Wacom Technologies Digitizer Model HD-648A"
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\HD-648A,PenInfo,1,6c,20,00,00,60,18,00,00,36,10,00,00,30,0c,00,00,42,00,00,00,00,\
00,00,00,14,00,00,00,c8,00,00,00,01,00,00,00,27,00,00,00,01,00,00,00,02,00,\
00,00,01,00,00,00,46,00,00,00,46,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,06,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\HD-648A,CommandSet,1,0d,52,45,0d,00,41,53,31,0d,00,53,52,0d,00,00,00,00,49,43,31,\
0d,00,00,00,00,00,50,48,31,0d,00,00,00,00,00,41,4c,31,0d,00,00,00,00,00,00,\
41,4c,30,0d,00,00,50,48,30,0d,00,53,54,0d,00,53,50,0d,00,52,51,31,0d,00,41,\
4c,31,0d,00,41,4c,30,0d,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\HD-648A,Force,1,23,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\HD-648A,Inductive,1,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\HD-648A,RateValues,1,14,00,00,00,16,00,00,00,19,00,00,00,1c,00,00,00,21,00,00,00,\
28,00,00,00,32,00,00,00,43,00,00,00,64,00,00,00,c8,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\HD-648A,RateCommands,1,49,54,31,30,0d,00,49,54,39,0d,00,49,54,38,0d,00,49,54,37,0d,\
00,49,54,36,0d,00,49,54,35,0d,00,49,54,34,0d,00,49,54,33,0d,00,49,54,32,0d,\
00,49,54,31,0d,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\HD-648A,HardwareInfo,1,01,00,00,00,f8,03,00,00,04,00,00,00,F4,01,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,07,00,00,00,03,00,01,00,01,00,15,00,06,00,00,00,37,00,00,00,70,00,\
00,00,00,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\UD-0608-R,FriendlyName,,"Wacom Technologies Digitizer Model UD-0608-R"
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\UD-0608-R,PenInfo,1,7e,1f,00,00,9f,17,00,00,7e,1f,00,00,9f,17,00,00,42,00,00,00,00,\
00,00,00,14,00,00,00,c8,00,00,00,01,00,00,00,26,00,00,00,01,00,00,00,02,00,\
00,00,01,00,00,00,78,00,00,00,78,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,09,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\UD-0608-R,CommandSet,1,2f,72,23,00,00,53,52,0d,00,00,00,00,49,43,31,0d,00,00,00,00,\
00,50,48,31,0d,00,00,00,00,00,41,4c,31,0d,00,00,00,00,00,00,41,4c,30,0d,00,\
00,50,48,30,0d,00,00,00,52,51,31,0d,00,41,4c,31,0d,00,41,4c,30,0d,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\UD-0608-R,Force,1,23,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\UD-0608-R,Inductive,1,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\UD-0608-R,RateValues,1,14,00,00,00,16,00,00,00,19,00,00,00,1c,00,00,00,21,00,00,00,\
28,00,00,00,32,00,00,00,43,00,00,00,64,00,00,00,c8,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\UD-0608-R,RateCommands,1,49,54,31,30,0d,00,49,54,39,0d,00,49,54,38,0d,00,49,54,37,0d,\
00,49,54,36,0d,00,49,54,35,0d,00,49,54,34,0d,00,49,54,33,0d,00,49,54,32,0d,\
00,49,54,31,0d,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Wacom\UD-0608-R,HardwareInfo,1,01,00,00,00,f8,03,00,00,04,00,00,00,64,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,07,00,00,00,03,00,02,00,01,00,14,00,09,00,00,00,37,00,00,00,70,00,\
00,00,00,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Compaq\Concerto,CommandSet,1,0d,52,45,0d,00,41,53,31,0d,53,52,0d,00,00,00,00,49,43,31,0d,\
00,00,00,00,00,50,48,31,0d,00,00,00,00,00,41,4c,31,0d,00,00,00,00,00,00,41,\
4c,30,0d,00,00,50,48,30,0d,00,53,54,0d,00,53,50,0d,00,52,51,31,0d,00,41,4c,\
31,0d,00,41,4c,30,0d,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Compaq\Concerto,FriendlyName,,"Compaq Concerto"
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Compaq\Concerto,PenInfo,1,88,1d,00,00,26,16,00,00,c4,0e,00,00,13,0b,00,00,64,00,00,00,00,\
00,00,00,14,00,00,00,c8,00,00,00,00,00,00,00,27,00,00,00,01,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,02,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\VPEND\Compaq\Concerto,HardwareInfo,1,00,00,00,00,00,00,00,00,0f,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,25,00,02,00,00,00,37,00,00,00,70,00,\
00,00,00,00,00,00

[PenServices_Add_Reg]
; This section is referred to by [PenServices], it adds registry entries
; for miscellaneous Pen Services' needs.  Other entries are added when
; the user chooses non-default settings in the Control Panel.
HKCU,"Control Panel\Desktop",DoubleClickHeight,,35
HKCU,"Control Panel\Desktop",DoubleClickWidth,,35

[PenServices_Del_Reg]
; This section is referred to by [PenServices_Remove], it removes misc.
; registry entries that may have been added by Pen Services.
HKCU,"Control Panel\Desktop",DoubleClickHeight
HKCU,"Control Panel\Desktop",DoubleClickWidth
HKCU,"Control Panel\Pen"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Pen"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\PenServices"
HKU ,".Default\Control Panel\Pen"

; ============= END OF REGISTRY STUFF =========================================

; ============= START OF INSTALL SECTIONS =====================================

; ------------- Start of Pen Services Install Sections ------------------------

[Register_PenServices.Copy]
; This section copies the penwin.inf file to the harddisk so Setup can
; use it later for uninstall.
;
; LDID_INF = 17
penwin.inf,,,1

[PenServices.files]
; LDID_SHARED = 25
sk.exe,,,1
trainer.exe,,,1
writepal.exe,,,1

[PenServices.sys]
; LDID_SYS = 11 
penwin.dll,,,1
pencp.cpl,,,1
pencal.dll,,,1
greco.dll,,,1
mskb.dll,,,1
penwin32.dll,,,1

[PenServices.help]
; LDID_HELP = 18
pen.cnt,,,1
pen.hlp,,,1
w_pen.cnt,,,1

[PenDrv_CopyFiles]
penc.drv,,,1
penui.dll,,,1

[PenDrv_VxD_CopyFiles]
; Copy to system\vmm32.
vpendc.vxd,,,1

[PenServices.links]
; This section adds Pen Services items to the Win95 Start:Programs:Pen
; Services Group menu.
setup.ini, progman.groups,, "group4=""%PenServicesDesc%"""      ; creates folder
setup.ini, group4,, """%TrainerDesc%"", trainer.exe,,, trainer" ; creates link
setup.ini, group4,, """%WritePalDesc%"", writepal.exe,,,palette"; creates link
setup.ini, group4,, """%ScreenKBDDesc%"", sk.exe,,, keyboard"   ; creates link

[del.PenServices.links]
; This section removes Pen Services items from the Win95 Start:Programs:Pen
; Services Group menu.
setup.ini, progman.groups,, "group4=%PenServicesDesc%"          ; creates folder
setup.ini, group4,, """%TrainerDesc%"""                         ; removes link
setup.ini, group4,, """%WritePalDesc%"""                        ; removes link
setup.ini, group4,, """%ScreenKBDDesc%"""                       ; removes link

[del.PrevBeta.links]
; This section removes Pen Services items installed in previous betas
; from the Win95 Start:Programs:Accessories and Games menus.
setup.ini, progman.groups,, "group4=%APPS_DESC%"                ; creates folder
setup.ini, group4,, """%TrainerDesc%"""                         ; removes link
setup.ini, group4,, """%WritePalDesc%"""                        ; removes link
setup.ini, group4,, """%ScreenKBDDesc%"""                       ; removes link
setup.ini, group4,, """%NoteservDesc%"""                        ; removes link
setup.ini, group4,, """%WinpadDesc%"""                          ; removes link
setup.ini, progman.groups,, "group5=%OldPenServicesDesc%"       ; creates folder
setup.ini, group5,, """%TrainerDesc%"""                         ; removes link
setup.ini, group5,, """%WritePalDesc%"""                        ; removes link
setup.ini, group5,, """%ScreenKBDDesc%"""                       ; removes link
setup.ini, progman.groups,, "group6=%GAMES_DESC%"               ; creates folder
setup.ini, group6,, """%CrosswordDesc%"""                       ; removes link

[del.PrevBeta.files]
; This section removes files that may be laying around from installations
; of previous betas.
; LDID_SYS = 25
winpad.ini,,,1
mslcw.exe,,,1
lcw.exe,,,1
greco.dll,,,1
skb.exe,,,1

[del.PrevBeta.files.sys]
; This section removes files that may be laying around from installations
; of previous betas.
; LDID_SYS = 11 
puzzles.pzv,,,1
winpad.dat,,,1
winpad.idx,,,1
cppen.cpl,,,1
cpcal.cpl,,,1
skb.exe,,,1

[PenServices.install.reg]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents,PenServices,Installed,,"1"

[PenServices.remove.reg]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents,PenServices,Installed,,"0"

; ------------- End of Pen Services Install Section ---------------------------

; ============= END OF INSTALL SECTIONS =======================================

; ============= START OF INI FIXUP SECTIONS ===================================

[MS_PENWIN_IniFields]
system.ini,boot,drivers,,penwindows
system.ini,boot,drivers,,pen

[MS_PENWIN_Ini]
; Pen API library
system.ini,drivers,,"penwindows=penwin.dll"
; Determines level of non-critical errors flagged.
; 0 = show nothing, 1 = show errors, 2 = show errors and warnings
system.ini,boot,,"PenWinErrors=1"
system.ini,drivers,,"pen=penc.drv"
system.ini,"Display Driver","OrientableDrivers=",

[NO_MS_PENWIN_IniFields]
system.ini,boot,drivers,penwindows
system.ini,boot,drivers,pen

[NO_MS_PENWIN_Ini]
system.ini,drivers,"penwindows=penwin.dll"
system.ini,boot,"PenWinErrors=1"
system.ini,drivers,"pen=penc.drv"

; ============= END OF INI FIXUP SECTIONS =====================================

; ============= START OF USER-VISIBLE STRINGS FOR INTERNATIONALIZATION ========

[Strings]
; All translatable strings are placed in this section.
PenServicesDesc    = "Services du stylet"
OldPenServicesDesc = "Services de stylet pour Windows 95"
Pen_Tip            = "Installe et désinstalle les services ansi que les gestionnaires de stylet"
Msft               = "Microsoft"
APPS_DESC          = "Accessoires"
GAMES_DESC         = "Accessoires\Jeux"
TrainerDesc        = "Apprent. de l'écriture manuelle"
WritePalDesc       = "Tablette d'écriture"
ScreenKBDDesc      = "Le clavier d'écran"
WinpadDesc         = "Winpad l'organisateur"
NoteservDesc       = "Note sur le serveur"
CrosswordDesc      = "Puzzle de mots croisés"

; ============= END OF .INF FILE ==============================================
