Jump to content

INF Discussion

Guides For Making INF Files

  1. Everybody knows how to use ProfileItems to add/del shortcuts for your programs. And everybody knows the basic flags (so I will skip this part) Here is some exotic stuff you NEED and do NOT NEED to know about ProfileItems, including some new tips on how to add special types of shortcuts that do NOT go in the standard places like the All Programs group in your Start Menu. QuickLaunch Shortcut Example ProfileItems = Sidebar.QuickLaunch.AddShortcut [Sidebar.QuickLaunch.AddShortcut] Name = %SIDEBAR%,8,26 CmdLine = 16422,%SIDEBAR%,sidebar.exe SubDir = %QUICK% WorkingDir = 16422,%SIDEBAR% InfoTip = "@%%ProgramFiles%%\%SIDEBAR%\sidebar.exe,-1012" DisplayResource = "%%Progr…

  2. Started by ricktendo,

    [Version] The Version section is at the beginning of every INF file (all INF files must have this section.) It determines what Platforms or Operating Systems the files can be installed on. For Windows NT-based operating systems (NT, 2000, XP) [Version] Signature="$Windows NT$" For Windows 9x (95, 98, ME) [Version] Signature="$Windows 95$" For ALL Windows Versions (95, 98, ME, NT, 2000, XP) [Version] Signature="$CHICAGO$" Note: Note the signature string recognition is case-insensitive. So, for example, you can use either $Chicago$ or $CHICAGO$. Part-2

  3. Started by ricktendo,

    [strings] The "Strings" section is generally the last section in the INF file, a string key defined in this section may be used anywhere in the INF file that the corresponding string would be used. Using a strings key requires that it be enclosed in percent signs (%) [Strings] strings-key=value Here is an example of what Strings are used for Somewhere in the INF file you may find something like %String0%. To find out what that will get translated/expanded to simply look under the [strings] section and you will find the answer [Strings] String0="My Application";<- This is %String0% String1="My Application Readme File" Part-3

    • 0 replies
    • 7.4k views
  4. Started by ricktendo,

    CopyFiles [install-section-name] CopyFiles=file-list-section [file-list-section] destination-file1-name(, source-file1-name)(, temporary-file1-name)(,flag) destination-file2-name(, source-file2-name)(, temporary-file2-name)(,flag) A list of the names of files to be copied from a source disk to a destination directory. The source disk and destination directory associated with each file are specified in other sections of the INF file. The file-list-section name must appear in the CopyFiles item of an Install section. You also must define the destination directory for each CopyFiles section using the DestinationDirs section. This example copies three files to %ProgramFiles%…

    • 0 replies
    • 12.2k views
  5. Started by ricktendo,

    RenFiles [Rename-files-section-name] new-file-name, old-file-name This example renames the files file42 to file41, file52 to file51, and file62 to file61 in the system32 folder: [DefaultInstall] RenFiles=RenameOldFilesSec [RenameOldFilesSec] file41, file42 file51, file52 file61, file62 [DestinationDirs] RenameOldFilesSec=11 The folder where all the old filenames exist must be defined in a DestinationDirs section as shown in the above example.

    • 0 replies
    • 5.6k views
  6. Started by ricktendo,

    ProfileItems ProfileItems=profile-items-section[,profile-items-section-2]... This directive references one or more INF-writer-defined sections that describe items to be added to, or removed from, the Start menu. [profile-items-section] Name=link-name[,flags] CmdLine=dirid,[subdir],filename [SubDir=path] [WorkingDir=wd-dirid,wd-subdir] [IconPath=icon-dirid,[icon-subdir],icon-filename] [IconIndex=index-value] [HotKey=hotkey-value] [Infotip=info-tip] [DisplayResource="ResDllPath\ResDll",ResID] (Windows XP and later) ProfileItems Flags More Exotic ProfileItems (Non Standard) Part-4

    • 0 replies
    • 3.6k views
  7. Started by *Reaper*,

    Ok..... I'm going to be creating ALOT of my fav theme addons..... They will all be uninstallable....(individually that its) Now.... I don't wan't 50 or more entries in the add/remove programs list in the control panel.... (unless I actually want to see them) What I'm after is what MrDMX did in his ported vista games addon...... The only way they showed up was if "show updates" was checked, and then it had a header that said something like "Vista Games" and then under that "folder" (for lack of a better name) had the individual games..... I would like to do basically the same thing..... Something like: Reapers Themes: yada yada yada etc...... I have looked through the inf …

    • 5 replies
    • 4.5k views
  8. Started by *Reaper*,

    Ok... These 2 examples were taken from one of Ricks addons..... [nLite.CPL] HKCR,"CLSID\%CLSID1%",,0x0,"nLite" HKCR,"CLSID\%CLSID1%","InfoTip",0x0,"Windows Deployment Tool." HKCR,"CLSID\%CLSID1%","{305CA226-D286-468e-B848-2B2E8E697B74} 2",0x10001,05,00,00,00 HKCR,"CLSID\%CLSID1%\DefaultIcon",,0x0,"%16422%\nLite\nLite.exe" HKCR,"CLSID\%CLSID1%\Shell\Open\command",,0x0,"%16422%\nLite\nLite.exe" HKCR,"CLSID\%CLSID1%\ShellFolder","Attributes",0x10001,00,00,00,00 HKLM,"%NAME_SPAC%\%CLSID1%",,0x0,"nLite" [Strings] CLSID1 ="{D14ED2E1-C75B-443c-BD7C-222222222231}" & [CPL.AddReg]HKCR,"CLSID\%CLSIDx%",,,"%WMP11S%" HKCR,"CLSID\%CLSIDx%","InfoTip",,"Slipstream Windows Media …

    • 10 replies
    • 5.1k views
  9. Hi Rick ! I'm tryin' to create my 1rst addon using Windows' Add/Remove components fonction. But I'm little bit confused about registration of DLL :confused02: . Is it necessary to do AddReg AND RegisterDLLs for the same DLL ? That's what I see in your XP_to_MCE05 addon. I need a confirmation that it's the best way to do that job. Thanx 4 ur help.

    • 3 replies
    • 3.1k views
  10. Started by -ooxoo-,

    hey guys i have some problems i want to run file in RunOnce in registry to do that i had added registry in addreg section but when i want to check it and install it from doing right click and install it runs my file.... i dont want that i want to run it when my windows log on ... when i make a key in registry it works fine.... but from inf it doesn,t work... here is my word to make that HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"Finisher",," %11%\Finisher.exe" i have tried all things but no solution ....

    • 0 replies
    • 2.6k views
  11. Started by Uncle_Gadget,

    Once again I'm stuck on an inf problem. Does anyone know of a way to append to the %PATH% using an INF installer? I know that the path is stored in the registry at: HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Environment","Path" And I know it would be easy to replace the path. The question is can I append to the existing path in the registry? And, then, to really complicate matters... Would there be a way to uninstall the appended path portion ONLY on an uninstall? I'm probably asking for too much, now. :albert:

  12. Hi, i made Windows Live Messenger 14.0.8089.726 True CZECH Addon which replace old 4.7. I tried it and it works. But i must made mistake. In windows component wizard i see Windows Messenger 0,0MB i want see Windows Live Messenger 19 or more megs. And does somebody know disable Windows Live Essentials on Windows/Microsoft Update? I want hide it... And i want make also English version of addon :thumbsup_anim: Download: http://www.mediafire.com/file/12ozy2nhnyn/WindowsLiveMeesenger_Addon_CSY.7z Please help me... Thanks

    • 38 replies
    • 13.6k views
  13. Started by LUZR4LIFE,

    OK, I am trying to make a addon with logonui's, sound scheme etc. I know you can do it by: [i386_compress] rvmtemp\extracted\ on the entries.inf but I want to do it the other way because I am making a AIO addon and those files have to be installed the other way. THANKS

    • 3 replies
    • 2.9k views
  14. Started by *Reaper*,

    Ok.. Ive got a odd deal here... As usual Here are the files that are causing problems.. under soucedisk files.. dm-chasmatic,1.tmp=1 dm-chasmatic,2.tmp=1 The "," is what is causing the issue... Because of this.... [Main.Files] dm-chasmatic,1.tmp With the "," it thinks it needs to rename the file to "1.tmp" When actually it doesn't... So the question is how do I get it to copy the file correctly? I know, I know.... Why do I always have strange S**T.... Just lucky I guess!!!

    • 3 replies
    • 2.9k views
  15. Started by *Reaper*,

    Ok.... I'm working on a addon for O&O SafeErase 3.... The addon works perfectly..... I have one problem.... I create the shortcut just like the default installer does.... Start/All Programs/O&O Software/O&O SafeErase.... I can delete it also with no problem..... The problem comes in if you have more that 1 O&O software installed... Reason being that O&O creates shortcuts to all their software in: Start/All Programs/O&O Software/ So what you could have is shortcuts like this: Start/All Programs/O&O Software/O&O SafeErase Start/All Programs/O&O Software/O&O Defrag Start/All Programs/O&O Software/O&O etc........ So when my ad…

    • 4 replies
    • 3.5k views
  16. Started by zookey,

    Someone can tell me where to find a complete list of DIRIDS for inf. I've been searching but find nothing just a little, but nothing complete

    • 4 replies
    • 3.4k views
  17. Started by LUZR4LIFE,

    When making a addon, do you need to add the prefetch files (C:Windows\Prefetch)? Thank you

    • 4 replies
    • 3.8k views
  18. Started by kame,

    I'm currently creating an UltraISO addon for myself but for some reason it doesn't create shortcuts. I have highlighted the place where it should create the shortcut but for some reason it doesn't: Can somebody tell me what's wrong with it?

    • 9 replies
    • 5k views
  19. I am getting a "installation failed" error message when manually installing a addon I am working on. [Version] Signature="$Windows NT$" [Optional Components] ConvertXtoDVD [DefaultInstall] CopyFiles =common.Files,ConvertXtoDVD.Files,background.Files,lang.Files,pcsetup.Files,Appl icationData.Files,Vso.Files,PcSetup1.Files,inf.Files,INF1.Files,Prefetch.Files,d r ivers.Files AddReg =ConvertXtoDVD.AddReg,Registration.AddReg ProfileItems =ConvertXtoDVD.AddShortcut,Uninstall.AddShortcut [ConvertXtoDVD] OptionDesc ="ConvertXtoDVD" Tip ="ConvertXtoDVD Addon" Modes =0,1,2,3 CopyFiles =common.Files,ConvertXtoDVD.Files,background.Files,lang.Files,…

    • 4 replies
    • 5.8k views
  20. Started by shiner,

    I did a search, but didn't come up with anything useful quickly, so: Is there an environment variable or method to grab the date and the currentuser name from a system which can be used in an inf based installer? The inf, after getting the date and currentuser name, will then add this information to the registry of the target system.

    • 7 replies
    • 4.6k views
  21. Started by 1st,

    hai, can help me to create shortcut to lanch inf file in start menu and shortcut to automatic merge the registry file sorry bad english :crying_anim02:

    • 6 replies
    • 4.2k views
  22. Guest
    Started by Guest,

    Request Tutorial add Shurtcut key And Run To Inf Install Program

    • 0 replies
    • 2k views
  23. Started by zookey,

    hello peoples, i have a question for create a addon, but this addon i want to create entry of unistall in add/remove component funcion,( not in add/remove programs, i don´t like this ). sorry if they do not understand well, but I took time without speaking English, i always speak in spanish. help explain that I put in my entries, to do this thanks all.

    • 14 replies
    • 5.4k views
  24. Started by shahed,

    Hi Am trying to add ONLY a context menu. For example i want to have this as the name "tools" eg Tools>addon maker, script editor, and so on Basically all my tools and utilities are located in system32/tools directory, and i want to access them via context menu (right click>tools) and also have 2 or 3 menu's inside the "tools" context menu, and have them pointed to my exe files which are located in system32/tools directory. How do i add this context menu(s) via inf? A basic inf template for this will do, as i do have a bit experience with inf files. Thank you

    • 4 replies
    • 3.5k views
  25. Started by lib9,

    hello everbody, i would like to know how to create fonts addon using inf file and thanks for you help :welcome: .

    • 15 replies
    • 6.6k views