cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
DrBuild
Level 2

Creating Cross Plattform Installations for Dot Net Application

Hello there,

is there a possibility to create an installation for x64 and x32 plattforms?
Our problem is our installation always runs as a 32bit process on x64 machines, all registry keys created during that installation are stored in the WOW3264 registry path. To avoid this, we would like to have an installation which runs as a 64 bit process on 64 bit machines, and as a 32bit process on 32 bit machines.

Thank you very much in advance!
Labels (1)
0 Kudos
(1) Reply
girishkatti123
Level 7

use SYSINFO.bIsWow64 -If the setup is running on a 64-bit platform, this value is non-zero

if(SYSINFO.bIsWow64)then
REGDB_OPTIONS = REGDB_OPTIONS|REGDB_OPTION_WOW64_64KEY;
endif;

The REGDB will search for reg key on a 64 bit platform
to remove this search
if(SYSINFO.bIsWow64)then
REGDB_OPTIONS = REGDB_OPTIONS & ~REGDB_OPTION_WOW64_64KEY;
endif;
0 Kudos