The problem was having two driver packages installed in the same 
directory.  The solution was to move component #1 to it's own directory 
during installation and everything seems to be much happier. 



From:   shane_cor...@selinc.com
To:     wix-users@lists.sourceforge.net
Date:   11/12/2009 09:52 AM
Subject:        [WiX-users] sequential driver installation question



I have a PCI device that is a multiport serial adapter.  The installation 
procedure is to use an INF that uses mf.sys to enumerate X number of 
serial ports.  Once they have been enumerated I can install my driver 
package for each serial port.

Using WiX to create an installer for this scenario, I have two components. 

 I use sequence numbers to specify the installation order.  When I run the 

installer it enumerates the serial ports and thinks it's finished.  I'm 
suspicious that the installer finishes before the ports have enumerated so 

my second component never executes.  Is there a way to force the second 
component to wait for the first to completely finish installation?
Component #1:
<!-- 16 port serial enumerations -->
                            <Component Id="serial_16" 
Guid="MYGUID-65D2109E5D2C">
                                <File Id="serialAdapter16_inf_xp" 
Source="..\serialAdapter16.inf" Name="serialAdapter16.inf" Vital="yes" 
KeyPath="yes" DiskId="1" />
                                <difx:Driver Sequence="1" 
AddRemovePrograms="no" Legacy="yes" PlugAndPlayPrompt="no" 
ForceInstall="yes"/>
                            </Component>

Component #2:
<!-- Windows XP driver -->
                            <Component Id="serial_16550_xp" 
Guid="MYGUID-0295892247D7">
 <Condition><![CDATA[VersionNT=501]]></Condition>
                                <File Id="serial_16550_sys_xp" 
Source="..\serial_16550.sys" Name="serial_16550.sys" Vital="yes" 
KeyPath="yes" DiskId="1" />
                                <File Id="serial_16550x86_cat_xp" 
Source="..\serial_16550x86.cat" Name="serial_16550x86.cat" Vital="yes" 
KeyPath="no" DiskId="1" />
                                <File Id="serial_16550_inf_xp" 
Source="..\serial_16550.inf" Name="serial_16550.inf" Vital="yes" 
KeyPath="no" DiskId="1" />
                                <File Id="WdfCoInstaller01009_dll_xp" 
Source="..\WdfCoInstaller01009.dll" Name="WdfCoInstaller01009.dll" 
Vital="yes" KeyPath="no" DiskId="1" />
                                <difx:Driver Sequence="2" 
AddRemovePrograms="no" Legacy="yes" PlugAndPlayPrompt="no" 
ForceInstall="yes"/>
                            </Component>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
30-Day 
trial. Simplify your report design, integration and deployment - and focus 
on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to