Sample .inf File

[Version]               ; required section
Signature = "$Windows NT$"
Provider = "Microsoft"
CESignature = "$Windows CE$"

[CEDevice.SH3]   
ProcessorType = 10003      ; SH3 processor

[CEDevice.MIPS] 
ProcessorType = 4000       ; MIPS processor

[DefaultInstall]           ; required section
AddReg = RegSettings.All
CEShortcuts = Shortcuts.All

[DefaultInstall.SH3]
CopyFiles = Files.Common, Files.SH3

[DefaultInstall.MIPS]
CopyFiles = Files.Common, Files.MIPS

[SourceDisksNames]         ; required section
1 = ,"Common files",,C:\app\common   ;using an absolute path

[SourceDisksNames.SH3]
2 = ,"SH3 files",,sh3      ;using a relative path

[SourceDisksNames.MIPS]
2 = ,"MIPS files",,mips    ;using a relative path

[SourceDisksFiles]         ; required section
begin.wav = 1
end.wav = 1
sample.hlp = 1

[SourceDisksFiles.SH3]
sample.exe = 2             ; uses the SourceDisksNames.SH3 id of 2

[SourceDisksFiles.MIPS]
sample.exe = 2             ; uses the SourceDisksNames.MIPS id of 2

[DestinationDirs]          ; required section
Shortcuts.All = 0,%CE3%    ; \Windows\Desktop
Files.Common = 0,%CE2%     ; \Windows
Files.SH3 = 0,%InstallDir%
Files.MIPS = 0,%InstallDir%
DefaultDestDir = 0,%InstallDir%

[CEStrings]                ; required section
AppName = My Test App
InstallDir = %CE1%\%AppName%

[Strings]                  ; optional section
reg_path = Software\Microsoft\My Test App

[Shortcuts.All]
Sample App,0,sample.exe              ; uses path in DestinationDirs
Sample App,0,sample.exe,%InstallDir% ; path is explicitly specified

[Files.Common]
begin.wav,,,0
end.wav,,,0
Sample Help File.hlp,sample.hlp,,0   ; rename destination file

[Files.SH3]
sample.exe,,,0

[Files.MIPS]
sample.exe,,,0

[RegSettings.All]
HKLM,%reg_path%,,0x00000000,alpha    ; <default> = "alpha"
HKLM,%reg_path%,test,0x00010001,3    ; test = 3
HKLM,%reg_path%\new,another,0x00010001,6    ; new\another = 6