cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vnikolov
Level 3

How to recognize 32 or 64 bit is the OS?

I have two sets of dlls - 32 and 64 bit. (from SQLCompact)
I want to pack them together but to install only the proper ones depend on the 32 or 64 bit OS.

is there a build-in property that I can use as condition?
is this the right way to proceed if I have to produce only one MSI?
Regards
Vlad
Labels (1)
0 Kudos
(1) Reply
MichaelU
Level 12 Flexeran
Level 12 Flexeran

You can reference the property VersionNT64 in your component's condition. However if you need to install to a 64-bit location, the package that installs this will need to be 64-bits and won't run on a 32-bit system, so you would need two packages. This is a Windows Installer limitation.
0 Kudos