Jump to content

Need help for creating inf


rainman

Recommended Posts

hello all

i have unfortunately not success to create an inf for my first addon

i have learn the great tuto video of our super modo RICK but when i try FCGBA i got lot of errors

here is my inf :

[Version]
Signature="$Windows NT$"

[Optional Components]
Task Killer

[DefaultInstall]
AddReg =Task Killer.AddReg
CopyFiles =Task Killer.Files,lang.Files
profileItems=Task Killer.AddShortcut,UNINSTALL.AddShortcut,Desktop.AddShortcut,QuickLaunch.AddShor
tcut

[Task Killer]
OptionDesc ="Registry Entries"
Tip ="kill process appz"
Modes =0,1,2,3
AddReg =Task Killer.AddReg
CopyFiles =Task Killer.Files,lang.Files
profileItems=Task Killer.AddShortcut,UNINSTALL.AddShortcut,Desktop.AddShortcut,QuickLaunch.AddShor
tcut

[DestinationDirs]
Task Killer.Files=16422,Task Killer
lang.Files =16422,Task Killer\lang

[SourceDisksNames.x86]
1="Windows XP CD-Rom","Task Killer.cab",,"i386"

[SourceDisksFiles]
cat.lng=1
chi.lng=1
chs.lng=1
cht.lng=1
csy.lng=1
deu.lng=1
eng.lng=1
file_id.diz=1
fra.lng=1
history.txt=1
hun.lng=1
license.txt=1
pol.lng=1
ptg.lng=1
readme.htm=1
rus.lng=1
spa.lng=1
taskkiller.chm=1
TaskKiller.exe=1
taskkiller.ini=1
ukr.lng=1
uninstall.exe=1

[Task Killer.Files]
readme.htm
taskkiller.chm
taskkiller.ini
TaskKiller.exe
uninstall.exe
file_id.diz
history.txt
license.txt

[lang.Files]
fra.lng
hun.lng
pol.lng
ptg.lng
rus.lng
spa.lng
ukr.lng
cat.lng
chi.lng
chs.lng
cht.lng
csy.lng
deu.lng
eng.lng

[Task Killer.AddShortcut]
Name =Task Killer
CmdLine =16422,Task Killer,TaskKiller.exe
SubDir =Task Killer
WorkingDir=16422,Task Killer
InfoTip =kill process appz

[UNINSTALL.AddShortcut]
Name =uninstall
CmdLine =16422,Task Killer,uninstall.exe
SubDir =Task Killer
WorkingDir=16422,Task Killer
InfoTip =Uninstall Task Killer

[readme.AddShortcut]
Name =readme
CmdLine =16422,Task Killer,readme.txt
SubDir =Task Killer
WorkingDir=16422,Task Killer
InfoTip =readme Task Killer

[Desktop.AddShortcut]
Name =Task Killer,0x00000008,25
CmdLine =16422,Task Killer,TaskKiller.exe
WorkingDir=16422,Task Killer
InfoTip =kill process appz

[QuickLaunch.AddShortcut]
Name =Task Killer,0x00000008,26
CmdLine =16422,Task Killer,TaskKiller.exe
SubDir =%QUICK_L%
WorkingDir=16422,Task Killer
InfoTip =kill process appz

[Task Killer.AddReg]
; Reg2Inf v0.46 - [url="http://tinyurl.com/fgqyf"]http://tinyurl.com/fgqyf[/url]
HKCU,"Software\RSD Software, Inc.\Task Killer",,0x10
HKCU,"Software\RSD Software, Inc.\Task Killer","Version",0x0,"v2.30"
HKCU,"Software\RSD Software, Inc.\Task Killer","InstallPath",0x0,"%16422%\Task Killer"
HKCU,"Software\RSD Software, Inc.\Task Killer","Installer Language",0x0,"1036"
HKLM,"%UNINSTALL%\Task Killer",,0x10
HKLM,"%UNINSTALL%\Task Killer","DisplayName",0x0,"Task Killer (remove only)"
HKLM,"%UNINSTALL%\Task Killer","UninstallString",0x0,"\uninstall.exe"

[strings]
UNINSTALL="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
QUICK_L ="Microsoft\Internet Explorer\Quick Launch"

very thanks for help

Link to comment
Share on other sites

I should have asked for the FGCBA report. LOL

Also fix "Task Killer.Files=16422,Task Killer" (TaskKiller.Files)

You may also want to change.....

OptionDesc ="Registry Entries"

to

OptionDesc ="Task Killer Addon" or alike, since this is no longer just Reg.entries.

