I'm not quite sure I understand your issue, but if I assume that you have two different installers, one for 32bits and one for 64 bits, you would have to make a small executable that will wrap the two installers and select the correct MSI file.
Environment.Is64BitOperatingSystem
will show you what kind of OS you are currently on.