使ってあげよう ほほえみくん

秋葉原のあちこちのお店で、某生保会社の営業さんが使っていた機械【Libretto 50M】が中古として流出しています。
でもどこのお店にも書いてある但し書き。↓
ペンドライバはありません。DOSマシンとしての利用等、腕に自信のある方のみどうぞ!」
…ま、良いんですけど。どのみち飽きたらFreeBSDマシンとして使い潰す積もりだし。

でも、折角使えるデバイスが使えないって何か癪なんですよね。
っつ訳でオークションで買ってみました。ドライバのインストールサービス。
ドライバの配布のみ、ってのは行っていないんだそうです。インストールの手数料、3000円也。
こういう変なマシンを買っちゃう向きとしてはインストールしてくれなくて良いから
使えるファイルだけ送ってくれたら良いんですが、ソレやっちゃうと同業他者が増えるからやりたくないんでしょうね。
他人の褌で相撲取って小遣い稼いで、さぞかし充実した人生でしょうな。

初期状態の「ほほえみくん」の設定ファイルを置いときます。
ドライバ入れてるのに使えねェぞゴルァって方、ご参照下さい。

コソーリ君(゚д゚)のご協力で必要最小限と思われるものを纏めてみました。
ほほえみくん(Libretto 50M)ペンドライバ
このページはかつて存在したほほえみくんのドライバ配布ページを保存する為のものです。
消えゆくには惜しい存在でしたので、自主的に保存する事にしました。
ペンドライバも配布します。

------- system.ini -------
[boot]
system.drv=system.drv
drivers=mmsystem.dll power.drv pen penwindows
user.exe=user.exe
gdi.exe=gdi.exe
sound.drv=mmsound.drv
dibeng.drv=dibeng.dll
comm.drv=comm.drv
shell=Explorer.exe
fonts.fon=vgasys.fon
fixedfon.fon=vgafix.fon
oemfonts.fon=vgaoem.fon
386Grabber=vgafull.3gr
display.drv=pnpdrvr.drv
mouse.drv=mouse.drv
keyboard.drv=keyboard.drv
*DisplayFallback=0
PenWinErrors=1

[keyboard]
subtype=2
type=7
kbdjp.kbd=kbdjpa01.kbd
keyboard.dll=
oemansi.bin=
MakeIMEVKey=yes

[boot.description]
system.drv=スタンダード コンピュータ
aspect=100,96,96
display.drv=Cirrus Logic
mouse.drv=スタンダード マウス
keyboard.typ=106 日本語 (A01) キーボード

[386Enh]
ebios=*ebios
woadbcsfont=app932.fon
device=fdcmon.vxd
device=vime.vxd
device=*vshare
device=*dynapage
device=*vcd
device=*vpd
device=*int13
woafont=dosapp.fon
device=*enable
device=*vpowerd
display=*vdd,*vflatd
mouse=*vmouse, msmouse.vxd
device=pwrsave.vxd

[power.drv]

[drivers]
wavemapper=*.drv
MSACM.imaadpcm=*.acm
MSACM.msadpcm=*.acm
vpm=chipsvpm.dll
wave=mmsystem.dll
midi=mmsystem.dll
penwindows=penwin.dll
pen=penc.drv

[iccvid.drv]

[mciseq.drv]

[mci]
cdaudio=mcicda.drv
sequencer=mciseq.drv
waveaudio=mciwave.drv
avivideo=mciavi.drv
MPEGVideo=mciqtz.drv
videodisc=mcipionr.drv
vcr=mcivisca.drv

[drivers32]
VIDC.IV41=ir41_32.ax
vidc.CVID=iccvid.dll
VIDC.IV31=ir32_32.dll
VIDC.IV32=ir32_32.dll
vidc.MSVC=msvidc32.dll
VIDC.MRLE=msrle32.dll
msacm.lhacm=lhacm.acm
MSACM.imaadpcm=imaadp32.acm
MSACM.msadpcm=msadp32.acm
MSACM.msgsm610=msgsm32.acm
MSACM.msg711=msg711.acm
MSACM.trspch=tssoft32.acm
MSACM.MSNAUDIO=msnaudio.acm

[NonWindowsApp]

[vcache]


[display]

[nwnp32]

[MSNP32]

[Password Lists]
LIBRETTO50M=C:\WINDOWS\LIBRETTO50M.PWL

------- penmenu.inf -------
; Peninst.inf
;
; This is the Setup information file to Toshiba Tablet Driver.
;
; Copyright (c) 1996 Toshiba Corporation
;
; 1997/2/19  Ayako  Created for PenAid menu.

[version]
signature="$CHICAGO$"
SetupClass=BASE
Class=Tablet
Provider=%Toshiba%

[Install]
UpdateInis  = PenAid.Ini

[Pen.Ini]
; --- Set Pen Application to Start Menu 
setup.ini, progman.groups,, "groupTosPen=%PenServicesDesc%"
setup.ini, groupTosPen,, "%DataInputWindowDesc%, penskj32.exe,,, diw"
setup.ini, groupTosPen,, "%ToolPaletteDesc%, pentpj32.exe,,, toolpal"
setup.ini, groupTosPen,, "%TrainerDesc%, pentrj.exe,,, trainer"

; --- Set Startup Menu for autorun
setup.ini, progman.groups, , "groupTPenStart=%StartUpDesc%"
setup.ini, groupTPenStart,, "%ToolPaletteDesc%, pentpj32.exe,,, toolpal"

; --- Set system.ini
system.ini,boot,,"PenWinErrors=1"

; --- MSIME95 Tool Bar Position
msime95.ini, STATUSWND,,"X=-2"
msime95.ini, STATUSWND,,"Y=-4"


[PenAid.Ini]
; --- Set Pen Application to Start Menu 
setup.ini, progman.groups,, "groupTosPen=%PenServicesDesc%"
setup.ini, groupTosPen,, "%PenAidDesc%, %30%\TOSUTILS\penaid.exe,,,,%30%\TOSUTILS"

; --- Set Startup Menu for autorun
setup.ini, progman.groups, , "groupTPenStart=%StartUpDesc%"
setup.ini, groupTPenStart,, "%PenAidDesc%, %30%\TOSUTILS\penaid.exe,,,,%30%\TOSUTILS"


[Tablet.ini]
; --- Set system.ini
system.ini,drivers,,"penwindows=penwin.dll"
system.ini,drivers,,"pen=penc.drv"


[Tablet.Inifields]
system.ini,boot,drivers,,pen
system.ini,boot,drivers,,penwindows



[Strings]
Toshiba = "TOSHIBA"
EnumBios = "Enum\BIOS\*TOS7401\0F"
CntSet   = "System\CurrentControlSet\Control\SessionManager\KnownVxDs"
PenClass = "System\CurrentControlSet\Services\Class\Tablet"
PenBEdit = "SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Pen\BEdit"
SerVPend = "System\CurrentControlSet\Services\VxD\VPEND"
SerVPtos = "System\CurrentControlSet\Services\VxD\VPEND\Toshiba\Cuaderia"
PenTSet  = "SOFTWARE\Microsoft\Windows\CurrentVersion\Pen\ToolPalette"
PenASet  = "SOFTWARE\Toshiba\PenAid"

TabletDesc          = "Toshiba Tablet"
PenServicesDesc     = "Pen Services"
PenAidDesc          = "ペンエイド"
StartUpDesc         = "スタートアップ"
FontNameDesc        = "MS P明朝"
DataInputWindowDesc = "下書き帳"
ToolPaletteDesc     = "ツール パレット"
TrainerDesc         = "手書き認識トレーナー"
TabletClassName     = "Tablet and Pen drivers"

------- tospen.inf -------
; TOSPEN.INF(Ver.2.00.02 DATE:1997/03/07)
;
; This is the Setup information file to Toshiba Tablet Driver.
;
; Copyright (c) 1996-1997 Toshiba Corporation
;
;1997/01/21	%MachineName%追加、%SerVPtos%変更(Cuaderia --> Monaco2M)
;1997/01/23	%MachineName%変更、%SerVPtos%変更(Monaco2M --> Tablet)
;1997/02/20	レジストリ情報[Tablet.AddReg]セクション変更、追加
;		変更前:	HKLM,%SerVPtos%,WakeUpTime,1,07
;		変更後:	HKLM,%SerVPtos%,WakeUpTime,1,07,02
;		追加:	HKLM,%SerVPtos%,Reset,1,87
;1997/02/21	Add [PenServices] to [ADD/DEL program].
;1997/03/07	HardWareInfo,PenInfoの値変更


[version]
signature="$CHICAGO$"
SetupClass=BASE
Class=Tablet
Provider=%Toshiba%


; ------------------ Pen Service for PnP ---------------------------

[ClassInstall]
AddReg=TabletClass.AddReg

[TabletClass.AddReg]
HKR,,,,%TabletClassName%
HKR,0000,DevLoader,,%22%\TVPenD.VxD

[Manufacturer]
%Toshiba%=PenService.Install

[PenService.Install]
%TabletDesc% = PenServices, *TOS7401

[PenServices]
LogConfig   = PenWin.LogConfig
AddReg      = Tablet.AddReg, Register_PenServices.AddReg
;AddReg      = Tablet.AddReg,
UpdateInis  = Tablet.ini, Pen.Ini
UpdateIniFields= Tablet.Inifields
Restart     = 1


[PenWin.LogConfig]
ConfigPriority=RESTART
IOConfig=220-227
IRQConfig=5


[Tablet.AddReg]
; --- Tablet & Pen Driver Settings

HKLM,%EnumBios%,"Class",,"Tablet"
HKLM,%EnumBios%,"DeviceDesc",,"%TabletDesc%"
HKLM,%EnumBios%,"Driver",,"Tablet\0000"

HKLM,%CntSet%,"VPenDc",,"%22%\TVPenD.VxD"
HKLM,%SerVPend%,AngleXY,1,00
HKLM,%SerVPend%,AngleZ,1,00
HKLM,%SerVPend%,Height,1,00
HKLM,%SerVPend%,BootStatus,1,01,00,00,00
;HKLM,%SerVPend%,Model,,"Toshiba\Cuaderia"
HKLM,%SerVPend%,Model,,%MachineName%
HKLM,%SerVPend%,Pressure,1,00
HKLM,%SerVPtos%,FriendlyName,,"Toshiba Palmtop PC"
HKLM,%SerVPtos%,Inductive,1,00
HKLM,%SerVPtos%,CommandSet,1,13,00,53,30,00,45,00,00,00,00,00,62,00,72,3f,0f,3f,0f,00,\
00,00,00,00,00,00,00,00,5C,20,00,00,00,00,00,00,00,00,11,00,13,00,00,00,00
HKLM,%SerVPtos%,Force,1,23,00,00,00
HKLM,%SerVPtos%,RateValues,1,01,00,00,00,01,00,00,00,01,00,00,00,02,00,00,00,05,00,00,00,\
0a,00,00,00,14,00,00,00,32,00,00,00,64,00,00,00,c8,00,00,00
HKLM,%SerVPtos%,RateCommands,1,52,37,00,52,37,00,52,37,00,52,36,00,52,35,00,52,34,00,\
52,33,00,52,32,00,52,31,00,52,30,00
HKLM,%SerVPtos%,HardwareInfo,1,\
00,00,00,00,20,02,00,00,05,00,00,00,64,00,00,00,\
00,00,00,00,00,00,00,00,d9,ff,ff,ff,bf,ff,ff,ff,\
a2,03,00,00,80,03,00,00,00,00,00,00,00,00,00,00,\
05,00,00,00,03,00,02,00,00,00,05,00,01,00,00,00,\
37,00,00,00,70,00,00,00,00,00,00,00
HKLM,%SerVPtos%,PenInfo,1,\
e6,12,00,00,2e,0e,00,00,a2,03,00,00,80,03,00,00,\
64,00,00,00,00,00,00,00,01,00,00,00,c8,00,00,00,\
00,00,00,00,25,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,%SerVPtos%,WakeUpTime,1,07
HKLM,%SerVPtos%,WakeUpTime,1,07,02
HKLM,%SerVPtos%,Reset,1,87

HKLM,%PenClass%,"",,"ペン"
HKLM,%PenClass%\0000,"DevLoader",,"%22%\TVPenD.VxD"
HKLM,%PenClass%\0000,"DriverDesc",,"%TabletDesc%"
HKLM,%PenClass%\0000,"InfPath",,"TOSPEN.INF"
HKLM,%PenClass%\0000,"InfSection",,"PenServices"




[Pen.Ini]
HKCU,"Control Panel\Desktop",DoubleClickHeight,,35
HKCU,"Control Panel\Desktop",DoubleClickWidth,,35

; --- Set system.ini
system.ini,boot,,"PenWinErrors=1"

; --- MSIME95 Tool Bar Position
msime95.ini, STATUSWND,,"X=-2"
msime95.ini, STATUSWND,,"Y=-4"


[Tablet.ini]
; --- Set system.ini
system.ini,drivers,,"penwindows=penwin.dll"
system.ini,drivers,,"pen=penc.drv"


[Tablet.Inifields]
system.ini,boot,drivers,,pen
system.ini,boot,drivers,,penwindows

[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,,"tospend.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"


[Strings]
Toshiba = "TOSHIBA"
;EnumBios = "Enum\BIOS\*TOS7401\0F"
EnumBios = "Enum\BIOS\*TOS7401\13"
CntSet   = "System\CurrentControlSet\Control\SessionManager\KnownVxDs"
PenClass = "System\CurrentControlSet\Services\Class\Tablet"
PenBEdit = "SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Pen\BEdit"
SerVPend = "System\CurrentControlSet\Services\VxD\VPEND"
SerVPtos = "System\CurrentControlSet\Services\VxD\VPEND\Toshiba\Tablet"
MachineName = "Toshiba\Tablet"

PenTSet  = "SOFTWARE\Microsoft\Windows\CurrentVersion\Pen\ToolPalette"
PenASet  = "SOFTWARE\Toshiba\PenAid"

TabletDesc          = "Toshiba Tablet"	;Monaco2M用タブレット
PenServicesDesc     = "Pen Services"
PenAidDesc          = "ペンエイド"
StartUpDesc         = "スタートアップ"
FontNameDesc        = "MS P明朝"
DataInputWindowDesc = "下書き帳"
ToolPaletteDesc     = "ツール パレット"
TrainerDesc         = "手書き認識トレーナー"
TabletClassName     = "Tablet and Pen drivers"

------- tospend.inf -------
; TOSPEND.INF(Ver.2.0.04 Data:1997/03/10)
;
; 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
; Copyright 1996-1997, TOSHIBA
;
;1997/01/21	ペンエイドファイル追加
;1997/01/22	PenAid.filesのディレクトリ修正(Tosutiles --> Tosutils)
;1997/01/24	Install FDの名称変更
;1997/02/07	(1)Tospen.inf(タブレット用Inf)を追加。[SourceDisksFiles]
;		   [Register_PenServices.Copy]
;		(2)ディスク名称変更
;		   変更前:1="PenServices SetUp FD 認識エンジン削除版 ", "PENSRV1", 0001
;		   変更後:1="Toshiba PenServices", "PENSRV1", 0001
;		(3)アプリケーション名変更
;		   変更前:PenServicesDesc2= "Pen Services(認識エンジンなし)"
;		   変更後:PenServicesDesc2= "Toshiba Pen Services"
;		(4)ファイル名をTosPS.Infに変更
;1997/02/18	ファイル名をTOSPEND.Infに変更([String]セクションでファイル名を指定し設定)
;1997/02/20	PenAidモジュール入れ替え、TOSPEN.INF更新に伴い、[SourceDisksFiles]
;		PenAid.exe、TOSPEN.INFのファイルサイズ更新
;1997/02/21	TVPEND.VXDモジュール入れ替え、TOSPEND.INF更新に伴い、[SourceDisksFiles]
;		TVPEND.VXD,TOSPEND.INFのファイルサイズ更新
;1997/02/28	ファイル名をTOSPEND.Infに変更([String]セクションを使用せず設定)
;1997/03/10	PENCAL.DLLモジュール入れ替え、TOSPEND.INF更新に伴い、[SourceDisksFiles]
;		PenCAL.DLL,TOSPEND.INFのファイルサイズ更新


[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=%Toshiba%

[SourceDisksNames]
; This section denotes distribution disks and assocated Logical Disk
; Identifiers (LDIDs).
;
;  = , , 
;
; Japanese version of Pen Services require two diskettes.
1="Toshiba PenServices", "PENSRV1", 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.
;
;  = ,,
PEN.CNT       =1,,2768
PEN.HLP       =1,,111316
PENC.DRV      =1,,6560
PENCAL.DLL    =1,,11616
PENCP.CPL     =1,,49584
PENUI.DLL     =1,,4352
PENWIN.DLL    =1,,275840
TOSPEND.INF   =1,,11501
PENWIN32.DLL  =1,,24064
TVPEND.VXD    =1,,19034
W_PEN.CNT     =1,,3361

;PenAid's Files
PenAid.exe	=1,,27648
PenAid.cnt	=1,,79959
PenAid.hlp	=1,,730

;Tablet's InfFile
TOSPEN.INF	=1,,4597

[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.sys            = 11    ; LDID_SYS
PenServices.help           = 18    ; LDID_HELP
PenServices.gid            = 18    ; LDID_HELP
PenServices.rec            = 25    ; LDID_SHARED
Register_PenServices.Copy  = 17    ; LDID_INF
PenDrv_CopyFiles           = 11    ; LDID_SYS
PenDrv_VxD_CopyFiles       = 22    ; LDID_VMM32
del.PrevBeta.files         = 25    ; LDID_SHARED
PenAid.files		   = 30,Tosutils	;


; ============ 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,,"2Mpen.inf"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\PenServices,INF,,"TOSPEND.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      = %PenServicesDesc2%
Tip             = %Pen_Tip%
IconIndex       = 4
AddReg          = Register_PenServices.AddReg, PenServices_Add_Reg, Init_Help.AddReg, PenAid.AddReg,Add.Len.Reg
DelReg          = PenDrv_Old_Reg, PenServices_Old_Reg
CopyFiles       = Register_PenServices.Copy, PenServices.help, PenServices.sys, PenDrv_CopyFiles, PenDrv_VxD_CopyFiles, PenAid.files
UpdateInis      = PenAid.Ini
; 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.sys, PenServices.help, PenServices.gid, PenServices.rec, Register_PenServices.Copy, PenDrv_CopyFiles, PenDrv_VxD_CopyFiles, PenAid.DelReg, PenAid.files
AddReg          = Init_Help.AddReg
DelReg          = PenServices.remove.reg, PenDrv_Del_Reg, PenServices_Del_Reg, PenAid.DelReg, Class.DelReg
UpdateInis      = NO_MS_PENWIN_Ini, Del.PenAid.Ini
UpdateIniFields = NO_MS_PENWIN_Inifields
 
; ============= END OF OPTIONAL COMPONENT DESCRIPTIONS ========================

; ============= START OF REGISTRY STUFF =======================================
[Class.DelReg]
HKLM,System\CurrentControlSet\Services\Class\Tablet\0000
HKLM,Enum\BIOS\*TOS7401\13

[Add.Len.Reg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Pen","Lens",,"0"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Pen","ActionHandles",,"0"
HKU,".Default\Control Panel\Pen","AutoWrite",,"0"
HKU,".Default\Control Panel\Pen","InputCursor",,"0"

[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,"SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\Tablet"


[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.

; --- Pen recognize time
HKCU,"Control Panel\Pen",TimeOut,,2000

[PenAid.AddReg]
; --- Pen Services Tool Palette and Toshiba PenAid default position 
HKLM, %PenASet%, "Bar",1,0
HKLM, %PenASet%, "IconSize",1,1
HKLM, %PenASet%, "Plate",1,0
HKLM, %PenASet%, "Posleft",1,a0,01,00,00
HKLM, %PenASet%, "PosTop",1,9b,01,00,00

[PenAid.DelReg]
HKLM, %PenASet%

[PenAid.Ini]
; --- Set Pen Application to Start Menu 
setup.ini, progman.groups,, "groupTosPen=%PenServicesDesc%"
setup.ini, groupTosPen,, "%PenAidDesc%, %30%\TOSUTILS\penaid.exe,,,,%30%\TOSUTILS"

; --- Set Startup Menu for autorun
setup.ini, progman.groups, , "groupTPenStart=%StartUpDesc%"
setup.ini, groupTPenStart,, "%PenAidDesc%, %30%\TOSUTILS\penaid.exe,,,,%30%\TOSUTILS"

[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
TOSPEND.INF,,,1
TOSPEN.INF,,,1

[PenServices.sys]
; LDID_SYS = 11 
pencal.dll,,,1
pencp.cpl,,,1
penwin.dll,,,1
penwin32.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
Tvpend.vxd,,,1

[PenAid.files]
; LDID_ROOT = 30,Tosutils
PenAid.exe,,,1
PenAid.cnt,,,1
PenAid.hlp,,,1

[Del.PenAid.Ini]
; --- Set Pen Application to Start Menu 
setup.ini, progman.groups,, "groupTosPen=%PenServicesDesc%"
setup.ini, groupTosPen,, "%PenAidDesc%

; --- Set Startup Menu for autorun
setup.ini, progman.groups, , "groupTPenStart=%StartUpDesc%"
setup.ini, groupTPenStart,, "%PenAidDesc%

[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 ===================================

[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"
PenServicesDesc2= "Toshiba Pen Services"
Pen_Tip		= "ペンをポインティングデバイスとして使用するための設定です。"
StartUpDesc	= "スタートアップ"
Toshiba		="TOSHIBA"
PenASet  	= "SOFTWARE\Toshiba\PenAid"
PenAidDesc      = "ペンエイド"
; ============= END OF .INF FILE ==============================================