Is there a way to get the Enable32BitAppOnWin64
metabase property in WiX for IIS6?
I'm installing a web app and need to run aspnet_regiis.exe
on a 64bit machine that has IIS set to 32bit mode. To get the path to the exe, I'm using the following:
<!--<?if $(var.Platform) = x64 ?>-->
<SetProperty Id="ASPNETREGIIS" Sequence="execute" Before="ConfigureIIs" Value="[NETFRAMEWORK20INSTALLROOTDIR64]aspnet_regiis.exe" />
<!--<?else ?>
<SetProperty Id="ASPNETREGIIS" Sequence="execute" Before="ConfigureIIs" Value="[NETFRAMEWORK20INSTALLROOTDIR]aspnet_regiis.exe" />
<?endif ?>-->
However, when 32bit mode is enabled, I can't rely on the platform to get the correct path of the exe.