Thanks, Phill. I attempted to go down the DifxAppExtension the first time.
When compiling it with WixEdit, I receive "Namespace prefix 'difxapp' is not
defined". 

The output from SetupAPI.dev.log is below the following Wix script section.
I could not find where the error occurred.



----- Wix Script with DifxAppExtension -------------

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
xmlns:difx="http://schemas.microsoft.com/wix/DifxAppExtension";>
    <Product Id="C7D88685-E2CE-41C1-B15D-E4EC64FA3564" Name="Hipara"
Language="1033" Version="0.0.0.1" Manufacturer="Allsum, LLC"
UpgradeCode="502D54B1-F5F7-4256-9C38-E111A423EA06">
        <Package Description="Test file in a Product" Comments="Simple test"
InstallerVersion="200" Compressed="yes" />
        <Media Id="1" Cabinet="simple.cab" EmbedCab="yes" />
        <Directory Id="TARGETDIR" Name="SourceDir">
            <Directory Id="ProgramFilesFolder">
                <Directory Id="InstallDir" Name="Hipara">
                    <Component Id="DPInst"
Guid="DCAC9BB2-2422-40C7-94A7-8957D6FD2E61">
                        <File Id="DPInstaller" Name="DPInst.exe"
Source=".\Files\DPInst.exe" />
                    </Component>
                    <Component Id="HIPARA.EXE" DiskId="1"
Guid="AB389937-378A-4D4F-90F2-5E26312E944C">
                        <File Id="HIPARA.EXE" Name="hipara.exe"
Source=".\Files\hipara.exe" />
                        
                    </Component>
                    <Component Id="JANSSON32.DLL" DiskId="1"
Guid="1FFCCF56-6C6F-4A09-8A13-99638BD5CC04">
                        <File Id="JANSSON32.DLL" Name="jansson32.dll"
Source=".\Files\jansson32.dll" />
                    </Component>
                    <Component Id="LIBCURL.DLL" DiskId="1"
Guid="A5923935-0226-4B74-A66C-200E4CC5E8E8">
                        <File Id="LIBCURL.DLL" Name="libcurl.dll"
Source=".\Files\libcurl.dll" />
                    </Component>
                    <Component Id="Signed_driver" DiskId="1"
Guid="C20F1081-5B58-488B-A7C0-8395F752BA9F">
                        <File Id="SCANNER.INF" Name="scanner.inf" DiskId="1"
Source=".\Files\scanner.inf" />
                        <File Id="SCANNER.SYS" Name="scanner.sys" DiskId="1"
Source=".\Files\scanner.sys" />
                        <difx:Driver Legacy="yes" />
                    </Component>
                </Directory>
            </Directory>
            <Directory Id="DesktopFolder" />
            <Directory Id="ProgramMenuFolder">
                <Directory Id="ProgramMenuDir">
                    <Component Id="StartMenuShortcuts"
Guid="ECBB0886-9BE4-4C5B-8380-300352C12047">
                        <RemoveFolder Id="ProgramMenuDir" On="uninstall" />
                        <RegistryValue Root="HKCU"
Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" />
                    </Component>
                </Directory>
            </Directory>
        </Directory>
        <Feature Id="MainApplication" Title="Main Feature" Level="1">
            <ComponentRef Id="DPInst" />
            <ComponentRef Id="HIPARA.EXE" />
            <ComponentRef Id="JANSSON32.DLL" />
            <ComponentRef Id="LIBCURL.DLL" />
            <ComponentRef Id="Signed_driver" />
            <ComponentRef Id="StartMenuShortcuts" />
        </Feature>
        
        <UIRef Id="WixUI_Minimal" />
        
        <UI />
    </Product>
</Wix>





--- SetupAPI from Wix script without DifxAppExtension ---------


[Device Install Log]
     OS Version = 6.1.7601
     Service Pack = 1.0
     Suite = 0x0100
     ProductType = 1
     Architecture = x86

[BeginLog]

[Boot Session: 2015/06/01 15:13:54.500]

