📎 AI Summary:
The thread discusses how to modify an XP-only driver to install on Windows 7 x86. The original poster seeks advice on editing the .inf file to bypass compatibility issues, while the responder explains that the driver’s structure and INF files need specific sections for different OS versions, and modifying these files is complex. Overall, the consensus is that due to significant differences between XP and Windows 7, simply editing the driver files is unlikely to succeed without comprehensive development changes.

Tecnico

Well-Known Member
Joined
Jul 28, 2020
Messages
6
Thread Author #1
Hello,

I happen to have a driver that only installs on XP. I want to be able to install it on Windows 7 x86, but it's not possible, since it doesn't recognize it.

Do you know which part of the .inf I have to modify in order to install it?

PD: I have done a compatibility installation and disabled driver signature, but it doesn't work.

Thank you.
 

Attachments

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
There's nothing specific in there to allow it to install on Windows 7. There may be another INF or INI file with those restrictions. In any event it may not even run in Windows 7. The differences between XP and 7 are significant especially around security and drivers
 

Tecnico

Well-Known Member
Joined
Jul 28, 2020
Messages
6
Thread Author #3
There's nothing specific in there to allow it to install on Windows 7. There may be another INF or INI file with those restrictions. In any event it may not even run in Windows 7. The differences between XP and 7 are significant especially around security and drivers

The only thing included with this driver are .sys and .dlls (attached)

Thanks.
 

Attachments

Tecnico

Well-Known Member
Joined
Jul 28, 2020
Messages
6
Thread Author #5
Ok nevermind, you need to create sections in the INF for either .ntamd64 or .ntx86 (64 bit or 32 bit respectively)

Would you be adding these lines?
An image from 'modify inf files driver'. Code snippet showing Windows driver installation sections for Win2000 and Win7 systems.
 

Last edited by a moderator:

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
That may be all you need, but I'm not a driver developer.
 

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
Again not a driver developer. I think I modified an inf once in 20 years. It's not normally something you want to do since the driver wasn't developed for anything beyond Windows 2000 it's not likely to work on Windows 7
 

Tecnico

Well-Known Member
Joined
Jul 28, 2020
Messages
6
Thread Author #9
I thought that XP and Window 7 would behave well, even if the driver had to be modified.
 

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
You can't modify the driver. The INF files just describe how to install the driver. XP and Windows 7 are completely different operating systems with Windows 7 having a complete re-write of the core components.