Jump to content

INF Discussion

Guides For Making INF Files

  1. hello everybody Simhei.ttf is the default font for IME and display chinese, it located in i386\lang folder and very important to me I found some entries about integrating vista simhei font in Ricks Windows siderbar addon,see below , how to integrating simhei font into "i386\lang" folder not into "i386" if only modify some codes in simhei sections? for do this that will reduce the size of my project and replace the old simhei at the same time,Anyone can help me on this not use overwritting manually thats what I used before,if possible still keep these sections in windows siderbar addon that would be better, thanks in advance. [EditFile] I386\HIVESFT.INF,AddReg,AddFonts …

    • 2 replies
    • 5.3k views
  2. Dear All, Could someone tell me how to judge user's OS is x86 or x64 through inf file? I would to make a 64bit ActiveX control installation, but I do not know how to judge the OS's version. The following is my code: [version] signature=$Chicago$ AdvancedINF=1.0 [DefaultInstall] CopyFiles=MyFiles RegisterOCXs=RegisterOCXSection [DestinationDirs] MyFiles=16422,NVR\Playback [MyFiles] Test.ocx=Test.ocx [Test.ocx] file=thiscab FileVersion=1,0,0,0 RegisterServer=yes [RegisterOCXSection] "%16422%\Test\Test.ocx" By the help of Google, I find the the website: https://social.msdn.microsoft.com/Forums/ie/fr-FR/32ec4e8f-cded-4f39-b57b-bea2222fdb92/how-to-create-x64…

  3. Started by kame,

    I am about to finish my Mozilla Firefox 3 beta 3 addon and I'm stuck on one thing, how do I set the icon in optional components wizard?

    • 3 replies
    • 2.9k views
  4. Hello all, i'm new to this forums! I want to make a true addons using tools that provided this forums, i'm still confused to make an inf n ini file. Just for example if i want to make directx addons that slipstreamed completely use ryanvm or nlite, i dont know what exactly list of file should i choose to build ini n how to make inf file too! I take a look at reg2inf programs which can convert *.reg to inf but i dont know what in the regedit i've to import! Anyone can show me a tutorial for makin true addons? Any help from u is very appreciated, n i'm sorry for my english, i'm not too good at this!

  5. Started by Jonnyboy,

    When you use an inf addon during an ui, the inf is automatically copied to %windir%\inf if I you convert the inf to a silent exe and that during an ui, will the inf be copied to %windir%\inf I'm not at home and it would take me a couple of hours to find out, using my laptop tia ***EDIT*** When using the silent installer, the inf is not automatically copied to the %windir%\inf folder. Can the inf be copied by the inf? I have been trying the copyINF directive, but that changes the name of the inf to OEM*.inf and can't be referenced by the uninstaller. Anyone have any ideas? Again, any help is appreciated. thx ***EDIT*** Adding this to the config.txt for the silent installer…

    • 0 replies
    • 2.1k views
  6. Started by bober,

    icant get a desktop shortcut to be deleted via [uninstall] in a inf ,maybe someone can give me an example..thx

    • 2 replies
    • 3.1k views
  7. Started by lib9,

    hello everyone, so brief i want to apply my inf file at 12 min of windows installation(without using cmdlines.txt) ? it will be really appreciated to know about apply inf files at guirunonce and runonceex also and thank you.

    • 3 replies
    • 2.7k views
  8. Started by George King,

    Hi, how i can install following INF? ; ---------------------------------------------------------------------- ; File: VMNetSrv.INF ; ; Contains: Virtual PC Network Services INF file ; ; Copyright: (c) 2001-2003, Microsoft Corporation. All rights reserved. ; ---------------------------------------------------------------------- [Version] Signature = "$Windows NT$" Class = NetService ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318} Provider = %Microsoft% CatalogFile= VMNetSrv.cat DriverVer = 01/16/2008,2.6.623.0 [SourceDisksNames] 1=%DiskDescription%,"",, [SourceDisksFiles] VMNetSrv.dll=1 VMNetSrv.sys=1 [Manufacturer] %Microsoft% = MSFT, NTamd64 [Contro…

    • 13 replies
    • 7.6k views
  9. OK, I am working on a addon that has around 542 files and around 54 folders, it has a lot of the same file name. So I would like to be able to go in a folder and add the folder name ever file with the folder name in front of it. ex. inside a (testing 1 folder), there is a number of files. testing.txt testing.jpg testing.url I am wanting to add a "testing 1" in front of every file. testing 1testing.txt testing 1testing.jpg testing 1testing.url I don't think it's possible but, just a thought and it never hurts to try. LOL . Thanks

    • 5 replies
    • 3.8k views
  10. Hi, I've tried to launch advpack.dll through Optional Components, like this: [Version] Signature=$Windows NT$ [Optional Components] Unix [DefaultInstall] CopyFiles = InfFile.Files RegisterDLLs = LaunchAdvancedInstall [Unix] RegisterDLLs = LaunchAdvancedInstall [LaunchAdvancedInstall] 11,,rundll32.exe,,,"advpack.dll,LaunchINFSection %1%\%MAIN_INF%,Install" [Install] OptionDesc = %UnixDisplayName% Tip = "Gnu Unix Utilities AddOn By Kal" Modes = 0,1,2,3 RunPostSetupCommands = Unix.Add.Path:1 CopyFiles = InfFile.Files CopyFiles = Unix.Files,Wgetrc.Files AddReg = Unix.AddReg But it doesn't seem to work when it's installed with SYSOC. On a r…

    • 4 replies
    • 3.6k views
  11. Started by LUZR4LIFE,

    OK, I did a check with FGBCS on the .inf and had no error or warnings. I also did a check on the .7z and nothing. When I do a manual install I get the above message. Any ideals on what maybe happening? I integrated the .7z to a XPCD to test that also, but that is still installing, will post if that works or not. THANKS OK, It will not install through a XPCD also.

    • 4 replies
    • 3.2k views
  12. Hi,everybody I'm learning to make addons of some apps recently I got the problem when registering some dll files in using RegiterDlls directive,These Dlls registered for applying contextmenu, but they cant be registered either using Regiterdlls or using regserv32.exe All the DLLS seem have the same features dont have DllRegisterServer/DllUnRgisterServer functions that I found via a dependency check tool of MS. Below registry section mentioned shell dlls registered from monitor installing Byond Compare 3 and Virtual CloneDrive, anyone can help me register them in command line I will appreciate it. ;Beyond Compare3 HKCR,"*\shellex\ContextMenuHandlers\CirrusShellEx",,0x0,"{…

    • 5 replies
    • 6.7k views
  13. I need send a logoff directive to make registry entries take effects when manually installation finished [Install] BeginPrompt =BeginInst RunPreSetupCommands =Create.i386:1 CopyFiles =program.files AddReg =Uninst.AddReg ProfileItems =Program.Addshortcut RunPostSetupCommands=Delete.i386 EndPrompt =EndInst ;<----------------------------------------add Logoff directive here and with a prompt I have Googled internet,only found directives to reboot machine like below Reboot = 1 SmartReboot =A / N any help is appreciated.

  14. I'd prefer to have only one WMP11 anywhere in my installation, and I'd like it at: START MENU->MULTIMEDIA->Windows Media Player.lnk In my WINNT.SIF I have: [AddComponents] WMPOCM = OffThis successfully prevents all of the default shortcuts. I then created the following INF: [Version] Signature=$Windows NT$ [Optional Components] WMPshortcut [DefaultInstall] ProfileItems =WMP.AddShortcut [WMPshortcut] OptionDesc="WMPshortcut" Tip ="WMPshortcut" Modes =0,1,2,3 ProfileItems =WMP.AddShortcut [WMP.AddShortcut] Name = "Windows Media Player" CmdLine = 16422,"Windows Media Player",wmplayer.exe "/prefetch:1" SubDir = "Multimedia" WorkingDir = 16422,"Windows Me…

    • 7 replies
    • 6.9k views
  15. Started by rainman,

    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…

    • 6 replies
    • 3.6k views
  16. Started by Audigy,

    I need some help with this addon, it installs and uninstalls without a problem, but the shortcuts are missing :crying_anim02: . Can someone point me in the right direct, as to what I am doing wrong. Thanx [Version] Signature="$Windows NT$" [Optional Components] BFNE [DefaultInstall] AddReg =BFNE.AddReg CopyFiles =BFNE.Files ProfileItems=BFNE.AddShortcut,Uninstall.AddShortcut [BFNE] OptionDesc ="BFNE" Tip ="Batch FileName Editor" Modes =0,1,2,3 AddReg =BFNE.AddReg CopyFiles =BFNE.Files ProfileItems=BFNE.AddShortcut,Uninstall.AddShortcut [DestinationDirs] BFNE.Files=16422,%Bfedir% [SourceDisksNames.x86] 1="Windows XP CD-Rom","BFNE.C…

    • 13 replies
    • 6k views
  17. Started by KAMRULCOX,

    I need Idm.inf to make XP Addon. I visisted this topics. But the download link is death.

    • 3 replies
    • 2.5k views
  18. Started by *Reaper*,

    OK... this is my first attempt at making a true addon.... I decided to try a screensaver addon first......(This screensaver is a little different from the norm... It has 2 files for it.. 1 is a normal .scr file and the other is a .exe file) Both files need to go in the system32 dir....) And this also requires a User Name and serial #... I used Ricks Vista Screensavers addon as sort of a guide..... I would like someone to check my .ini and .inf files and tell me if this looks ok.... I compressed both the .exe and .scr files inside CoralClock.cab CoralClockSCR.inf ;ricktendo64 [Version] signature="$Windows NT$" [Optional Components] Coral Clock 3D Screensaver MyRegTweaks…

    • 2 replies
    • 3.5k views
  19. Started by lib9,

    like the title said i have a problem launching inf file with batch file using infdefaultinstall : infdefaultinstall %WINDIR%\inf\tweaks.inf i use this line in setupcomplete.cmd and thanks in advance

    • 3 replies
    • 3.7k views
  20. Started by radix,

    Hello, I can't create the url icon from [icon1] section as described below: [Version] Signature="$Windows NT$" [DefaultInstall] RunPreSetupCommands = Dropbox.Config:1 AddReg =REGEntries.AddReg DelReg =REGEntries.DelReg ProfileItems=Icon1,Icon2,Icon3 [Dropbox.Config] "xcopy /e /i /q /h /r /y ""%01%\16410"" ""%16410%""" "xcopy /e /i /q /h /r /y ""%01%\16424"" ""%16424%""" [REGEntries.AddReg] HKCU,"Software\Dropbox\","InstallPath",0x0,"%16410%\Dropbox\bin" HKCU,"Software\Dropbox\ks\","Client",0x1,00,00,00,00,f6,00,00,00,01,00,00,00,d0,8c,9d,df,01,15,d1,11,8c,7a,00,c0,4f,c2,97,eb,01,00,00,00,d6,5c,62,fd,14,95,d1,41,ad,51,84,60,c3,e9,f4,2d,00,00,00,00,02,00,00,00,00,00,10,…

    • 6 replies
    • 3.7k views
  21. Started by LeGendxp,

    Hello how can i put Addon (program) in add/remove windows components???? How can i do????

    • 12 replies
    • 5.4k views
  22. Started by *Reaper*,

    Ok.... Ive got a addon that im working on... During the uninstall I need the inf to set a folder for deletion after reboot. So 1st question is How do you set a folder for deletion after a reboot, and 2nd is how do you get the inf to ask if you if you would like to reboot? The folder is in Program Files.... Reason I have to do it this was is because i have a dll file that is locked by explorer.exe until after reboot, so you cant delete the folder until then... And Ive tried everything... Unregistering.dll etc.... You can use unlocker to unlock it and then delete the folder but thats not a great alternative... Any help would be appreciated...

    • 2 replies
    • 4.7k views
  23. Started by SHO_GuN,

    Hi, I am trying to create a registry entry in the AddReg section that will use the currently logged in user's username. I thought I had it figured out using "HKCU,"Software\MyProgram\MyDirectory","PATH",0x0,"%53%\TargetDirectory". When I run this inf from my desktop, the entry is created as "C:\Documents and Settings\MYUSERNAME\TargetDirectory", just as I want. However, when I use that line in my addon during Windows install, the entry is created as "C:\Documents and Settings\Default User\TargetDirectory" - Instead of "MYUSERNAME", it is showing up as "Default User" and the application does not work. Could someone give me a hint as to how to accomplish this, I have search…

  24. Started by LeGendxp,

    hi I want to take some reg of programs to put it in its addon i use install watch pro and idont take the reg ??? How can i do?

    • 3 replies
    • 3.4k views
  25. Started by LUZR4LIFE,

    I am getting this error message when trying to launch a new addon I am working on. What could be causing this? Everything is going to the correct destination.

    • 0 replies
    • 2.4k views