>>>  [Device Install (Hardware initiated) -
>>> STORAGE\VolumeSnapshot\HarddiskVolumeSnapshot17]
>>>  Section start 2015/06/03 14:04:02.154
     ump: Creating Install Process: DrvInst.exe 14:04:02.154
     ndv: Retrieving device info...
     ndv: Setting device parameters...
     ndv: Searching Driver Store and Device Path...
     dvi: {Build Driver List} 14:04:02.164
     dvi:      Searching for hardware ID(s):
     dvi:           storage\volumesnapshot
     cpy:      Policy is set to make all digital signatures equal.
     dvi:      Enumerating INFs from path list 'C:\Windows\inf'
     inf:      Opened PNF:
'C:\Windows\System32\DriverStore\FileRepository\volsnap.inf_x86_neutral_42f862e05fcb0306\volsnap.inf'
([strings.0409])
     dvi:      Created Driver Node:
     dvi:           HardwareID   - STORAGE\VolumeSnapshot
     dvi:           InfName      -
C:\Windows\System32\DriverStore\FileRepository\volsnap.inf_x86_neutral_42f862e05fcb0306\volsnap.inf
     dvi:           DevDesc      - Generic volume shadow copy
     dvi:           DrvDesc      - Generic volume shadow copy
     dvi:           Provider     - Microsoft
     dvi:           Mfg          - Microsoft
     dvi:           ModelsSec    - MSFT.NTx86
     dvi:           InstallSec   - volume_snapshot_install
     dvi:           ActualSec    - volume_snapshot_install.NTx86
     dvi:           Rank         - 0x00ff0000
     dvi:           Signer       - Microsoft Windows
     dvi:           Signer Score - INBOX
     dvi:           DrvDate      - 06/21/2006
     dvi:           Version      - 6.1.7600.16385
     inf:      Searched 1 potential matches in published INF directory
     inf:      Searched 35 INFs in directory: 'C:\Windows\inf'
     dvi: {Build Driver List - exit(0x00000000)} 14:04:02.264
     ndv: Selecting best match from Driver Store (including Device Path)...
     dvi: {DIF_SELECTBESTCOMPATDRV} 14:04:02.264
     dvi:      No class installer for 'Storage volume shadow copies'
     dvi:      No CoInstallers found
     dvi:      Default installer: Enter 14:04:02.264
     dvi:           {Select Best Driver}
     dvi:                Selected driver installs from section
[volume_snapshot_install] in
'c:\windows\system32\driverstore\filerepository\volsnap.inf_x86_neutral_42f862e05fcb0306\volsnap.inf'.
     dvi:                Class GUID of device changed to:
{533c5b84-ec70-11d2-9505-00c04f79deaf}.
     dvi:                Set selected driver complete.
     dvi:                Selected:
     dvi:                     Description - [Generic volume shadow copy]
     dvi:                     InfFile     -
