SetupCopyOEMInf can't copy file to inf folder
  Home FAQ Contact Sign in
microsoft.public.development.device.drivers only
 
Advanced search
POPULAR GROUPS

more...

microsoft ... device.drivers Profile…
 Up
SetupCopyOEMInf can't copy file to inf folder         


Author: bluestar
Date: Feb 18, 2008 23:42

Dear Sirs:

I have a SetupEx.dll file that call SetupCopyOEMInf() to copy
inf file and i would use this dll in
InstallScript of Installshield 2008.

In the Vista 32-bit
When i turn UAC off, it copied inf file to \Windows\Inf folder
and succeed to install driver.
But when i turn UAC on, SetupCopyOEMInf return FALSE and not
copy inf to desired folder and
fail to install driver.

I try to add manifest which has "requestedPrivileges" into
dll, but it would affect to install driver
when installshield runs. ( manifest is below )

Could anyone tell me how to succeed to copy and delete inf
file???

Thanks for your kindly help.
Show full article (1.46Kb)
1 Comment
Re: SetupCopyOEMInf can't copy file to inf folder         


Author: bluestar
Date: Feb 19, 2008 02:10

I try to copy cat file with a digital signature of Vista 32 and Vista
64 to \Windows\Inf folder at first,
and then call SetupCopyOEMInf() to succeed to copy.
But they encountered the warning message:"Windows can't verify the
publisher of this driver software"
when finishing installing driver whether UAC on or off.

How to deal with these conditions?

Alan

On 2月19日, 下午3時42分, bluestar gmail.com> wrote:
> Dear Sirs:
>
> I have a SetupEx.dll file that call SetupCopyOEMInf() to copy
> inf file and i would use this dll in
> InstallScript...
Show full article (1.96Kb)
no comments