My installation is 32 bit. One of the component in installation is special. Installation search for installation of another software on the computer. If its 32 bit my installation copies few files in its work directory ( ...........Program Files(x86)\xyz\work). If its 64 bit installation installation should copy it in directory ( ...........Program Files\xyz\work)
As the latter is 64 bit installation, my installation does not copy files in 64 bit installation directory but copies in 32 bit installation folder instead.
Is there any elegant approach to achieve this maybe through custom actions etc. Creating separate 64 bit installation for just one component is not the option,
Thanks in advance.