Page 1 of 1

Run .Net Installer on 64 bit OS

Posted: Tue Aug 16, 2011 6:30 am
by PietJan
Hello,

I am trying to run the Run .Net installer command for installing a MMC snapin.

The installation should be done in 64-bit mode. However it seems that the Run .Net Installer class calls the installutil in the 32bit framework dir instead of the 64bit dir.

How can I force the Run .Net Installer to use the 64-bit framework installutil ?

regads
PietJan

Re: Run .Net Installer on 64 bit OS

Posted: Tue Aug 16, 2011 6:38 am
by PietJan
In addition the following command on the command-prompt works fine and installs the MMC snapin correctly

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe" -i XYServer.MMC.dll

However I thought the Run .Net Installer would select the correct framework (32-bit or 64-bit) automatically if the 64bit flag of the setup was set.
But it seems that the Run .Net Installer uses the 32-bit version of the InstallUtil.

Do I need to change something in the setup project to force the Run .Net Installer to use the 64 bit installutil ?

regards
PietJan