Pavel
Tue May 06 17:32:40 CDT 2008
ah. sorry I haven't noticed it is a filesystem filter :( So it's a #&$^! UAC
issue.
--PA
"Chris" <Chris@discussions.microsoft.com> wrote in message
news:79CF0033-F965-4219-A5DF-58C2A4C4ABA1@microsoft.com...
> Pavel, thanks for your response...
>
> Again, this is a filter driver. The documentation instructs the sue of the
> SetupAPI's InstallInfSection to install filter drivers:
>
>
http://msdn.microsoft.com/en-us/library/ms790731.aspx
>
> Again, this works fine in XP and in Vista if it's run as as the computer
> administrator - a standard administrator user causes it to fail since they
> can't write to the drivers directory.
>
>
> Thanks,
> Chris
>
> "Pavel A." wrote:
>
>> InstallHinfSection never was a supported way to install drivers.
>> Whoever created that XP setup with it, ignored many warnings that
>> this could stop working in future, and now this future arrived.
>> You can't get away with it in Vista.
>> Please read on microsoft.com/whdc and in the WDK docum
>> what are the supported vehicles to install drivers.
>>
>> Good luck,
>> --PA
>>
>>
>> "Chris" <Chris@discussions.microsoft.com> wrote in message
>> news:A42F8F8C-A592-4D8D-AE89-074E3AD9DAB2@microsoft.com...
>> > Iâ?Tm using InstallHinfSection to install my filter driver. This works
>> > well
>> > on
>> > XP. On Vista 32 it fails with a â?oCopy Errorâ?? when I use an
>> > Administrator
>> > account. InstallHinfSection obviously requires â?ocomputer
>> > administratorâ??
>> > access to copy the driver to the drivers directory. My MSI setup checks
>> > for
>> > Administrator access and it passes since Iâ?Tm an administer, however
>> > InstallHinfSection eventually fails because it doesnâ?Tt have the
>> > access it
>> > requires.
>> >
>> > How can I get InstallHinfSection to be successful using a standard
>> > Administrator account or how can I get the Setup to determine the user
>> > has
>> > insufficient previledges even when theyâ?Tre an Administrator?
>> >
>> > Thanks!
>> > Chris Harper
>>
>>