Hello Éric,
Unfortunately, we do not have predefined support for that, but yes, it is possible.
For instance, you can perform a registry search and make use of the
"Search the 64-bit portion of the registry" option:

- search.png (89.55 KiB) Viewed 3057 times
For instance, I've recently created a how-to for installing an Office Add-In based on Office bitness and, as a condition, I have used a search that is looking in the following location:
HKLM:\SOFTWARE\Microsoft\Office\16.0\Access\InstallRoot\Path
(when the
"Search the 64-bit portion of the registry" option is used)
and for the following path:
HKLM:\SOFTWARE\WOW6432NODE\Microsoft\Office\16.0\Access\InstallRoot\Path
otherwise.
Basically, if the first registry exists, it means that the 64-bit is installed and if the second registry exists, it means that the 32-version is installed (on a 64-bit machine). This is due to the
WOW6432NODE registry entry, which is used especially to redirect 32-bit packages information on 64-bit machines.
Hope this helps.
Best regards,
Catalin
FOLLOW US
Get the latest news in Application Packaging