Hi,all
I want to write a custom installer for a display mirror driver
and the only example for custom installer I've got is the sample from ddk,\ntddk\src\general\setup\install.But I failed to use the example to install my mirror driver.I stepped into the source code and found the line:
SetupDiSetDeviceRegistryProperty(DeviceInfoSet,
&DeviceInfoData,
SPDRP_HARDWAREID,
(LPBYTE)HardwareId,
(lstrlen(HardwareId)+1+1)*sizeof(TCHAR)))
failed with error code ERROR_INVALID_PARAMETER
I guess HardwareId is invalid,how can i fill this with a
correct value?
and suggestion?
Thanks in advance
Ren zhijie
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

How to install mirror display driver in a program?
Started by
cplusplus
, Mar 29 2002 06:51
1 reply to this topic
Posted 05 April 2002 - 17:32
Moving to General/Other Forum since this doesn't seem to be releated to MSI.
Stefan Krüger
InstallSite.org twitter facebook