[c:\windows\system32\driverstore\filerepository\volsnap.inf_x86_neutral_42f862e05fcb0306\volsnap.inf]
     dvi:                     Section     - [volume_snapshot_install]
     dvi:                     Signer      - [Microsoft Windows]
     dvi:                     Rank        - [0x00ff0000]
     dvi:           {Select Best Driver - exit(0x00000000)}
     dvi:      Default installer: Exit
     dvi: {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 14:04:02.264
     inf: {SetupCopyOEMInf: C:\Windows\INF\volsnap.inf} 14:04:02.264
     inf:      Driver Store location:
C:\Windows\System32\DriverStore\FileRepository\volsnap.inf_x86_neutral_42f862e05fcb0306\volsnap.inf
     inf:      Published Inf Path: C:\Windows\INF\volsnap.inf
     inf: {SetupCopyOEMInf exit (0x00000050)} 14:04:02.274
     dvi: Searching for hardware ID(s):
     dvi:      storage\volumesnapshot
     inf: Opened PNF:
'C:\Windows\System32\DriverStore\FileRepository\volsnap.inf_x86_neutral_42f862e05fcb0306\volsnap.inf'
([strings.0409])
     dvi: Selected driver installs from section [volume_snapshot_install] in
'c:\windows\system32\driverstore\filerepository\volsnap.inf_x86_neutral_42f862e05fcb0306\volsnap.inf'.
     dvi: Class GUID of device changed to:
{533c5b84-ec70-11d2-9505-00c04f79deaf}.
     dvi: Set selected driver complete.
     ndv: Driver selected, now performing install...
     ndv: {Core Device Install} 14:04:02.274
     inf:      Opened PNF: 'C:\Windows\INF\volsnap.inf' ([strings.0409])
     inf:      Opened PNF: 'C:\Windows\INF\volsnap.inf' ([strings.0409])
     sig:      {_VERIFY_FILE_SIGNATURE} 14:04:02.284
     sig:           Key      = volsnap.inf
     sig:           FilePath = C:\Windows\INF\volsnap.inf
     sig:           Success: A valid signature was found in an installed
catalog
     sig:           Cat:
'C:\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Common-Drivers-Package~31bf3856ad364e35~x86~~6.1.7601.17514.cat'
     sig:      {_VERIFY_FILE_SIGNATURE exit(0x00000000)} 14:04:02.304
     inf:      Opened PNF: 'C:\Windows\INF\volsnap.inf' ([strings.0409])
     dvi:      {DIF_ALLOW_INSTALL} 14:04:02.304
     dvi:           No class installer for 'Generic volume shadow copy'
     dvi:           No CoInstallers found
     dvi:           Default installer: Enter 14:04:02.304
     dvi:           Default installer: Exit
     dvi:      {DIF_ALLOW_INSTALL - exit(0xe000020e)} 14:04:02.304
     ndv:      Installing files...
     dvi:      {DIF_INSTALLDEVICEFILES} 14:04:02.304
     dvi:           No class installer for 'Generic volume shadow copy'
     dvi:           Default installer: Enter 14:04:02.304
     dvi:                {Install FILES}
     inf:                     Opened PNF:
'c:\windows\system32\driverstore\filerepository\volsnap.inf_x86_neutral_42f862e05fcb0306\volsnap.inf'
([strings.0409])
     inf:                     {Install Inf Section
[volume_snapshot_install.NTx86]}
     inf:                     {Install Inf Section
[volume_snapshot_install.NTx86] exit (0x00000000)}
     dvi:                     Processing co-installer registration section
[volume_snapshot_install.NTx86.CoInstallers].
     inf:                     {Install Inf Section
[volume_snapshot_install.NTx86.CoInstallers]}
     inf:                     {Install Inf Section
[volume_snapshot_install.NTx86.CoInstallers] exit (0x00000000)}
     dvi:                     Co-installers registered.
     dvi:                     {Install INTERFACES}
     dvi:                          Installing section
[volume_snapshot_install.NTx86.Interfaces]
     dvi:                     {Install INTERFACES exit 00000000}
     dvi:                {Install FILES exit (0x00000000)}
     dvi:           Default installer: Exit
     dvi:      {DIF_INSTALLDEVICEFILES - exit(0x00000000)} 14:04:02.314
     ndv:      Pruning file queue...
     dvi:      {_SCAN_FILE_QUEUE}
     flq:           ScanQ flags=620
     flq:                SPQ_SCAN_PRUNE_COPY_QUEUE
     flq:                SPQ_SCAN_FILE_COMPARISON
     flq:                SPQ_SCAN_ACTIVATE_DRP
     flq:           ScanQ number of copy nodes=0
     flq:           ScanQ action=200 DoPruning=32
     flq:           ScanQ end Validity flags=620 CopyNodes=0
     dvi:      {_SCAN_FILE_QUEUE exit(0, 0x00000000)}
     ndv:      Committing file queue...
     flq:      {_commit_file_queue}
     flq:           CommitQ DelNodes=0 RenNodes=0 CopyNodes=0
     flq:           CommitQ early exit: No nodes are queued
     flq:      {_commit_file_queue exit OK}
     ndv:      Registering CoInstallers...
     dvi:      {DIF_REGISTER_COINSTALLERS} 14:04:02.314
     dvi:           No class installer for 'Generic volume shadow copy'
     dvi:           Default installer: Enter 14:04:02.314
     inf:                Opened PNF:
'c:\windows\system32\driverstore\filerepository\volsnap.inf_x86_neutral_42f862e05fcb0306\volsnap.inf'
([strings.0409])
     inf:                {Install Inf Section
[volume_snapshot_install.NTx86.CoInstallers]}
     inf:                {Install Inf Section
[volume_snapshot_install.NTx86.CoInstallers] exit (0x00000000)}
     dvi:                Co-installers registered.
     dvi:           Default installer: Exit
     dvi:      {DIF_REGISTER_COINSTALLERS - exit(0x00000000)} 14:04:02.324
     ndv:      Installing interfaces...
     dvi:      {DIF_INSTALLINTERFACES} 14:04:02.324
     dvi:           No class installer for 'Generic volume shadow copy'
     dvi:           No CoInstallers found
     dvi:           Default installer: Enter 14:04:02.324
     dvi:                {Install INTERFACES}
     inf:                     Opened PNF:
'c:\windows\system32\driverstore\filerepository\volsnap.inf_x86_neutral_42f862e05fcb0306\volsnap.inf'
([strings.0409])
     dvi:                     Installing section
[volume_snapshot_install.NTx86.Interfaces]
     dvi:                {Install INTERFACES exit 00000000}
     dvi:           Default installer: Exit
     dvi:      {DIF_INSTALLINTERFACES - exit(0x00000000)} 14:04:02.324
     ndv:      Installing device...
     dvi:      {DIF_INSTALLDEVICE} 14:04:02.324
     dvi:           No class installer for 'Generic volume shadow copy'
     dvi:           Default installer: Enter 14:04:02.324
     dvi:                {Install DEVICE}
     inf:                     Opened PNF:
'c:\windows\system32\driverstore\filerepository\volsnap.inf_x86_neutral_42f862e05fcb0306\volsnap.inf'
([strings.0409])
     dvi:                     Processing Registry/Property directives...
     inf:                     {Install Inf Section
[volume_snapshot_install.NTx86]}
     inf:                     {Install Inf Section
[volume_snapshot_install.NTx86] exit (0x00000000)}
     inf:                     {Install Inf Section
[volume_snapshot_install.NTx86.Hw]}
     inf:                          Empty section
     inf:                     {Install Inf Section
[volume_snapshot_install.NTx86.Hw] exit (0x00000000)}
     dvi:                     {Writing Device Properties}
     dvi:                          Provider name=Microsoft
     dvi:                          DriverDate 06/21/2006
     dvi:                          DriverVersion=6.1.7600.16385
     dvi:                          Class name=VolumeSnapshot
     dvi:                          Manufacturer=Microsoft
     dvi:                          Matching DeviceID=storage\volumesnapshot
     dvi:                          Strong
Name=volsnap.inf:MSFT.NTx86:volume_snapshot_install:6.1.7600.16385:storage\volumesnapshot
     dvi:                     {Writing Device Properties - Complete}
     inf:                     {Install Inf Section
[volume_snapshot_install.NTx86.Services]}
     inf:                          AddService=,2,  (volsnap.inf line 31)
!    dvi:                          Add Service: NULL Controlling service.
     inf:                     {Install Inf Section
[volume_snapshot_install.NTx86.Services] exit(0x00000000)}
     dvi:                     Updated reflected section names for:
volsnap.inf
     dvi:                {Install DEVICE exit (0x00000000)}
     dvi:                Writing common driver property settings.
     dvi:                     DriverDescription=Generic volume shadow copy
     dvi:                     DeviceDisplayName=Generic volume shadow copy
     dvi:                Install Device: Removing device sub-tree.
14:04:02.344
     dvi:                Install Device: Removing device sub-tree completed.
14:04:02.414
     dvi:                Install Device: Restarting device. 14:04:02.414
     dvi:                Install Device: Restarting device completed.
14:04:02.464
     dvi:           Default installer: Exit
     dvi:      {DIF_INSTALLDEVICE - exit(0x00000000)} 14:04:02.464
     dvi:      {DIF_NEWDEVICEWIZARD_FINISHINSTALL} 14:04:02.464
     dvi:           No class installer for 'Generic volume shadow copy'
     dvi:           Default installer: Enter 14:04:02.464
     dvi:           Default installer: Exit
     dvi:      {DIF_NEWDEVICEWIZARD_FINISHINSTALL - exit(0xe000020e)}
14:04:02.464
     ndv:      Device install status=0x00000000
     ndv:      Performing device install final cleanup...
     ndv: {Core Device Install - exit(0x00000000)} 14:04:02.464
     ump: Server install process exited with code 0x00000000 14:04:02.474
<<<  Section end 2015/06/03 14:04:02.474
<<<  [Exit status: SUCCESS]





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Driver-Install-with-Wix-tp7600508p7600523.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to