installutil - Installing Windows Service via ManagedInstaller - how to install 64-bit service? -


i going post this, managed dig answer, here in case else looking...

my app installs windows service via:

string[] installargs = new string[] { binaryname }; managedinstallerclass.installhelper(installargs); 

however on 64-bit platform want force installation use 64-bit installer (the equivalent of framework64/installutil)

how managedinstallerclass.installhelper run 64-bit version?

answer: framework uses specific installer build targetting. ie. if have built x64 framework , run on 64-bit os, use framework64/installutil. if have targetted 32-bit or cpu build , run on either 32-bit or 64-bit os use framework/installutil.

note: 32-bit build installed on 64-bit os still use framework/installutil. there no workaround - cant have 32-bit installer install 64-bit service. have build separate x64 installer if need install 64-bit service.

source - microsoft forums.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -