;/*++
;
;Copyright (C) Panasonic Corporation 2008-2015
;
;Module Name:
;
;    SID.INF
;
;Abstract:
;    INF file for installing drivers for System Interface Devices.
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=%DeviceClass%
ClassGuid={D22D967A-2185-4748-8B91-99E2FC4C65FD}
Provider=%PRODUCT_COMPANY%
DriverPackageDisplayName=%DrvDesc%
DriverVer=11/17/2015, 2.1.1610.0
CatalogFile=sid.cat

[ClassInstall]
Addreg = Interface_ClassReg

[ClassInstall32]
Addreg = Interface_ClassReg32

[Interface_ClassReg]
HKR,,,,%DeviceClass%
HKR,,Icon,,-27

[Interface_ClassReg32]
HKR,,,,%DeviceClass%
HKR,,Icon,,-27

[DestinationDirs]
DefaultDestDir = 12 ; System32\drivers

[Manufacturer]
%PRODUCT_COMPANY%=Panasonic,NTamd64

[Panasonic.NTamd64]
; DisplayName                   Section           DeviceId
; -----------                   -------           --------
%PRODUCT_19_DESC% = SID0019_Install.NTamd64, ACPI\MAT0019
%PRODUCT_21_DESC% = SID0021_Install.NTamd64, ACPI\MAT0021

[Panasonic]
; DisplayName                   Section           DeviceId
; -----------                   -------           --------
%PRODUCT_19_DESC% = SID0019_Install.NT, ACPI\MAT0019
%PRODUCT_21_DESC% = SID0021_Install.NT, ACPI\MAT0021

[SourceDisksNames]
1 = %SOURCEDISK_DESC%

[SourceDisksFiles.x86]
PINSTCO_02_00_1100_0000.DLL = 1

[SourceDisksFiles.amd64]
PINSCO64_02_00_1100_0000.DLL = 1

;*****************************************
; Sid0021 Device  Install Section
;*****************************************
[SID0021_Install.NTamd64]
CopyFiles=SID0021_Install.NTamd64.Copy
CopyINF=sid_apps.inf

CopyFiles=UrNotice_CopyFiles64
AddReg=UrNotice_AddReg64

[SID0021_Install.NT]
CopyFiles=SID0021_Install.NT.Copy
CopyINF=sid_apps.inf

CopyFiles=UrNotice_CopyFiles
AddReg=UrNotice_AddReg

[SID0021_Install.NT.Copy]
sid0021.sys,,,2

[SID0021_Install.NTamd64.Copy]
sid0021.sys,si002164.sys,,2

;-------------- Service installation

[SID0021_Install.NT.Services]
AddService=SID0021, 0x00000002, SID0021_Service_Inst
AddService = unsvc,, UrNotice_Service_Inst

[SID0021_Install.NTamd64.Services]
AddService=SID0021, 0x00000002, SID0021_Service_Inst
AddService = unsvc,, UrNotice_Service_Inst64

[SID0021_Service_Inst]
DisplayName    = %PRODUCT_21_SYSDISPNAME%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\sid0021.sys
LoadOrderGroup = Extended Base

[SourceDisksFiles.x86]
SID0021.SYS = 1

[SourceDisksFiles.amd64]
SI002164.SYS = 1

;
; PINSTCO CoInstaller
;
[DestinationDirs]
SID0021_CoInstaller_CopyFiles = 11
SID0021_CoInstaller_CopyFiles64 = 11

[SID0021_Install.NT.CoInstallers]
AddReg=SID0021_CoInstaller_AddReg
CopyFiles=SID0021_CoInstaller_CopyFiles

[SID0021_Install.NTamd64.CoInstallers]
AddReg=SID0021_CoInstaller_AddReg
CopyFiles=SID0021_CoInstaller_CopyFiles64

[SID0021_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "PINSTCO_02_00_1100_0000.DLL,PInstallCoInstaller"

[SID0021_CoInstaller_CopyFiles]
PINSTCO_02_00_1100_0000.DLL

[SID0021_CoInstaller_CopyFiles64]
PINSTCO_02_00_1100_0000.DLL,PINSCO64_02_00_1100_0000.DLL

;*****************************************
; Sid0019 Device  Install Section
;*****************************************

[SID0019_Install.NTamd64]
CopyFiles=SID0019_Install.NTamd64.Copy
CopyINF=sid_apps.inf

[SID0019_Install.NT]
CopyFiles=SID0019_Install.NT.Copy
CopyINF=sid_apps.inf

[SID0019_Install.NT.Copy]
sid0019.sys,,,2

[SID0019_Install.NTamd64.Copy]
sid0019.sys,si001964.sys,,2

;-------------- Service installation

[SID0019_Install.NT.Services]
AddService=SID0019, 0x00000002, SID0019_Service_Inst

[SID0019_Install.NTamd64.Services]
AddService=SID0019, 0x00000002, SID0019_Service_Inst

[SID0019_Service_Inst]
DisplayName    = %PRODUCT_19_SYSDISPNAME%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\sid0019.sys
LoadOrderGroup = Extended Base
AddReg=SID0019_Service_Reg

[SourceDisksFiles.x86]
SID0019.SYS = 1

[SourceDisksFiles.amd64]
si001964.SYS = 1

[SID0019_Service_Reg]
HKR,,DisableWin8LCDStatusNotify,0x00010001,0x00000000

;
;--- Sid0019_Device WDF Coinstaller installation ------
;
[DestinationDirs]
Sid0019_Device_CoInstaller_CopyFiles = 11
Sid0019_Device_CoInstaller_CopyFiles64 = 11

[SID0019_Install.NT.CoInstallers]
AddReg=Sid0019_Device_CoInstaller_AddReg
CopyFiles=Sid0019_Device_CoInstaller_CopyFiles

[SID0019_Install.NTamd64.CoInstallers]
AddReg=Sid0019_Device_CoInstaller_AddReg
CopyFiles=Sid0019_Device_CoInstaller_CopyFiles64

[Sid0019_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "PINSTCO_02_00_1100_0000.DLL,PInstallCoInstaller", "wdfcoinstaller01009.dll,WdfCoInstaller"

[Sid0019_Device_CoInstaller_CopyFiles]
wdfcoinstaller01009.dll
PINSTCO_02_00_1100_0000.DLL

[Sid0019_Device_CoInstaller_CopyFiles64]
wdfcoinstaller01009.dll,wdfcoinstaller01009_64.dll
PINSTCO_02_00_1100_0000.DLL,PINSCO64_02_00_1100_0000.DLL

[SourceDisksFiles.x86]
wdfcoinstaller01009.dll = 1 ; make sure the number matches with SourceDisksNames

[SourceDisksFiles.amd64]
wdfcoinstaller01009_64.dll = 1 ; make sure the number matches with SourceDisksNames

[SID0019_Install.NT.Wdf]
KmdfService = sid0019, sid0019_wdfsect

[SID0019_Install.NTamd64.Wdf]
KmdfService = sid0019, sid0019_wdfsect

[sid0019_wdfsect]
KmdfLibraryVersion = 1.9

;*****************************************
; Urgent Notice  Install Section
;*****************************************
[DestinationDirs]
UrNotice_CopyFiles = 16422,Panasonic\UrNotice
UrNotice_CopyFiles64 = 16426,Panasonic\UrNotice

[SourceDisksFiles.x86]
UNUpdObs.exe = 1
opendtop.exe = 1
UNSvc.exe = 1
UrNotice.exe = 1

[SourceDisksFiles.amd64]
UNUpdObs.exe = 1
opendtop.exe = 1
UNSvc.exe = 1
UrNotice.exe = 1

[UrNotice_CopyFiles]
UNUpdObs.exe,,,2
opendtop.exe,,,2
UNSvc.exe,,,2
UrNotice.exe,,,2

[UrNotice_CopyFiles64]
UNUpdObs.exe,,,2
opendtop.exe,,,2
UNSvc.exe,,,2
UrNotice.exe,,,2

[UrNotice_Service_Inst]
DisplayName    = %UrNotice_SvcDesc%
ServiceType    = 0x10              ; SERVICE_WIN32_OWN_PROCESS
StartType      = 0x02              ; SERVICE_AUTO_START 
ErrorControl   = 0x00              ; SERVICE_ERROR_IGNORE
ServiceBinary  = %16422%\Panasonic\UrNotice\UnSvc.exe
LoadOrderGroup = Extended Base

[UrNotice_Service_Inst64]
DisplayName    = %UrNotice_SvcDesc%
ServiceType    = 0x10              ; SERVICE_WIN32_OWN_PROCESS
StartType      = 0x02              ; SERVICE_AUTO_START 
ErrorControl   = 0x00              ; SERVICE_ERROR_IGNORE
ServiceBinary  = %16426%\Panasonic\UrNotice\UnSvc.exe
LoadOrderGroup = Extended Base

[UrNotice_AddReg]
HKLM,%UrNotice_Uninstall_Reg_Path%,"DisplayName",0x00000000,%UrNotice_AppName%
HKLM,%Panasonic_Reg_Path%,%UrNotice_AppName%,0x00000000,%UrNotice_Version%
HKLM,%UrNotice_Reg_Path%,"ProductName",0x00000000,%UrNotice_AppName%

[UrNotice_AddReg64]
HKLM,%UrNotice_Uninstall_Reg_Path%,"DisplayName",0x00004000,%UrNotice_AppName%
HKLM,%Panasonic_Reg_Path%,%UrNotice_AppName%,0x00004000,%UrNotice_Version%
HKLM,%UrNotice_Reg_Path%,"ProductName",0x00004000,%UrNotice_AppName%



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Strings replace variable in percents above
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Strings]
;
; --- English
;
PRODUCT_COMPANY     = "Panasonic"
PRODUCT_19_DESC        = "System Interface Device - 0019"
PRODUCT_19_SYSDISPNAME = "System Interface Device Driver - 0019"
PRODUCT_21_DESC        = "System Interface Device - 0021"
PRODUCT_21_SYSDISPNAME = "System Interface Device Driver - 0021"
SOURCEDISK_DESC     = "System Interface Device Drivers Disk #1"
DrvDesc = "System Interface Device Drivers"
DeviceClass="System Devices for Panasonic PC"


; Urgent Notice
UrNotice_Version = "V2.00L10 M00"

UrNotice_SvcDesc = "UrNotice Service"
UrNotice_Icon_Path = """%PROGRAMFILES%\Panasonic\UrNotice\UrNotice.exe"""
UrNotice_Icon_Path64 = """%PROGRAMFILES(X86)%\Panasonic\UrNotice\UrNotice.exe"""
UrNotice_Uninstall_Reg_Path = "Software\Microsoft\Windows\CurrentVersion\Uninstall\UrNotice"
Panasonic_Reg_Path = "Software\Panasonic"
UrNotice_Reg_Path = "Software\Panasonic\UrNotice"

UrNotice_AppName = "Urgent Notice Utility"

[Strings.0411]
;
; --- Japanese
;
PRODUCT_COMPANY     = "Panasonic"
PRODUCT_19_DESC        = "System Interface Device - 0019"
PRODUCT_19_SYSDISPNAME = "System Interface Device Driver - 0019"
PRODUCT_21_DESC        = "System Interface Device - 0021"
PRODUCT_21_SYSDISPNAME = "System Interface Device Driver - 0021"
SOURCEDISK_DESC     = "System Interface Device Drivers Disk #1"
DrvDesc = "System Interface Device Drivers"
DeviceClass="System Devices for Panasonic PC"


; Urgent Notice
UrNotice_Version = "V2.00L10 M00"

UrNotice_SvcDesc = "UrNotice Service"
UrNotice_Icon_Path = """%PROGRAMFILES%\Panasonic\UrNotice\UrNotice.exe"""
UrNotice_Icon_Path64 = """%PROGRAMFILES(X86)%\Panasonic\UrNotice\UrNotice.exe"""
UrNotice_Uninstall_Reg_Path = "Software\Microsoft\Windows\CurrentVersion\Uninstall\UrNotice"
Panasonic_Reg_Path = "Software\Panasonic"
UrNotice_Reg_Path = "Software\Panasonic\UrNotice"

UrNotice_AppName = "緊急告知ユーティリティ"
