[Version]
Signature="$WINDOWS NT$"
;Class=CNC
Provider=%Provider%

[SourceDisksNames]
1 = %DiskName1%

[SourceDisksFiles]
mmcncd.sys = 1
ncboot32.exe = 1, ..\common
hssb2.cpl = 1

[DestinationDirs]
Driver.CopyList = 12	; DIRID_DRIVERS
System.CopyList = 11	; DIRID_SYSTEM

[Driver.CopyList]
mmcncd.sys

[System.CopyList]
ncboot32.exe
hssb2.cpl

[DefaultInstall.NT]
CopyFiles=Driver.CopyList,System.CopyList
AddReg=mmcncd.AddReg,ncboot32.AddReg
;Reboot

[DefaultInstall.NT.Services]
AddService = mmcncd,2,mmcncd_Service_Inst

[mmcncd_Service_Inst]
DisplayName    = MMCNCD
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 2                  ; SERVICE_AUTO_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\mmcncd.sys
LoadOrderGroup = Extended Base

[mmcncd.AddReg]
HKLM,System\CurrentControlSet\Services\mmcncd\Parameters,IoPortAddress0,%REG_DWORD%,0x0280
HKLM,System\CurrentControlSet\Services\mmcncd\Parameters,IoPortAddress1,%REG_DWORD%,0x0000
HKLM,System\CurrentControlSet\Services\mmcncd\Parameters,IoPortAddress2,%REG_DWORD%,0x0000
HKLM,System\CurrentControlSet\Services\mmcncd\Parameters,IoPortAddress3,%REG_DWORD%,0x0000
HKLM,System\CurrentControlSet\Services\mmcncd\Parameters,IoPortAddress4,%REG_DWORD%,0x0000
HKLM,System\CurrentControlSet\Services\mmcncd\Parameters,IoPortAddress5,%REG_DWORD%,0x0000
HKLM,System\CurrentControlSet\Services\mmcncd\Parameters,IoPortAddress6,%REG_DWORD%,0x0000
HKLM,System\CurrentControlSet\Services\mmcncd\Parameters,IoPortAddress7,%REG_DWORD%,0x0000
HKLM,System\CurrentControlSet\Services\mmcncd\Parameters,CncType0,%REG_DWORD%,1
HKLM,System\CurrentControlSet\Services\mmcncd\Parameters,NodeName0,%REG_SZ%,"CNC-1"

[ncboot32.AddReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,Ncboot32,%REG_SZ%,"Ncboot32.exe"

[Strings]
Provider="FANUC"
DiskName1="FANUC Open CNC Drivers/Libraries Diskette #1"

REG_SZ    = 0x00000000
REG_DWORD = 0x00010001

