System.BadImageFormatException when installing a service
-
17-06-2021 - |
Question
I have created an exe using exe4j (chose to create a service ) I am running installutil from v2.0 .net framework library using
installutil c:\...\myExe
and I get
the module was expected to contain an assembly manifest - badimageformatexception
How can I solve this? Thanks.
Solution
InstallUtil is an installer for NET created services.
I doubt that it can install a service created with exe4j.
I will try using sc.exe
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow