Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Install one 64 bit component in 32 bit installation.....

1 reply to this topic


  • Full Members
  • 77 posts

Posted 27 June 2016 - 14:39

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.


  • Full Members
  • 187 posts

Posted 28 June 2016 - 22:49

I have always set my installer to be 64-bit if it contained a 64-bit component.


I think your only approach would be to do this through installscript.


Do you use PROGRAMFILES64?  If you search for this in the installshield help file it will tell you about it.

It makes not mention of this property being defined for only a 64-bit installer.  It may be possible to just have a switch in your logic that sets a target value using either PROGRAMFILES64 or PROGRAMFILES depending on bitness.


Remember to author uninstall steps as well otherwise you will orphan files.