Edited by LUZR4LIFE
Link to comment
Share on other sites

This is the problem, when there is a space in a path in DestinationDirs you have to use quotes

[DestinationDirs]

Task Killer.Files=16422,"Task Killer"

lang.Files =16422,"Task Killer\lang"

BTW your CAB name is too long (I also suspect your INF is also) and it has a space so this means its not 8.3 filename compliant

[Version]
Signature="$Windows NT$"

[Optional Components]
Task Killer

[DefaultInstall]
AddReg =Task.Killer.AddReg
CopyFiles =Task.Killer.Files,lang.Files
profileItems=Task.Killer.AddShortcut,UNINSTALL.AddShortcut,Desktop.AddShortcut,Q
uickLaunch.AddShortcut

[Task Killer]
OptionDesc ="Registry Entries"
Tip ="kill process appz"
Modes =0,1,2,3
AddReg =Task.Killer.AddReg
CopyFiles =Task.Killer.Files,lang.Files
profileItems=Task.Killer.AddShortcut,UNINSTALL.AddShortcut,Desktop.AddShortcut,Q
uickLaunch.AddShortcut

[DestinationDirs]
Task.Killer.Files=16422,"Task Killer"
lang.Files =16422,"Task Killer\lang"

[SourceDisksNames.x86]
1="Windows XP CD-Rom","TaskKill.cab",,"i386"

[SourceDisksFiles]
cat.lng=1
chi.lng=1
chs.lng=1
cht.lng=1
csy.lng=1
deu.lng=1
eng.lng=1
file_id.diz=1
fra.lng=1
history.txt=1
hun.lng=1
license.txt=1
pol.lng=1
ptg.lng=1
readme.htm=1
rus.lng=1
spa.lng=1
taskkiller.chm=1
TaskKiller.exe=1
taskkiller.ini=1
ukr.lng=1
uninstall.exe=1

[Task.Killer.Files]
readme.htm
taskkiller.chm
taskkiller.ini
TaskKiller.exe
uninstall.exe
file_id.diz
history.txt
license.txt

[lang.Files]
fra.lng
hun.lng
pol.lng
ptg.lng
rus.lng
spa.lng
ukr.lng
cat.lng
chi.lng
chs.lng
cht.lng
csy.lng
deu.lng
eng.lng

[Task.Killer.AddShortcut]
Name =Task Killer
CmdLine =16422,Task Killer,TaskKiller.exe
SubDir =Task Killer
WorkingDir=16422,Task Killer
InfoTip =kill process appz

[UNINSTALL.AddShortcut]
Name =uninstall
CmdLine =16422,Task Killer,uninstall.exe
SubDir =Task Killer
WorkingDir=16422,Task Killer
InfoTip =Uninstall Task Killer

[readme.AddShortcut]
Name =readme
CmdLine =16422,Task Killer,readme.txt
SubDir =Task Killer
WorkingDir=16422,Task Killer
InfoTip =readme Task Killer

[Desktop.AddShortcut]
Name =Task Killer,0x00000008,25
CmdLine =16422,Task Killer,TaskKiller.exe
WorkingDir=16422,Task Killer
InfoTip =kill process appz

[QuickLaunch.AddShortcut]
Name =Task Killer,0x00000008,26
CmdLine =16422,Task Killer,TaskKiller.exe
SubDir =%QUICK_L%
WorkingDir=16422,Task Killer
InfoTip =kill process appz

[Task.Killer.AddReg]
; Reg2Inf v0.46 - [url="http://tinyurl.com/fgqyf"]http://tinyurl.com/fgqyf[/url]
HKCU,"Software\RSD Software, Inc.\Task Killer",,0x10
HKCU,"Software\RSD Software, Inc.\Task Killer","Version",0x0,"v2.30"
HKCU,"Software\RSD Software, Inc.\Task Killer","InstallPath",0x0,"%16422%\Task Killer"
HKCU,"Software\RSD Software, Inc.\Task Killer","Installer Language",0x0,"1036"
HKLM,"%UNINSTALL%\Task Killer",,0x10
HKLM,"%UNINSTALL%\Task Killer","DisplayName",0x0,"Task Killer (remove only)"
HKLM,"%UNINSTALL%\Task Killer","UninstallString",0x0,"%16422%\Task Killer\uninstall.exe"

[strings]
UNINSTALL="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
QUICK_L ="Microsoft\Internet Explorer\Quick Launch"

I removed some spaces from your section names, this was causing a error with FGCBA too... I also fixed your uninstall string, it did not have %16422%\etc

Link to comment
Share on other sites

