Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Cannot install catalog file with SetupCopyOemInf() on 64bit OS

Reply
Thread Tools Display Modes

Cannot install catalog file with SetupCopyOemInf() on 64bit OS

 
 
SEAN.N
Guest
Posts: n/a

 
      11-02-2009
I'm trying to install Android phone's driver on 64bit machines (Vista &
Windows7), calling SetupCopyOemInf() from my setup.exe. (To be more specific,
my setup.exe is calling something like InstallUSBDriver.exe after all of the
files are installed.
And this InstallUSBDriver.exe (VC++ App) is calling SetupCopyOemInf() in it.)
On 32bit machines, everything works fine, but somehow on 64bit machines, the
catalog file is not copied by setupcopyoeminf properly.

Comparing the setupapi.dev.log of 32bit and 64bit, 64bit one is missing the
following line.

inf: Installing Catalog C:\Program Files\***\USB Drivers\androidusb*.cat
as: oem*.CAT


If I go to the "Found New Hardware" wizard and point out the correct path to
the driver files, it works completely fine.

To test this function, I tried another driver on the 64bit machine, but it
worked totaly fine...
The difference between these two drivers is only Android driver contains
co-installer, WdfCoInstaller01005.dll, so I'm kind of guessing
setupcopyoeminf isn't handling co-installer if OS is 64bit or somethiong...
However, on 32bit machines everything works fine...

Does anyone have this kind of issue?

I don't know whether this is a right place to ask this question, but when I
posted this question to MSDN forum, one of the guy suggested me to post this
over here...
Any help would be appreciated.

Thanks in advance.
 
Reply With Quote
 
 
 
 
Mike [MSFT]
Guest
Posts: n/a

 
      11-04-2009
Are all your binaries (setup.exe, InstallUSBDriver.exe, co-installer DLL,
etc...) built for the architecture (x86 or x64) you are installing on?

-Mike

"SEAN.N" <> wrote in message
news:4A9E42DA-8D0D-4AF9-9233-...
> I'm trying to install Android phone's driver on 64bit machines (Vista &
> Windows7), calling SetupCopyOemInf() from my setup.exe. (To be more
> specific,
> my setup.exe is calling something like InstallUSBDriver.exe after all of
> the
> files are installed.
> And this InstallUSBDriver.exe (VC++ App) is calling SetupCopyOemInf() in
> it.)
> On 32bit machines, everything works fine, but somehow on 64bit machines,
> the
> catalog file is not copied by setupcopyoeminf properly.
>
> Comparing the setupapi.dev.log of 32bit and 64bit, 64bit one is missing
> the
> following line.
>
> inf: Installing Catalog C:\Program Files\***\USB Drivers\androidusb*.cat
> as: oem*.CAT
>
>
> If I go to the "Found New Hardware" wizard and point out the correct path
> to
> the driver files, it works completely fine.
>
> To test this function, I tried another driver on the 64bit machine, but it
> worked totaly fine...
> The difference between these two drivers is only Android driver contains
> co-installer, WdfCoInstaller01005.dll, so I'm kind of guessing
> setupcopyoeminf isn't handling co-installer if OS is 64bit or
> somethiong...
> However, on 32bit machines everything works fine...
>
> Does anyone have this kind of issue?
>
> I don't know whether this is a right place to ask this question, but when
> I
> posted this question to MSDN forum, one of the guy suggested me to post
> this
> over here...
> Any help would be appreciated.
>
> Thanks in advance.


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Image WIM, cannot create Catalog file in BDD Claude Windows Vista Installation 1 06-09-2007 02:43 AM
mmc.exe error, cannot run. olouvignes Windows Vista Installation 4 04-18-2007 03:40 PM
Some things you need to know BEFORE and DURING Vista install Adam Albright Windows Vista Installation 3 02-06-2007 04:08 PM
RE: You CAN do a Clean Install with the Upgrade Version - NO XP instal Zoie Windows Vista Installation 2 02-02-2007 12:59 AM
64bit install: unable to locate local hard drive when starting cop Manfire Windows Vista Installation 1 06-13-2006 09:16 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59