Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Install INF file

Install INF file

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
15 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    john5632 wrote:

    What might be the problem?

    Same as this[^].

    txtspeak is the realm of 9 year old children, not developers. Christian Graus

    J Offline
    J Offline
    john5632
    wrote on last edited by
    #3

    Yes, then what to do?

    L 1 Reply Last reply
    0
    • J john5632

      Yes, then what to do?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #4

      Provide some more information, your message gives us nothing to work with.

      txtspeak is the realm of 9 year old children, not developers. Christian Graus

      J 1 Reply Last reply
      0
      • J john5632

        Hi All, I am trying to install the .inf file through cmd line rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 .\mfile.inf It runs fine with wondows xp and windows 7 but in windows vista I am getting error message "Installation failed". Even UAC also disabled. What might be the problem?

        K Offline
        K Offline
        krmed
        wrote on last edited by
        #5

        Perhaps you can start your console window as an administrator - it may help. Browse to your \Windows\system32 folder, then right-click on cmd.exe and choose "Run As Administrator". Hope it helps.

        Karl - WK5M PP-ASEL-IA (N43CS) PGP Key: 0xDB02E193 PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

        J 1 Reply Last reply
        0
        • K krmed

          Perhaps you can start your console window as an administrator - it may help. Browse to your \Windows\system32 folder, then right-click on cmd.exe and choose "Run As Administrator". Hope it helps.

          Karl - WK5M PP-ASEL-IA (N43CS) PGP Key: 0xDB02E193 PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

          J Offline
          J Offline
          john5632
          wrote on last edited by
          #6

          Same Error Message

          1 Reply Last reply
          0
          • L Lost User

            Provide some more information, your message gives us nothing to work with.

            txtspeak is the realm of 9 year old children, not developers. Christian Graus

            J Offline
            J Offline
            john5632
            wrote on last edited by
            #7

            I have only inf file and want to install. What information you want?

            L 1 Reply Last reply
            0
            • J john5632

              I have only inf file and want to install. What information you want?

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #8

              What are you trying to install? Perhaps if you post the contents of your inf file that might be a starting point.

              txtspeak is the realm of 9 year old children, not developers. Christian Graus

              J 1 Reply Last reply
              0
              • L Lost User

                What are you trying to install? Perhaps if you post the contents of your inf file that might be a starting point.

                txtspeak is the realm of 9 year old children, not developers. Christian Graus

                J Offline
                J Offline
                john5632
                wrote on last edited by
                #9

                ok, trying to install kQemu driver through .inf file Code:--

                ; Copyright (C) 2005 Filip Navara, Damien Mascord

                [Version]
                Signature = "$Windows NT$"
                Class = System
                ClassGuid = {4D36E97D-E325-11CE-BFC1-08002BE10318}
                Provider = %Author%
                DriverVer = 04/28/2005,1.0

                [DestinationDirs]
                DefaultDestDir = 12
                KQemu.DriverFiles = 12
                KQemu.InfFiles = 10,inf

                [SourceDisksNames]
                1 = %InstDisk%

                [SourceDisksFiles]
                kqemu.sys = 1

                [Manufacturer]
                %Author% = KQemu.Manufacturer

                [KQemu.Manufacturer]
                %Description% = DefaultInstall,kqemu

                [DefaultInstall.NT]
                CopyFiles = KQemu.DriverFiles, KQemu.InfFiles
                AddReg = KQemu.UninstallRegistry

                [DefaultInstall.NT.Services]
                AddService = kqemu,,KQemuService_Inst

                [Uninstall.NT]
                DelFiles = KQemu.DriverFiles, KQemu.InfFiles
                DelReg = KQemu.UninstallRegistry

                [Uninstall.NT.Services]
                DelService = kqemu,0x00000200

                [KQemu.DriverFiles]
                kqemu.sys

                [KQemu.InfFiles]
                kqemu.inf

                [KQemu.UninstallRegistry]
                HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KQEMU,"DisplayName",,%Description%
                HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KQEMU,"UninstallString",0x20000,"RunDll32 setupapi.dll,InstallHinfSection Uninstall 132 %SystemRoot%\inf\kqemu.inf"

                [KQemuService_Inst]
                DisplayName = %Description%
                ServiceType = %SERVICE_KERNEL_DRIVER%
                StartType = %SERVICE_DEMAND_START%
                ErrorControl = %SERVICE_ERROR_NORMAL%
                ServiceBinary = %12%\kqemu.sys

                [Strings]
                Author = "Fabrice Bellard"
                Description = "KQEMU virtualisation module for QEMU"
                InstDisk = "KQEMU Install Disk"
                SERVICE_KERNEL_DRIVER = 1
                SERVICE_DEMAND_START = 3
                SERVICE_ERROR_NORMAL = 1

                L 1 Reply Last reply
                0
                • J john5632

                  ok, trying to install kQemu driver through .inf file Code:--

                  ; Copyright (C) 2005 Filip Navara, Damien Mascord

                  [Version]
                  Signature = "$Windows NT$"
                  Class = System
                  ClassGuid = {4D36E97D-E325-11CE-BFC1-08002BE10318}
                  Provider = %Author%
                  DriverVer = 04/28/2005,1.0

                  [DestinationDirs]
                  DefaultDestDir = 12
                  KQemu.DriverFiles = 12
                  KQemu.InfFiles = 10,inf

                  [SourceDisksNames]
                  1 = %InstDisk%

                  [SourceDisksFiles]
                  kqemu.sys = 1

                  [Manufacturer]
                  %Author% = KQemu.Manufacturer

                  [KQemu.Manufacturer]
                  %Description% = DefaultInstall,kqemu

                  [DefaultInstall.NT]
                  CopyFiles = KQemu.DriverFiles, KQemu.InfFiles
                  AddReg = KQemu.UninstallRegistry

                  [DefaultInstall.NT.Services]
                  AddService = kqemu,,KQemuService_Inst

                  [Uninstall.NT]
                  DelFiles = KQemu.DriverFiles, KQemu.InfFiles
                  DelReg = KQemu.UninstallRegistry

                  [Uninstall.NT.Services]
                  DelService = kqemu,0x00000200

                  [KQemu.DriverFiles]
                  kqemu.sys

                  [KQemu.InfFiles]
                  kqemu.inf

                  [KQemu.UninstallRegistry]
                  HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KQEMU,"DisplayName",,%Description%
                  HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KQEMU,"UninstallString",0x20000,"RunDll32 setupapi.dll,InstallHinfSection Uninstall 132 %SystemRoot%\inf\kqemu.inf"

                  [KQemuService_Inst]
                  DisplayName = %Description%
                  ServiceType = %SERVICE_KERNEL_DRIVER%
                  StartType = %SERVICE_DEMAND_START%
                  ErrorControl = %SERVICE_ERROR_NORMAL%
                  ServiceBinary = %12%\kqemu.sys

                  [Strings]
                  Author = "Fabrice Bellard"
                  Description = "KQEMU virtualisation module for QEMU"
                  InstDisk = "KQEMU Install Disk"
                  SERVICE_KERNEL_DRIVER = 1
                  SERVICE_DEMAND_START = 3
                  SERVICE_ERROR_NORMAL = 1

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #10

                  I see that this file contains the name of the author and the company that manufactured this product. Obviously they are the people to contact to ask what this message means.

                  txtspeak is the realm of 9 year old children, not developers. Christian Graus

                  J 1 Reply Last reply
                  0
                  • L Lost User

                    I see that this file contains the name of the author and the company that manufactured this product. Obviously they are the people to contact to ask what this message means.

                    txtspeak is the realm of 9 year old children, not developers. Christian Graus

                    J Offline
                    J Offline
                    john5632
                    wrote on last edited by
                    #11

                    If I could do that then no need of your help

                    L V D 3 Replies Last reply
                    0
                    • J john5632

                      If I could do that then no need of your help

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #12

                      As I said in answer to your earlier post, the message "Installation failed" gives no clue as to what might be wrong, so there is no way we could begin to guess what the error is. If you cannot get help from the people who wrote this package then I fear you are stuck.

                      txtspeak is the realm of 9 year old children, not developers. Christian Graus

                      1 Reply Last reply
                      0
                      • J john5632

                        If I could do that then no need of your help

                        V Offline
                        V Offline
                        vasu_sri
                        wrote on last edited by
                        #13

                        john5632 wrote:

                        If I could do that then no need of your help

                        Oh Yeah? You must be happy for all the help you are getting here. You talk as if you are paying to get help from people here. ;P

                        1 Reply Last reply
                        0
                        • J john5632

                          If I could do that then no need of your help

                          D Offline
                          D Offline
                          David Crow
                          wrote on last edited by
                          #14

                          What's keeping you from contacting fabrice@bellard.org?

                          "One man's wage rise is another man's price increase." - Harold Wilson

                          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                          "Man who follows car will be exhausted." - Confucius

                          1 Reply Last reply
                          0
                          • J john5632

                            Hi All, I am trying to install the .inf file through cmd line rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 .\mfile.inf It runs fine with wondows xp and windows 7 but in windows vista I am getting error message "Installation failed". Even UAC also disabled. What might be the problem?

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #15

                            Hi, When you install a device driver and the installation fails you can check the SetupAPI Log File[^] located at **%windir%\inf\setupapi.dev.log** on Windows Vista and above. My guess is that you are attempting to install a 32 bit device driver on a 64 bit Vista OS. Best Wishes, -David Delaune

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups