DIFx Install 64, 32 bit XP Vista

Got a problem you cannot solve? Try here.
krippz
Posts: 6
Joined: Thu Jun 03, 2010 12:01 am

DIFx Install 64, 32 bit XP Vista

Postby krippz » Fri Jun 04, 2010 8:01 am

Hi I have constructed the following setup:

A driver package containing a inf, sys and cat file
    - The cat file is digitally signed, and when it was created by inf2cat the /os flag was set to Windows7
    - The sys file is digitally signed
(I have all other os flavors as well and I know that using the incorrect one will result in install failure, more on that later)

Setup with the following content
    $TargetDir$\x64\drv.inf
    $TargetDir$\x64\drv.sys
    $TargetDir$\x64\drv_ntamd64.cat /os Windows7
    $TargetDir$\x86\drv.inf
    $TargetDir$\x86\drv.sys
    $TargetDir$\x86\drv_ntx86.cat /os Windows7

Using the DIFx framework with the following params for both driver flavors(x86 x64) NOT using the ia64 at all:
- Delete binary driver files when uninstalling
- Do not create ADD Remove Programs entry for driver
- Force installation even if the driver is not better match then exiosting driver


Now to my problem:
Installation on Windows 2008 R2 64-bit == OK
Installation on Windows 7 64-bit == OK

Installation on Windows Vista 64-bit ==FAIL
Installation on Windows XP 64-bit ==FAIL

Installation on Windows 7 32-bit== OK
Installation on Windows Vista 32-bit == OK
Installation on Windows XP 32-bit == OK

So Im using the cat file for Win7 for all plattforms and it seems to work on the x86 32-bit ones anyway
Some thing goes wrong on the x64 Vista and XP machines.

I'm currently building my package on a Windows 2008 R2 machine.

Thank you in advance!

Cheers
/Kristofer

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: DIFx Install 64, 32 bit XP Vista

Postby MichaelNesmith » Fri Jun 04, 2010 3:23 pm

I would run the DIFx tool interactively and non-silently on the failing OS's to see if I can sniff more information about the issue.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

krippz
Posts: 6
Joined: Thu Jun 03, 2010 12:01 am

Re: DIFx Install 64, 32 bit XP Vista

Postby krippz » Mon Jun 07, 2010 12:31 am

Hmm this is strange, I copied the DPInst, 2.1.0.0 and ran it interactively, on both os:es and it will install the driver.


Cheers
Kristofer

krippz
Posts: 6
Joined: Thu Jun 03, 2010 12:01 am

Re: DIFx Install 64, 32 bit XP Vista

Postby krippz » Mon Jun 07, 2010 5:24 am

When I run the IA installer the c:\windows\inf\setupapi.app file is not modified, no entry at all not even that the install fails.
but when I run the DPInst.exe the driver installs as expected.

Again this is only true for Vista x64 and XP x64.

Cheers
Kristofer

krippz
Posts: 6
Joined: Thu Jun 03, 2010 12:01 am

Re: DIFx Install 64, 32 bit XP Vista

Postby krippz » Tue Jun 08, 2010 5:05 am

Ok now I tired of trying to make my project work and started from scratch and guess what all is well and everything works as it should. This is weird and I suspect that Windows Installer Database is to blame.

Cheers
Kristofer


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 54 guests