Installing an MSI only on 64bit OS

Apr 27, 2010 at 2:06 PM


I'm in the situation where our app is compiled mixed mode (runs 32bit or 64bit depending on the OS) and for 64bit operation, I need to install an additional MSI file.

How can I ensure that it gets installed only on 64bit OS and *never* on 32bit OS ?

Apr 27, 2010 at 9:52 PM
Edited Apr 30, 2010 at 12:48 PM

Specify processor_architecture_filter="x64" for your component.

from the doc:

dotNetInstaller supports various processor architecture filters. You can list those processors on which the entire bootstrapper, configuration or component can be installed. Separate the processor architectures by commas and use the ! (not) operator where appropriate.