Mirror driver Win7 64 bit problem. Selected for the device driver is not supported in

This thread is a clon http://www.osronline.com/showthread.cfm?link=194681.

I’am from Russia, so I sorry for my bad English.
On Win Xp 32 bit my mirror driver very good working, but I can’t install mirror driver to windows 7.

Error:
“Selected for the device driver is not supported in this version of Windows” - this is free translation from Russian.

First - think problem in my inf file, but now I’m not sure…
Inf file:
; mirror.inf
;
; Installation inf for the Mirror graphics adapter.
;
; Copyright (x) 1995-1999 Microsoft Corporation. All rights reserved
;

[Version]
Signature=“$CHICAGO$”
Provider=%Gafarov%
ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
CatalogFile=“mirror.cat”
Class=Display
DriverVer=04/11/2007,6.0.1.0

[DestinationDirs]
DefaultDestDir = 11
mirror.Miniport = 12 ; drivers
mirror.Display = 11 ; system32

;
; Driver information
;

[Manufacturer]
%Gafarov% = Mirror,NTamd64

[Mirror.NTamd64]
%Mirror% = mirror, Microsoft_Mirror_Sample1

;
; General installation section
;

[mirror]
CopyFiles=mirror.Miniport, mirror.Display

;
; File sections
;

[mirror.Miniport]
mirror.sys

[mirror.Display]
mirror.dll

;
; Service Installation
;

[mirror.Services]
AddService = mirror, 0x00000002, mirror_Service_Inst, mirror_EventLog_Inst

[mirror_Service_Inst]

ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 1 ; SERVICE_SYSTEM_START
ErrorControl = 0 ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary = %12%\mirror.sys

[mirror_EventLog_Inst]
AddReg = mirror_EventLog_AddReg

[mirror_EventLog_AddReg]
HKR,EventMessageFile,0x00020000,“%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\mirror.sys”
HKR,TypesSupported,0x00010001,7

;
; Software Installation
;

[mirror.SoftwareSettings]
AddReg = mirror_SoftwareDeviceSettings

[mirror_SoftwareDeviceSettings]
HKR, MirrorDriver, %REG_DWORD%, 1
HKR, InstalledDisplayDrivers, %REG_MULTI_SZ%, mirror
HKR, VgaCompatible, %REG_DWORD%, 0
HKR, Attach.ToDesktop, %REG_DWORD%, 1

[mirror.GeneralConfigData]
MaximumNumberOfDevices = 1
KeepExistingDriverEnabled = 1

;
; Source file information
;
[SourceDisksNames]
1 = %DiskId%,“”

[SourceDisksFiles]
mirror.sys = 1
mirror.dll = 1

[Strings]

;
; Non-Localizable Strings
;

REG_SZ = 0x00000000
REG_MULTI_SZ = 0x00010000
REG_EXPAND_SZ = 0x00020000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
SERVICEROOT = “System\CurrentControlSet\Services”

;
; Localizable Strings
;

DiskId = “Mirror Installation DISK (VIDEO)”
GraphAdap = “Graphics Adapter”
Gafarov = “Microsoft”
Mirror = “Microsoft Mirror Driver”

Please help somebody.

> On Win Xp 32 bit my mirror driver very good working, but I can’t install mirror driver to windows 7.

You need to select a 64bit target environment when compiling if you want to stand a chance of working on Windows 7 64bit. Then you need to remember to cross-embed sign or disable needing embedded signatures (at the boot menu or with windbg).

Regards,
Tim.

Oups, my mistake I did not say.

Of course I compile in Windows 7 Build Environments, x64 Checked Build Environment.
And I disable needing embedded signatures at the boot menu.

So error occurs after all the above.

Many thanks to Tim for having responded.