Windows 7 & .inf files -- any coders with experience?

Discussion in 'other software & services' started by Sully, Jan 25, 2010.

Thread Status:
Not open for further replies.
  1. Sully

    Sully Registered Member

    Joined:
    Dec 23, 2005
    Posts:
    3,719
    I have in the past written many .inf files for installing applications or files my own way instead of using an installer like InstallShield. I have written little tools to write/convert .inf files.

    Now on windows 7, my simple .inf files (well, not always simple) don't all want to work. I get the error
    "The INF file you selected does not support this method of installation."

    Googling seems to provide only x64 issues, which is not what I am using (x32bit here).

    Here is a sample of one that does not work.

    Code:
    [Version]
    Signature=$Windows NT$
    
    [Optional Components]
    HiddenFiles_Addons
    
    [HiddenFiles_Addons]
    OptionDesc	="Hidden Files toggle"
    Tip		="Hidden Files toggle Addon"
    Modes		=0,1,2,3
    RegisterDlls	=DLLs.Register
    
    [DLLs.Register]
    11,ShellExt,HiddenFilesToggle.dll,1
    Does anyone know of what differences Win 7 brings in .inf syntax? It is just lovely that they screwed something that has been around and standardized for so long.

    Sul.
     
  2. Sully

    Sully Registered Member

    Joined:
    Dec 23, 2005
    Posts:
    3,719
    Nevermind. This was an .inf file from a RyanVM add-on. As such, it just needed to be restructured for common .inf syntax.

    Sul.
     
Loading...
Thread Status:
Not open for further replies.