I created a setup for 64 bit OS using wix, but when I try to install in C:\Program Files\ instead it is installing in C:\Program Files(x86)\ folder. how to rectify this. my code goes something like below:
<Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="SharpFolder" Name="Sharp"> <Directory Id="INSTALLDIR" Name="DCalibrate $(var.ProductVersion)"> <?if $(env.DriverPlatform)= "x64" ?> <Directory Id="i1Driver" Name="i1Driver"> <Component Guid="2F23B4AF-5ED0-4F09-81DD-5FE4F29CA4A9" Id="i1Driver" Feature="Complete"> <File Source=".\i1Driver\i1_display.inf" Name="i1_display.inf" DiskId="1" Id="i1_display.inf" KeyPath="yes"/> <File Source=".\i1Driver\i1display_x64.sys" Name="i1display_x64.sys" DiskId="1" Id="i1display_x64.sys"/> <File Source=".\i1Driver\i1_driver.cat" Name="i1_driver.cat" DiskId="1" Id="i1_driver.cat"/> <difx:Driver Legacy="yes" /> </Component> </Directory> when I'm changing ProgramFilesFolder to ProgramFiles64Folder is giving errors where i'm creating msi in 32 bit OS. -- *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