I’m having a windows service and a custom console install that should install it (among other things it does – so I can’t use .msi installation from Setup Project).
The code uses installutil.exe to do the installation but 3.5 framework doesn’t have this exe. How to install such service?
It needs to run on both 32bit and 64bit and on machines that don’t have VS, just framework 3.5
(I looked around the site and found several answers but none of them is applicable here)
Update:
If I use version from 2.xx I get an exception:
System.BadImageFormatException: Could not load file or assembly xxx or
one of its dependencies. This assembly is built by a runtime newer
than the currently loaded runtime and cannot be loaded.
I have an out of the box installation of .net3.5 and it ships with installutil.exe
Look in
Remember that .NET3.5 still runs on the .net2 runtime