If you build the project within votive then add the different wixlibs
for x86 and x64 in Project Properties -> Tool Settings -> Additional
parameters -> Linker

Adding them directly as reference in the Setup Project not possible as
there are needed different ones for x86 and x64.



2011/7/19 Tobias S <tobias.s1...@gmail.com>:
> Not possible as you need OS type dependent DIFx libraries in the
> resulting installer. You can simplify that by include different
> fragments for x86 and x64 DIFx drivers like e.g. the following sample
> feature:
>
>
> Driver_x64.wxs
> ---
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
>  xmlns:difx="http://schemas.microsoft.com/wix/DifxAppExtension";>
>  <Fragment>
>    <DirectoryRef Id="INSTALLDIR">
>      <Directory Id="DriverDir.x64" Name="Driver">
>        <Component Id="MyDriver_x64" Guid="{GENERATE-A-NEW-GUID-HERE}">
>          <difx:Driver AddRemovePrograms="no" DeleteFiles="yes"
> PlugAndPlayPrompt="no" ForceInstall="no" Legacy="no"/>
>          <Files for drivers go here.../>
>        </Component>
>      </Directory>
>    </DirectoryRef>
>    <Feature Id="Drivers_x64" Title="Drivers_x64" Level="1"
> Display="hidden" AllowAdvertise="no">
>      <ComponentRef Id="MyDriver_x64" />
>    </Feature>
>  </Fragment>
> </Wix>
> ---
>
>
> Driver_x86.wxs
> ---
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
>  xmlns:difx="http://schemas.microsoft.com/wix/DifxAppExtension";>
>  <Fragment>
>    <DirectoryRef Id="INSTALLDIR">
>      <Directory Id="DriverDir.x86" Name="Driver">
>        <Component Id="MyDriver_x86" Guid="{GENERATE-A-NEW-GUID-HERE}">
>          <difx:Driver AddRemovePrograms="no" DeleteFiles="yes"
> PlugAndPlayPrompt="no" ForceInstall="no" Legacy="no"/>
>          <Files for drivers go here.../>
>        </Component>
>      </Directory>
>    </DirectoryRef>
>    <Feature Id="Drivers_x86" Title="Drivers_x86" Level="1"
> Display="hidden" AllowAdvertise="no">
>      <ComponentRef Id="MyDriver_x86" />
>    </Feature>
>  </Fragment>
> ---
>
>
> Referencing in wxs which is the built twice as x86 and x64 MSI:
> ---
> <?if $(var.Platform=x64 ?>
>   <FeatureRef Id="Drivers_x64"/>
> <?else ?>
>   <FeatureRef Id="Drivers_x86"/>
> <?endif ?>
> ---
>
>
>
> 2011/7/19 Ravi Gupta <ravigupta...@gmail.com>:
>> Has anyone implemented wix setup for both Win7-32,64 bit operating system
>> with different drivers(using difx) for both OS.
>> If any one implemented please share the knowledge.
>>
>> --
>> *Regards
>> T.Ravi Gupta*
>> ------------------------------------------------------------------------------
>> Magic Quadrant for Content-Aware Data Loss Prevention
>> Research study explores the data loss prevention market. Includes in-depth
>> analysis on the changes within the DLP market, and the criteria used to
>> evaluate the strengths and weaknesses of these DLP solutions.
>> http://www.accelacomm.com/jaw/sfnl/114/51385063/
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to