windows - Condition based file installtion in x64 and x86 machines -
hi how can update installer script condition install following files on x86 , x64 machines.
<component id="comp.comp1" guid="*" > <condition><![cdata[versionnt < 602]]></condition> <file id="file1" source="$(dir1)\testfile.dll" /> </component> <component id="comp.comp2" guid="*" > <condition><![cdata[versionnt >= 602]]></condition> <file id="file2" source="$(dir2)\testfile.dll" /> </component>
thanks,
that code install files fine on x86 x64 machines. note windows installer requires 64-bit package built install 64-bit locations. 32-bit packages install 32-bit locations. unfortunately, 64-bit packages cannot install on 32-bit machines.
the end result need 2 packages natively install on 32-bit , 64-bit machines.