Run .Net Installer on 64 bit OS

Got a problem you cannot solve? Try here.
Post Reply
PietJan
Posts: 3
Joined: Tue Aug 16, 2011 6:23 am

Run .Net Installer on 64 bit OS

Post 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
PietJan
Posts: 3
Joined: Tue Aug 16, 2011 6:23 am

Re: Run .Net Installer on 64 bit OS

Post 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
Post Reply