Jump to content

INF Discussion

Guides For Making INF Files

  1. Started by LUZR4LIFE,

    I have a hard time remembering what is safe to remove from .AddReg. I think it was because I was learning so much at one time and could not remember this part of it. LOL. I know that is is safe to remove: All "HKU,"S-1-5-21" All "ShellNoRoam" All "MRU" All "%%pfvqy2%%\" But that is all that I can remember. Thank you

    • 3 replies
    • 3.2k views
  2. 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.7k views
  3. 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
    • 5k views
  4. 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
  5. 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.7k views
  6. Started by *Reaper*,

    Im working on a addon... I know the addon portion of the script works (tested it on a live install) Now I'm trying to add the extra stuff to it so It will be uninstallable... Could someone take a look at this and offer suggestions, comments, and also point out my screwups... ;AddOn By Reaper [Version] Signature=$Windows NT$ [Optional Components] ArcConvert AddReg=Uninstall.AddReg [DefaultInstall] CopyFiles =Main_App,LOCALE_Files,LOCALE1_Files,LOCALE2_Files,LOCALE3_Files,LOCALE4_Files,U NP_Files,@%INF_FILE% ProfileItems=AC_AddShortcut [ArcConvert] OptionDesc ="ArcConvert" Tip ="Copyright © Dirk Paehl" Modes =0,1,2,3 CopyFiles =Main_App,LOCALE_Files,LOCALE1_F…

    • 6 replies
    • 4.8k views
  7. 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.4k views
  8. Started by razorXP,

    Hi Wincert forum. I had used Sidebar installer before and it works great, but I found out that the regular installer was discontinued, but there

    • 8 replies
    • 6k views
  9. 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.5k views
  10. 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.5k views
  11. 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.1k views
  12. 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.3k views
  13. 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

    • 0 replies
    • 11.9k views
  14. 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
    • 3k views