[version]
signature="$CHICAGO$"

[DefaultInstall]
CopyFiles = FmLfns.Files.Sys, FmLfns.Files.Inf, FmLfns.Files.Hlp
UpdateInis= FmLfns.Add.Inis
AddReg    = FmLfns.Add.Reg
DelReg    = FmLfns.Clean.Reg

[FmLfnsInstall]
CopyFiles = FmLfns.Files.Sys, FmLfns.Files.Inf, FmLfns.Files.Hlp
AddReg    = FmLfns.Add.Reg
DelReg    = FmLfns.Clean.Reg
UpdateInis= FmLfns.Add.Inis

[DefaultUnInstall]
DelFiles  = FmLfns.Files.Sys, FmLfns.Files.Inf, FmLfns.Files.Hlp
DelReg    = FmLfns.Del.Reg
UpdateInis= FmLfns.Del.Inis

[DestinationDirs]
FmLfns.Files.Sys = 11
FmLfns.Files.Inf = 17
FmLfns.Files.Hlp = 18

[SourceDisksNames]
1="File Manager Long File Name Support","",1

[SourceDisksFiles]
FmLfns.ex_=1
FmLfn.dl_=1
Capthook.dl_=1
FmLfns.inf=1
FmLfns.hlp=1

[FmLfns.Files.Sys]
FmLfns.exe,FmLfns.ex_,,1
FmLfn.dll,FmLfn.dl_,,1
Capthook.dll,Capthook.dl_,,1

[FmLfns.Files.Inf]
FmLfns.INF,,,1

[FmLfns.Files.Hlp]
FmLfns.HLP,,,1

[FmLfns.Add.Reg]
HKLM,%UFmLfns%,DisplayName,,"%FmLfns%"
HKLM,%UFmLfns%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\FmLfns.inf"
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,FmLfns,,"%11%\FmLfns.exe -l"
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,"Installing Long File Name Support",,"%11%\FmLfns.exe"
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,"Updating Shortcuts",,"grpconv.exe -o"
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,"Opening Help",,"WINHELP.EXE %18%\FmLfns.HLP"

[FmLfns.Clean.Reg]
;HKCU,Software\Microsoft\Windows\CurrentVersion\Run,%FmLfns%

[FmLfns.Del.Reg]
HKLM,%UFmLfns%
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,%FmLfns%
;HKLM,Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons,29

[FmLfns.Add.Inis]
setup.ini, progman.groups,, "group1="
setup.ini, group1,, """File Manager"", ""winfile.exe""
setup.ini, group1,, """FmLfns Help"", ""%18%\fmlfns.hlp""

[FmLfns.Del.Inis]
setup.ini, progman.groups,, "group1="
setup.ini, group1,, """File Manager""
setup.ini, group1,, """FmLfns Help""
winfile.ini, Settings,,"LongFileNames=0"
winfile.ini, Settings,,"LowerCase=1"

[Strings]
FmLfns="File Manager Long File Name Support (FmLfns)"
IFmLfns="Introducing File Manager Long File Name Support"
UFmLfns="Software\Microsoft\Windows\CurrentVersion\Uninstall\FmLfns"
