I have run into problems when making an installer targeted only for 64-bit systems. I have some custom actions at end of install that runs a batch file. When the batch file runs, it is being run as a 32-bit process so the batch file cannot invoke 64-bit apps because of the Wow64 redirection. In my case, I am trying to run the 64-bit java.exe that I installed as a pre-requisite.
On Vista and later, I can get around this by running it via:
%WINDIR%\sysnative\java
But this does not work on XP or 2003 as they do not support the sysnative trick without a special hotfix being installed. In fact, I do not know how to launch a 64-bit system process from the batch file on those systems. It seems like the better answer would be if the installer was running the batch files as 64-bit processes as it ought to. Then I would not have to deal with this in my scripts.
I am using 7.6.1 and this is an Enterprise project type.
Mark