.net InstallUtil utility - 32 bit vs 64 bit

后端 未结 3 1644
耶瑟儿~
耶瑟儿~ 2020-12-30 03:32

I\'ve got a windows service compiled as AnyCPU. I\'m trying to get it into our installer to distribute. However... I am unclear on the difference between the 32 bit and

3条回答
  •  生来不讨喜
    2020-12-30 04:04

    I ran across this as well. The issue was my VS2008 project was set to Platform Target: Any CPU. No matter which InstallUtil.exe (32 or 64) I ran on the 64 bit OS it was installing as 64 bit.

    I changed my project setting Target to x86 and then ran the 32 bit installutil.exe and everything works fine. It now shows the *32 flag in Task Manager.

提交回复
热议问题