Add DefaultInstall section to all INF driver files for easier installation.
authorDean Camera <dean@fourwalledcubicle.com>
Sat, 31 Aug 2013 09:23:41 +0000 (11:23 +0200)
committerDean Camera <dean@fourwalledcubicle.com>
Sat, 31 Aug 2013 09:23:41 +0000 (11:23 +0200)
19 files changed:
Bootloaders/CDC/LUFA CDC Bootloader.inf
Demos/Device/ClassDriver/DualVirtualSerial/LUFA DualVirtualSerial.inf
Demos/Device/ClassDriver/RNDISEthernet/LUFA RNDIS.inf
Demos/Device/ClassDriver/VirtualSerial/LUFA VirtualSerial.inf
Demos/Device/ClassDriver/VirtualSerialMassStorage/LUFA VirtualSerialMassStorage.inf
Demos/Device/ClassDriver/VirtualSerialMouse/LUFA VirtualSerialMouse.inf
Demos/Device/LowLevel/DualVirtualSerial/LUFA DualVirtualSerial.inf
Demos/Device/LowLevel/RNDISEthernet/LUFA RNDIS.inf
Demos/Device/LowLevel/VirtualSerial/LUFA VirtualSerial.inf
LUFA/CodeTemplates/WindowsINF/CDC-ACM.inf [deleted file]
LUFA/CodeTemplates/WindowsINF/LUFA CDC-ACM.inf [new file with mode: 0644]
LUFA/CodeTemplates/WindowsINF/LUFA RNDIS.inf [new file with mode: 0644]
LUFA/CodeTemplates/WindowsINF/RNDIS.inf [deleted file]
Projects/Benito/Benito Programmer.inf [deleted file]
Projects/Benito/LUFA Benito Programmer.inf [new file with mode: 0644]
Projects/LEDNotifier/LUFA LED Notifier.inf
Projects/USBtoSerial/LUFA USBtoSerial.inf
Projects/Webserver/LUFA Webserver RNDIS.inf
Projects/XPLAINBridge/LUFA XPLAIN Bridge.inf

index bdb62a9..61624c7 100644 (file)
@@ -3,6 +3,9 @@
 ; Copyright (c) 2000 Microsoft Corporation
 ;************************************************************
 
+[DefaultInstall]
+CopyINF="LUFA CDC Bootloader.inf"
+
 [Version]
 Signature="$Windows NT$"
 Class=Ports
@@ -60,4 +63,4 @@ HKR,,EnumPropPages32,,"msports.dll,SerialPortPropPageProvider"
 ;------------------------------------------------------------------------------
 [Strings]
 MFGNAME="http://www.lufa-lib.org"
-DESCRIPTION="LUFA CDC Class Bootloader"
\ No newline at end of file
+DESCRIPTION="LUFA CDC Class Bootloader"
index 2dbde36..1a0e024 100644 (file)
@@ -3,6 +3,9 @@
 ; Copyright (c) 2000 Microsoft Corporation
 ;************************************************************
 
+[DefaultInstall]
+CopyINF="LUFA DualVirtualSerial.inf"
+
 [Version]
 Signature="$Windows NT$"
 Class=Ports
index b7cb825..f34e55f 100644 (file)
@@ -1,6 +1,9 @@
 ;     Windows LUFA RNDIS Setup File
 ; Copyright (c) 2000 Microsoft Corporation
 
+[DefaultInstall]
+CopyINF="LUFA RNDIS.inf"
+
 [Version]
 Signature="$Windows NT$"
 Class=Net
index 5e2e9f4..21d2d12 100644 (file)
@@ -3,6 +3,9 @@
 ; Copyright (c) 2000 Microsoft Corporation
 ;************************************************************
 
+[DefaultInstall]
+CopyINF="LUFA VirtualSerial.inf"
+
 [Version]
 Signature="$Windows NT$"
 Class=Ports
index 919ae44..e5d8da5 100644 (file)
@@ -3,6 +3,9 @@
 ; Copyright (c) 2000 Microsoft Corporation
 ;************************************************************
 
