If it's only one PC and it works fine on other computers of similar 
configuration (same version of Windows, etc.) then maybe also check some 
registry entries:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DIFxApp
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DIFx
HKCU\Software\Microsoft\Windows\CurrentVersion\DIFxApp

If it's a DIFX problem then it might be helpful to uninstall your software and 
then clean those areas up to remove traces of the drivers, in case there was 
some problems with corruption in DIFx.

Also maybe check into Windows settings and group policy that might be 
preventing the driver from being installed (especially since it's unsigned).

I would also recommend inspecting the SetupAPI log file.  Delete any existing 
log file, configure the system for the desired level of logging, and then run 
the installer again.  The SetupAPI log can give far more detail than DIFx as to 
why a driver install has failed.  Often the MSI log will have a message from 
DIFx saying in effect, "the driver install failed" with not much detail.  
SetupAPI log may be more helpful.

Info on setup API logs:
Vista/7: http://msdn.microsoft.com/en-us/library/ff550887(VS.85).aspx
Windows XP & probably 2000:
http://msdn.microsoft.com/en-us/library/ff550882(VS.85).aspx
http://www.microsoft.com/whdc/archive/setupapilog.mspx
http://www.osronline.com/ddkx/install/troubleshoot_9g87.htm

My guess is you will discover some unique configuration setting or some 
corrupted settings/files to that computer that is causing it to fail.  This has 
been my experience so far with DIFx.

-----Original Message-----
From: Jury BURA [mailto:jury.b...@visutechsystem.by] 
Sent: Thursday, February 10, 2011 17:42
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] DIFXAPP: ERROR: Failed to calculate strong name.

INF file doesn't  specify cat-file (only DLL and SYS).

This problem appear for only one PC configuration.
Ok, I'll try install this driver using DPInst and I'll read the topic.

Thanks a lot.

10.02.2011 18:52, James Johnston пишет:
> Someone more familiar with DIFx might be able to shed some more light here.
>
> Your WiX code looks OK to me.  If this problem is reproducible on multiple 
> computers then I would blame the driver package.  You could also try 
> installing the driver using DPInst and see if that works or not.
>
> But I'm suspecting it might have to do with catalogs somehow?  There's no 
> catalog file in your list... does the INF file specify an (apparently 
> missing) catalog file?
>
> Not sure if you've seen this topic, but you might want to review the topics 
> in this section in MSDN for any potential gotchas:
> http://msdn.microsoft.com/en-us/library/ff543645(VS.85).aspx
>
> -----Original Message-----
> From: Jury BURA [mailto:jury.b...@visutechsystem.by]
> Sent: Thursday, February 10, 2011 16:40
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] DIFXAPP: ERROR: Failed to calculate strong name.
>
> Wix code for my driver:
>
> <Component Id="My_Driver" Guid="GUID" DiskId="2">  <File 
> Id="mydrv.sys" Name="mydrv.sys" />  <File Id="mydrv.dll" 
> Name="mydrv.dll" />  <File Id="mydrv.inf" Name="mydrv.inf" />  
> <difx:Driver Legacy="yes" PlugAndPlayPrompt="no"/>  </Component>
>
> Driver isn't WHQL signed.
> And... typical error message for missed cat file is:
> DIFXAPP: ERROR: Failed to calculate strong name from 'file-path'.
> This error message doesn't contain file path.
>
> Thanks!
>
>
> 10.02.2011 17:39, James Johnston пишет:
>> http://www.advancedinstaller.com/forums/viewtopic.php?f=2&t=2820
>>
>> Maybe there are some issues with the driver package itself?  i.e.
>> bad/missing catalog file.  Be sure that the driver files is completely
>> installed&   that all required files are in the appropriate locations.
>>
>> If the driver isn't WHQL signed then you have to set the legacy 
>> attribute on the DIFX driver element; otherwise that could maybe be another 
>> factor?
>>
>> -----Original Message-----
>> From: Jury BURA [mailto:jury.b...@visutechsystem.by]
>> Sent: Wednesday, February 09, 2011 14:24
>> To: wix-users@lists.sourceforge.net
>> Subject: [WiX-users] DIFXAPP: ERROR: Failed to calculate strong name.
>>
>> Hi!
>>
>> I have this error (WiX 3.6.1321):
>>
>> DIFXAPP: ENTER: InstallDriverPackages()
>> DIFXAPP: INFO: 'CustomActionData' property 'DIFxApp Version' is '2.1'.
>> DIFXAPP: INFO: 'CustomActionData' property 'UI Level' is '5'.
>> DIFXAPP: INFO: 'CustomActionData' property 'componentId' is '{GUID}'.
>> DIFXAPP: INFO: 'CustomActionData' property 'componentPath' is 'C:\PATH1\'.
>> DIFXAPP: INFO: 'CustomActionData' property 'flags' is 0xA.
>> DIFXAPP: INFO: 'CustomActionData' property 'installState' is '2'.
>> DIFXAPP: INFO: 'CustomActionData' property 'ProductName' is 
>> '[product_name]'.
>> DIFXAPP: INFO: 'CustomActionData' property 'ManufacturerName' is 
>> '[manufacturer_name]'.
>> DIFXAPP: INFO: user SID of user performing the install is 'SID'.
>> DIFXAPP: INFO: opening
>> HKEY_USERS\SID\Software\Microsoft\Windows\CurrentVersion\DIFxApp\Comp
>> o
>> nents\
>> {GUID}
>> (User's SID: 'SID') ...
>> DIFXAPP: INFO: ENTER: DriverPackageInstallW
>> DIFXAPP: ERROR: Failed to calculate strong name. (Error code 0x52: 
>> The directory or file cannot be created.)
>> DIFXAPP: INFO: Successfully removed '{GUID}' from reference list of 
>> driver store entry ''
>> DIFXAPP: INFO: RETURN: DriverPackageInstallW (0x52)
>> DIFXAPP: ERROR: encountered while installing driver package 
>> 'C:\PATH1\driver.inf'
>> DIFXAPP: ERROR: InstallDriverPackages failed with error 0x52
>> DIFXAPP: RETURN: InstallDriverPackages() 82 (0x52)
>>
>> Any ideas to fix this problem?
>>
>> Thanks!
>>
>> ---------------------------------------------------------------------
>> -
>> ------
>> --
>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
>> Pinpoint memory and threading errors before they happen.
>> Find and fix more than 250 security defects in the development cycle.
>> Locate bottlenecks in serial and parallel code that limit performance.
>> http://p.sf.net/sfu/intel-dev2devfeb
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>> ---------------------------------------------------------------------
>> -
>> -------- The ultimate all-in-one performance toolkit: Intel(R) 
>> Parallel Studio XE:
>> Pinpoint memory and threading errors before they happen.
>> Find and fix more than 250 security defects in the development cycle.
>> Locate bottlenecks in serial and parallel code that limit performance.
>> http://p.sf.net/sfu/intel-dev2devfeb
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ----------------------------------------------------------------------
> -------- The ultimate all-in-one performance toolkit: Intel(R) 
> Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ----------------------------------------------------------------------
> -------- The ultimate all-in-one performance toolkit: Intel(R) 
> Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to