Manual install INF

R

Richard

I searched thru numerous archives and I did not find the answer. We must
install a new device in the field without building a new image. I copied
the INF, Sys, and DLL into the proper directories. From there, where do I
go?

I tried:
"Devcon install myinf" but it returns improper use of install. I take it I
"must" know the hwid when using devcon?
Is there a way to force XPe to see and use this new INF file?

Thanks,
Richard
 
K

KM

Richard,

Is it a PnP device? If so, the FBA PnP will do the job for you automatically on reboot (or manually PnP scan like "devcon rescan")
if you properly copied all the files to the directories you mentioned and if all the binary dependencies are satisfied in your
image.

If not, you will have to pre-populate some registry entries related to the device driver installation. (you can capture those if you
install the driver(s) on XP Pro machine)


Please remember that the information on how the driver installation went you can find in \Windows\SetupApi.log file.
 
R

Richard

Well, I guess I'm not a Windows GURU. I used Inctr5 to capture all the
registry changes. I exported all the keys that I needed for that device.

Now, if I do a "Reg Import myregfile.Reg" it says it's sucessful but the
entries are not in there.
If I do a "regedit myregfile.reg" it asks if I'm sure I want to merge it, I
say yes, then it fails "Can not access registry database"

So, if I go into regedit, and import them, they fail - "Error accessing
registry database"

Here are the reg entries, are certain nodes locked at runtime?

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\ADV_DEVICE]

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\ADV_DEVICE\0000]
"ClassGUID"="{D8B70F0B-98AE-405A-885A-BD99226EFC0C}"
"Class"="ADV_Device"
"HardwareID"=hex(7):41,00,64,00,76,00,5f,00,43,00,6f,00,72,00,65,00,00,00,00,\
00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\ADV_DEVICE\0000\Control]
 
R

Richard

KM, is it important that I add all the MS/Uninstall entries? I would think
I could skid those right?
 
K

KM

Richard,

To operate on the Enum reg.branch you have to have enough priviledges. Onlye LocalSystem account has the permission.

So you can fix this by one of the following ways:
- pre-populate the reg.entries in TD (this will make sure to get the entries in to pre-FBA system reg.hive)
- install them during FBA (FBA runs under LocalSystem account). E.g., using reg.exe or regedit.exe /s.
- at run time (this is what you have unsuccessfully tried already) you will have to launch regedit (or reg.exe) under
LocalSystem account. You can do that if you use "at /interactive" command.

--
Regards,
KM
Well, I guess I'm not a Windows GURU. I used Inctr5 to capture all the registry changes. I exported all the keys that I needed
for that device.

Now, if I do a "Reg Import myregfile.Reg" it says it's sucessful but the entries are not in there.
If I do a "regedit myregfile.reg" it asks if I'm sure I want to merge it, I say yes, then it fails "Can not access registry
database"

So, if I go into regedit, and import them, they fail - "Error accessing registry database"

Here are the reg entries, are certain nodes locked at runtime?

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\ADV_DEVICE]

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\ADV_DEVICE\0000]
"ClassGUID"="{D8B70F0B-98AE-405A-885A-BD99226EFC0C}"
"Class"="ADV_Device"
"HardwareID"=hex(7):41,00,64,00,76,00,5f,00,43,00,6f,00,72,00,65,00,00,00,00,\
00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\ADV_DEVICE\0000\Control]
 
K

KM

Richard,

Those entries are usually required only if you want to use "Remove Applications" feature of XP(e) at run time.
Very rare cases when the entries may be required for something else.

If you don't need the Uninstall feature I think you can safely skip the entries.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top