Hello,
I need to install a different version of a file depending on the OS. The
installed file needs to have the same name.
Here's my code that works if the <File Name= are unique.
<Component Id="File2000.ext"
Guid="{5418CC53-8981-4156-A3F9-33701487762A}">
<File Id="File2000.ext" Name="File.ext" Source="files\File2000.ext"
KeyPath="yes" />
</Component>
<Component Id="FileXP.ext" Guid="{060A222E-41F6-4541-AF03-A7EF909EF934}">
<File Id="FileXP.ext" Name="File.ext" Source="files\FileXP.ext"
KeyPath="yes" />
</Component>
<Component Id="FileVista.ext"
Guid="{9B7DC90F-6D82-499B-8346-20B916745777}">
<File Id="FileVista.ext" Name="File.ext" Source="files\FileVista.ext"
KeyPath="yes" />
</Component>
<Feature Id="File2000.ext" Level="1">
<Condition Level="0"> VersionNT=500 </Condition>
<ComponentRef Id="File2000.ext"/>
</Feature>
<Feature Id="FileXP.ext" Level="1">
<Condition Level="0"> VersionNT=501 </Condition>
<ComponentRef Id="FileXP.ext"/>
</Feature>
<Feature Id="FileVista.ext" Level="1">
<Condition Level="0"> VersionNT=600 </Condition>
<ComponentRef Id="FileVista.ext"/>
</Feature>
Thanks,
Mike
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users