+[DefaultInstall]
+CopyINF="LUFA VirtualSerialMassStorage.inf"
+
 [Version]
 Signature="$Windows NT$"
 Class=Ports
index a6fdd73..ac47e06 100644 (file)
@@ -3,6 +3,9 @@
 ; Copyright (c) 2000 Microsoft Corporation
 ;************************************************************
 
+[DefaultInstall]
+CopyINF="LUFA VirtualSerialMouse.inf"
+
 [Version]
 Signature="$Windows NT$"
 Class=Ports
index 2dbde36..1a0e024 100644 (file)
@@ -3,6 +3,9 @@
 ; Copyright (c) 2000 Microsoft Corporation
 ;************************************************************
 
+[DefaultInstall]
+CopyINF="LUFA DualVirtualSerial.inf"
+
 [Version]
 Signature="$Windows NT$"
 Class=Ports
index b7cb825..f34e55f 100644 (file)
@@ -1,6 +1,9 @@
 ;     Windows LUFA RNDIS Setup File
 ; Copyright (c) 2000 Microsoft Corporation
 
+[DefaultInstall]
+CopyINF="LUFA RNDIS.inf"
+
 [Version]
 Signature="$Windows NT$"
 Class=Net
index 5e2e9f4..21d2d12 100644 (file)
@@ -3,6 +3,9 @@
 ; Copyright (c) 2000 Microsoft Corporation
 ;************************************************************
 
+[DefaultInstall]
+CopyINF="LUFA VirtualSerial.inf"
+
 [Version]
 Signature="$Windows NT$"
 Class=Ports
