; 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 ; ; AMiTY Smart Pad Installation Version (1996.5.20) ; ; Mitsubishi Electric Corp. [version] ;LayoutFile=layout.inf signature="$CHICAGO$" SetupClass=NOTPnP Provider=%Melco% [SourceDisksNames] 1="PenServices for Windows 95", "PENSRV", 0001 [SourceDisksFiles] IDLLMAN.DLL =1,,5312 MSKB.DLL =1,,50160 MSPENUI.DLL =1,,10272 PEN.CNT =1,,2768 PEN.HLP =1,,111316 PENC.DRV =1,,6560 PENCAL.DLL =1,,10048 PENCP.CPL =1,,49792 PENDIJ.DLL =1,,66000 PENSKJ32.EXE =1,,23552 PENTPJ32.EXE =1,,67072 PENTRJ.EXE =1,,20352 PENTRJ.TXT =1,,190 PENUI.DLL =1,,8912 PENWIN.DLL =1,,275712 PENWIN.INF =1,,13611 PENWIN32.DLL =1,,24064 VPENDC.VXD =1,,15974 W_PEN.CNT =1,,3347 [DestinationDirs] ; This section defines the destination directories for each file-list section. ; = ; ; 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 PenServices.gid = 18 ; LDID_HELP ;PenServices.rec = 25 ; MS版の文字認識は使用しない Register_PenServices.Copy = 17 ; LDID_INF PenDrv_CopyFiles = 11 ; LDID_SYS PenDrv_VxD_CopyFiles = 22 ; LDID_VMM32 del.PrevBeta.files = 25 ; LDID_SHARED ; ============ 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, Init_Help.AddReg DelReg = PenDrv_Old_Reg, PenServices_Old_Reg DelFiles = del.PrevBeta.files CopyFiles = Register_PenServices.Copy, PenServices.files, PenServices.help, PenServices.sys, PenDrv_CopyFiles, PenDrv_VxD_CopyFiles UpdateInis = del.PrevBeta.links, PenServices.links, StartUp.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, PenServices.gid, PenServices.rec, Register_PenServices.Copy, PenDrv_CopyFiles, PenDrv_VxD_CopyFiles AddReg = Init_Help.AddReg DelReg = PenServices.remove.reg, PenDrv_Del_Reg, PenServices_Del_Reg UpdateInis = del.PenServices.links, del.StartUp.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] 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,,"Digitizer\TouchPen" HKLM,System\CurrentControlSet\Services\VxD\VPEND,Pressure,1,00 HKLM,System\CurrentControlSet\Services\VxD\VPEND\Digitizer\TouchPen,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\Digitizer\TouchPen,FriendlyName,,"Touch Pen" HKLM,System\CurrentControlSet\Services\VxD\VPEND\Digitizer\TouchPen,PenInfo,1,\ 6c,20,00,00,60,18,00,00,7c,03,00,00,ac,03,00,00,78,00,00,00,00,00,00,00,\ 78,00,00,00,78,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\Digitizer\TouchPen,HardwareInfo,1,\ 00,00,00,00,00,00,00,00,0a,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ F7,FF,FF,FF,EC,FF,FF,FF,73,03,00,00,AE,03,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,00,00,00,00 [PenServices_Old_Reg] ; This section is referred to by [PenServices], it removes misc. ; registry entries that may have been added by previous Pen Services. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Pen" [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 HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Pen\BEdit","FontName",,"%FontNameDesc%" [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" HKCU,"Software\Microsoft\Windows\CurrentVersion\Pen" HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Pen" HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Pen" HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\PenServices" HKU ,".Default\Control Panel\Pen" [Init_Help.AddReg] ; Run Once Wrapper entry to run winhelp initialization to setup or remove pen.hlp. ; "winhlp32 -s windows" causes the winhelp initialization animation to not occur. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce",,,"%25%\winhlp32.exe -s windows" ; ============= 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 penskj32.exe,,,1 pentpj32.exe,,,1 pentrj.exe,,,1 pentrj.txt,,,1 [PenServices.sys] ; LDID_SYS = 11 idllman.dll,,,1 mskb.dll,,,1 mspenui.dll,,,1 pencal.dll,,,1 pencp.cpl,,,1 pendij.dll,,,1 penwin.dll,,,1 penwin32.dll,,,1 ;rodan.dll,,,1 [PenServices.help] ; LDID_HELP = 18 pen.cnt,,,1 pen.hlp,,,1 w_pen.cnt,,,1 [PenServices.gid] ; LDID_HELP = 18 pen.gid,,,1 ;[PenServices.rec] ; LDID_SHARED = 25 ;rodan00.mem,,,1 [PenDrv_CopyFiles] ; LDID_SYS = 11 penc.drv,,,1 penui.dll,,,1 [PenDrv_VxD_CopyFiles] ; LDID_VMM32 = 22 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,, "%DataInputWindowDesc%, penskj32.exe,,, diw"; creates link setup.ini, group4,, "%ToolPaletteDesc%, pentpj32.exe,,, toolpal"; creates link setup.ini, group4,, "%TrainerDesc%, pentrj.exe,,, trainer" ; creates link [StartUp.links] ; This section adds an Pen Services item to the Win95 Start:Programs:StartUp ; Group menu. setup.ini, progman.groups, , "group1=%StartUpDesc%" setup.ini, group1,, "%ToolPaletteDesc%, pentpj32.exe,,, toolpal"; 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%" ; deletes folder setup.ini, group4,, "%DataInputWindowDesc%" ; removes link setup.ini, group4,, "%ToolPaletteDesc%" ; removes link setup.ini, group4,, "%TrainerDesc%" ; removes link [del.StartUp.links] ; this section removes an Pen Services item from the Win95 Start:Programs:StartUp ; Group menu setup.ini, progman.groups,, "group1=%StartUpDesc%" setup.ini, group1,, "%ToolPaletteDesc%" ; removes link [del.PrevBeta.links] ; This section removes Pen Services items installed in previous betas ; from the Win95 Start:Programs:Pen Services Group and StartUp menus. setup.ini, progman.groups,, "group4=%OldPenServicesDesc%" ; deletes folder setup.ini, group4,, "%DataInputWindowDesc%" ; removes link setup.ini, group4,, "%ToolPaletteDesc%" ; removes link setup.ini, progman.groups,, "group1=%StartUpDesc%" setup.ini, group1,, "%ToolPaletteDesc%" ; removes link [del.PrevBeta.files] ; This section removes files that may be laying around from installations ; of previous betas. penjtrj.txt,,,1 penskj.exe,,,1 pentpj.exe,,,1 toolpal.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 = "Pen Services" OldPenServicesDesc = "Pen Services for Windows 95" Pen_Tip = "ペンを使用して手書き入力でデータ処理をするための拡張機能です。" Melco = "松下電器産業株式会社" StartUpDesc = "スタートアップ" FontNameDesc = "MS P明朝" DataInputWindowDesc = "下書き帳" ToolPaletteDesc = "ツール パレット" TrainerDesc = "手書き認識トレーナー" ; ============= END OF .INF FILE ==============================================