This is the problem, when there is a space in a path in DestinationDirs you have to use quotes

BTW your CAB name is too long (I also suspect your INF is also) and it has a space so this means its not 8.3 filename compliant

[Version]
Signature="$Windows NT$"

[Optional Components]
Task Killer

[DefaultInstall]
AddReg =Task.Killer.AddReg
CopyFiles =Task.Killer.Files,lang.Files
profileItems=Task.Killer.AddShortcut,UNINSTALL.AddShortcut,Desktop.AddShortcut,Q
uickLaunch.AddShortcut

[Task Killer]
OptionDesc ="Registry Entries"
Tip ="kill process appz"
Modes =0,1,2,3
AddReg =Task.Killer.AddReg
CopyFiles =Task.Killer.Files,lang.Files
profileItems=Task.Killer.AddShortcut,UNINSTALL.AddShortcut,Desktop.AddShortcut,Q
uickLaunch.AddShortcut

[DestinationDirs]
Task.Killer.Files=16422,"Task Killer"
lang.Files =16422,"Task Killer\lang"

[SourceDisksNames.x86]
1="Windows XP CD-Rom","TaskKill.cab",,"i386"

[SourceDisksFiles]
cat.lng=1
chi.lng=1
chs.lng=1
cht.lng=1
csy.lng=1
deu.lng=1
eng.lng=1
file_id.diz=1
fra.lng=1
history.txt=1
hun.lng=1
license.txt=1
pol.lng=1
ptg.lng=1
readme.htm=1
rus.lng=1
spa.lng=1
taskkiller.chm=1
TaskKiller.exe=1
taskkiller.ini=1
ukr.lng=1
uninstall.exe=1

[Task.Killer.Files]
readme.htm
taskkiller.chm
taskkiller.ini
TaskKiller.exe
uninstall.exe
file_id.diz
history.txt
license.txt

[lang.Files]
fra.lng
hun.lng
pol.lng
ptg.lng
rus.lng
spa.lng
ukr.lng
cat.lng
chi.lng
chs.lng
cht.lng
csy.lng
deu.lng
eng.lng

[Task.Killer.AddShortcut]
Name =Task Killer
CmdLine =16422,Task Killer,TaskKiller.exe
SubDir =Task Killer
WorkingDir=16422,Task Killer
InfoTip =kill process appz

[UNINSTALL.AddShortcut]
Name =uninstall
CmdLine =16422,Task Killer,uninstall.exe
SubDir =Task Killer
WorkingDir=16422,Task Killer
InfoTip =Uninstall Task Killer

[readme.AddShortcut]
Name =readme
CmdLine =16422,Task Killer,readme.txt
SubDir =Task Killer
WorkingDir=16422,Task Killer
InfoTip =readme Task Killer

[Desktop.AddShortcut]
Name =Task Killer,0x00000008,25
CmdLine =16422,Task Killer,TaskKiller.exe
WorkingDir=16422,Task Killer
InfoTip =kill process appz

[QuickLaunch.AddShortcut]
Name =Task Killer,0x00000008,26
CmdLine =16422,Task Killer,TaskKiller.exe
SubDir =%QUICK_L%
WorkingDir=16422,Task Killer
InfoTip =kill process appz

[Task.Killer.AddReg]
; Reg2Inf v0.46 - [url="http://tinyurl.com/fgqyf"]http://tinyurl.com/fgqyf[/url]
HKCU,"Software\RSD Software, Inc.\Task Killer",,0x10
HKCU,"Software\RSD Software, Inc.\Task Killer","Version",0x0,"v2.30"
HKCU,"Software\RSD Software, Inc.\Task Killer","InstallPath",0x0,"%16422%\Task Killer"
HKCU,"Software\RSD Software, Inc.\Task Killer","Installer Language",0x0,"1036"
HKLM,"%UNINSTALL%\Task Killer",,0x10
HKLM,"%UNINSTALL%\Task Killer","DisplayName",0x0,"Task Killer (remove only)"
HKLM,"%UNINSTALL%\Task Killer","UninstallString",0x0,"%16422%\Task Killer\uninstall.exe"

[strings]
UNINSTALL="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
QUICK_L ="Microsoft\Internet Explorer\Quick Launch"

I removed some spaces from your section names, this was causing a error with FGCBA too... I also fixed your uninstall string, it did not have %16422%\etc

very very many thanks LUZR4LIFE and ricktendo64 you are great

now i understand origin of my errors

fixed with any errors

luzarud1.png

many thanks

i release it in section : WPI, nLite and RVM Addons

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...