diff --git a/LUFA/CodeTemplates/WindowsINF/CDC-ACM.inf b/LUFA/CodeTemplates/WindowsINF/CDC-ACM.inf
deleted file mode 100644 (file)
index 34ae08f..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-;     Windows LUFA CDC ACM Setup File
-; Copyright (c) 2000 Microsoft Corporation
-
-[Version]
-Signature="$Windows NT$"
-Class=Ports
-ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
-Provider=%MFGNAME%
-DriverVer=7/1/2012,10.0.0.0
-
-[Manufacturer]
-%MFGNAME%=DeviceList, NTx86, NTamd64, NTia64
-
-[SourceDisksNames]
-
-[SourceDisksFiles]
-
-[DestinationDirs]
-DefaultDestDir=12
-
-[DriverInstall]
-Include=mdmcpq.inf
-CopyFiles=FakeModemCopyFileSection
-AddReg=DriverInstall.AddReg
-
-[DriverInstall.Services]
-Include=mdmcpq.inf
-AddService=usbser, 0x00000002, LowerFilter_Service_Inst
-
-[DriverInstall.AddReg]
-HKR,,EnumPropPages32,,"msports.dll,SerialPortPropPageProvider"
-
-;------------------------------------------------------------------------------
-;  Vendor and Product ID Definitions
-;------------------------------------------------------------------------------
-; When developing your USB device, the VID and PID used in the PC side
-; application program and the firmware on the microcontroller must match.
-; Modify the below line to use your VID and PID.  Use the format as shown below.
-; Note: One INF file can be used for multiple devices with different VID and PIDs.
-; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
-;------------------------------------------------------------------------------
-[DeviceList]
-%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
-
-[DeviceList.NTx86]
-%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
-
-[DeviceList.NTamd64]
-%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
-
-[DeviceList.NTia64]
-%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
-
-;------------------------------------------------------------------------------
-;  String Definitions
-;------------------------------------------------------------------------------
-;Modify these strings to customize your device
-;------------------------------------------------------------------------------
-[Strings]
-MFGNAME="http://www.lufa-lib.org"
-DESCRIPTION="LUFA CDC-ACM Virtual Serial Port"
\ No newline at end of file
diff --git a/LUFA/CodeTemplates/WindowsINF/LUFA CDC-ACM.inf b/LUFA/CodeTemplates/WindowsINF/LUFA CDC-ACM.inf
new file mode 100644 (file)
index 0000000..212b5bb
--- /dev/null
@@ -0,0 +1,64 @@
+;     Windows LUFA CDC ACM Setup File
+; Copyright (c) 2000 Microsoft Corporation
+
+[DefaultInstall]
+CopyINF="LUFA CDC-ACM.inf"
+
+[Version]
+Signature="$Windows NT$"
+Class=Ports
+ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
+Provider=%MFGNAME%
+DriverVer=7/1/2012,10.0.0.0
+
+[Manufacturer]
+%MFGNAME%=DeviceList, NTx86, NTamd64, NTia64
+
+[SourceDisksNames]
+
+[SourceDisksFiles]
+
+[DestinationDirs]
+DefaultDestDir=12
+
+[DriverInstall]
+Include=mdmcpq.inf
+CopyFiles=FakeModemCopyFileSection
+AddReg=DriverInstall.AddReg
+
+[DriverInstall.Services]
+Include=mdmcpq.inf
+AddService=usbser, 0x00000002, LowerFilter_Service_Inst
+
+[DriverInstall.AddReg]
+HKR,,EnumPropPages32,,"msports.dll,SerialPortPropPageProvider"
+
+;------------------------------------------------------------------------------
+;  Vendor and Product ID Definitions
+;------------------------------------------------------------------------------
+; When developing your USB device, the VID and PID used in the PC side
+; application program and the firmware on the microcontroller must match.
+; Modify the below line to use your VID and PID.  Use the format as shown below.
+; Note: One INF file can be used for multiple devices with different VID and PIDs.
+; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
+;------------------------------------------------------------------------------
+[DeviceList]
+%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
+
+[DeviceList.NTx86]
+%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
+
+[DeviceList.NTamd64]
+%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
+
+[DeviceList.NTia64]
+%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
+
+;------------------------------------------------------------------------------
+;  String Definitions
+;------------------------------------------------------------------------------
+;Modify these strings to customize your device
+;------------------------------------------------------------------------------
+[Strings]
+MFGNAME="http://www.lufa-lib.org"
+DESCRIPTION="LUFA CDC-ACM Virtual Serial Port"
diff --git a/LUFA/CodeTemplates/WindowsINF/LUFA RNDIS.inf b/LUFA/CodeTemplates/WindowsINF/LUFA RNDIS.inf
new file mode 100644 (file)
index 0000000..73ca50e
--- /dev/null
@@ -0,0 +1,59 @@
+;     Windows LUFA RNDIS Setup File
+; Copyright (c) 2000 Microsoft Corporation
+
+[DefaultInstall]
+CopyINF="LUFA RNDIS.inf"
+
+[Version]
+Signature="$Windows NT$"
+Class=Net
+ClassGuid={4d36e972-e325-11ce-bfc1-08002be10318}
+Provider=%MFGNAME%
+DriverVer=7/1/2012,10.0.0.0
+
+[Manufacturer]
+%MFGNAME%=DeviceList, NTx86, NTamd64, NTia64
+
+[ControlFlags]
+ExcludeFromSelect=*
+
+[DriverInstall]
+Characteristics=0x84 ; NCF_PHYSICAL + NCF_HAS_UI
+BusType=15
+include=netrndis.inf
+needs=Usb_Rndis.ndi
+AddReg=Rndis_AddReg_Vista
+
+[DriverInstall.Services]
+include=netrndis.inf
+needs=Usb_Rndis.ndi.Services
+
+;------------------------------------------------------------------------------
+;  Vendor and Product ID Definitions
+;------------------------------------------------------------------------------
+; When developing your USB device, the VID and PID used in the PC side
+; application program and the firmware on the microcontroller must match.
+; Modify the below line to use your VID and PID.  Use the format as shown below.
+; Note: One INF file can be used for multiple devices with different VID and PIDs.
+; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
+;------------------------------------------------------------------------------
+[DeviceList]
+%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204C
+
+[DeviceList.NTx86]
+%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204C
+
+[DeviceList.NTamd64]
+%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204C
+
+[DeviceList.NTia64]
+%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204C
+
+;------------------------------------------------------------------------------
+;  String Definitions
+;------------------------------------------------------------------------------
+;Modify these strings to customize your device
+;------------------------------------------------------------------------------
+[Strings]
+MFGNAME="http://www.lufa-lib.org"
+DESCRIPTION="LUFA RNDIS USB Ethernet Adapter"
diff --git a/LUFA/CodeTemplates/WindowsINF/RNDIS.inf b/LUFA/CodeTemplates/WindowsINF/RNDIS.inf
deleted file mode 100644 (file)
index 5b1ed46..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-;     Windows LUFA RNDIS Setup File
-; Copyright (c) 2000 Microsoft Corporation
-
-[Version]
-Signature="$Windows NT$"
-Class=Net
-ClassGuid={4d36e972-e325-11ce-bfc1-08002be10318}
-Provider=%MFGNAME%
-DriverVer=7/1/2012,10.0.0.0
-
-[Manufacturer]
-%MFGNAME%=DeviceList, NTx86, NTamd64, NTia64
-
-[ControlFlags]
-ExcludeFromSelect=*
-
-[DriverInstall]
-Characteristics=0x84 ; NCF_PHYSICAL + NCF_HAS_UI
-BusType=15
-include=netrndis.inf
-needs=Usb_Rndis.ndi
-AddReg=Rndis_AddReg_Vista
-
-[DriverInstall.Services]
-include=netrndis.inf
-needs=Usb_Rndis.ndi.Services
-
-;------------------------------------------------------------------------------
-;  Vendor and Product ID Definitions
-;------------------------------------------------------------------------------
-; When developing your USB device, the VID and PID used in the PC side
-; application program and the firmware on the microcontroller must match.
-; Modify the below line to use your VID and PID.  Use the format as shown below.
-; Note: One INF file can be used for multiple devices with different VID and PIDs.
-; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
-;------------------------------------------------------------------------------
-[DeviceList]
-%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204C
-
-[DeviceList.NTx86]
-%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204C
-
-[DeviceList.NTamd64]
-%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204C
-
-[DeviceList.NTia64]
-%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204C
-
-;------------------------------------------------------------------------------
-;  String Definitions
-;------------------------------------------------------------------------------
-;Modify these strings to customize your device
-;------------------------------------------------------------------------------
-[Strings]
-MFGNAME="http://www.lufa-lib.org"
-DESCRIPTION="LUFA RNDIS USB Ethernet Adapter"
diff --git a/Projects/Benito/Benito Programmer.inf b/Projects/Benito/Benito Programmer.inf
deleted file mode 100644 (file)
index b18de07..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-;************************************************************
-; Windows USB CDC ACM Setup File
-; Copyright (c) 2000 Microsoft Corporation
-;************************************************************
-
-[Version]
-Signature="$Windows NT$"
-Class=Ports
-ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
-Provider=%MFGNAME%
-DriverVer=7/1/2012,10.0.0.0
-
-[Manufacturer]
-%MFGNAME%=DeviceList, NTx86, NTamd64, NTia64
-
-[SourceDisksNames]
-
-[SourceDisksFiles]
-
-[DestinationDirs]
-DefaultDestDir=12
-
-[DriverInstall]
-Include=mdmcpq.inf
-CopyFiles=FakeModemCopyFileSection
-AddReg=DriverInstall.AddReg
-
-[DriverInstall.Services]
-Include=mdmcpq.inf
-AddService=usbser, 0x00000002, LowerFilter_Service_Inst
-
-[DriverInstall.AddReg]
-HKR,,EnumPropPages32,,"msports.dll,SerialPortPropPageProvider"
-
-;------------------------------------------------------------------------------
-;  Vendor and Product ID Definitions
-;------------------------------------------------------------------------------
-; When developing your USB device, the VID and PID used in the PC side
-; application program and the firmware on the microcontroller must match.
-; Modify the below line to use your VID and PID.  Use the format as shown below.
-; Note: One INF file can be used for multiple devices with different VID and PIDs.
-; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
-;------------------------------------------------------------------------------
-[DeviceList]
-%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2060
-
-[DeviceList.NTx86]
-%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2060
-
-[DeviceList.NTamd64]
-%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2060
-
-[DeviceList.NTia64]
-%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2060
-
-;------------------------------------------------------------------------------
-;  String Definitions
-;------------------------------------------------------------------------------
-;Modify these strings to customize your device
-;------------------------------------------------------------------------------
-[Strings]
-MFGNAME="http://www.lufa-lib.org"
-DESCRIPTION="LUFA Benito Programmer"
\ No newline at end of file
diff --git a/Projects/Benito/LUFA Benito Programmer.inf b/Projects/Benito/LUFA Benito Programmer.inf
new file mode 100644 (file)
index 0000000..75e93a8
--- /dev/null
@@ -0,0 +1,66 @@
+;************************************************************
+; Windows USB CDC ACM Setup File
+; Copyright (c) 2000 Microsoft Corporation
+;************************************************************
+
+[DefaultInstall]
+CopyINF="LUFA Benito Programmer.inf"
+
+[Version]
+Signature="$Windows NT$"
+Class=Ports
+ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
+Provider=%MFGNAME%
+DriverVer=7/1/2012,10.0.0.0
+
+[Manufacturer]
+%MFGNAME%=DeviceList, NTx86, NTamd64, NTia64
+
+[SourceDisksNames]
+
+[SourceDisksFiles]
+
+[DestinationDirs]
+DefaultDestDir=12
+
+[DriverInstall]
+Include=mdmcpq.inf
+CopyFiles=FakeModemCopyFileSection
+AddReg=DriverInstall.AddReg
+
+[DriverInstall.Services]
+Include=mdmcpq.inf
+AddService=usbser, 0x00000002, LowerFilter_Service_Inst
+
+[DriverInstall.AddReg]
+HKR,,EnumPropPages32,,"msports.dll,SerialPortPropPageProvider"
+
+;------------------------------------------------------------------------------
+;  Vendor and Product ID Definitions
+;------------------------------------------------------------------------------
+; When developing your USB device, the VID and PID used in the PC side
+; application program and the firmware on the microcontroller must match.
+; Modify the below line to use your VID and PID.  Use the format as shown below.
+; Note: One INF file can be used for multiple devices with different VID and PIDs.
+; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
+;------------------------------------------------------------------------------
+[DeviceList]
+%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2060
+
+[DeviceList.NTx86]
+%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2060
+
+[DeviceList.NTamd64]
+%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2060
+
+[DeviceList.NTia64]
+%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2060
+
+;------------------------------------------------------------------------------
+;  String Definitions
+;------------------------------------------------------------------------------
+;Modify these strings to customize your device
+;------------------------------------------------------------------------------
+[Strings]
+MFGNAME="http://www.lufa-lib.org"
+DESCRIPTION="LUFA Benito Programmer"
\ No newline at end of file
index 5e2e9f4..dc3f0e7 100644 (file)
@@ -3,6 +3,9 @@
 ; Copyright (c) 2000 Microsoft Corporation
 ;************************************************************
 
+[DefaultInstall]
+CopyINF="LUFA LED Notifier.inf"
+
 [Version]
 Signature="$Windows NT$"
 Class=Ports
index 86a39e0..b00fab6 100644 (file)
@@ -3,6 +3,9 @@
 ; Copyright (c) 2000 Microsoft Corporation
 ;************************************************************
 
+[DefaultInstall]
+CopyINF="LUFA USBtoSerial.inf"
+
 [Version]
 Signature="$Windows NT$"
 Class=Ports
index 2cd035b..c77de8f 100644 (file)
@@ -1,6 +1,9 @@
 ;     Windows LUFA RNDIS Setup File
 ; Copyright (c) 2000 Microsoft Corporation
 
+[DefaultInstall]
+CopyINF="LUFA Webserver RNDIS.inf"
+
 [Version]
 Signature="$Windows NT$"
 Class=Net
index 72387e4..45840e8 100644 (file)
@@ -3,6 +3,9 @@
 ; Copyright (c) 2000 Microsoft Corporation
 ;************************************************************
 
+[DefaultInstall]
+CopyINF="LUFA XPLAIN Bridge.inf"
+
 [Version]
 Signature="$Windows NT$"
 Class=Ports