file queue question using SetupInstallFilesFromInfSection

K

kumashish

I am trying to install printer driver through an utility similar to
Windows Add Printer Wizard's "Have Disk" option.

The install section of my INF file looks something like this:

;--------------------------------------------------------------------------------
; Install Sections
;--------------------------------------------------------------------------------
[my_Install]
Include=NTPRINT.INF
Needs=sRGBPROFILE.OEM

I am using SetupInstallFilesFromInfSection to set up the copy queue.
Same code is able to queue the driver.cab files for 32-bit machines.
but, for 64-bit machine it doesn't add my system cab file i.e.
c:\windows\driver cache\amd64\driver.cab
The result is calling the setupcommitqueue pops up the missing file
dialog for
sRGBPROFILE.OEM.

What is the job of SetupInstallFilesFromInfSection API? what i
understood is that it will parse the INF file passed and create a file
queue for copying ? Isnt this supposed to be done by this API ? what am
i missing here ?

Thanks for any help,
Ashish
 
G

Guest

Check the website of your printer for tech support if it is compatible with the
64bit AMD chip.
 
A

Ashish

May be, I was not able to put my question properly.
I know the driver is for this platform. It works successfully with
addprinter wizard. The problem is I am not able to queue this file for
setup api copyqueue.

Thanks,
Ashish
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top