System.BadImageFormatException beim Installieren des Dienstes

Ich erhalte die folgende Ausnahme, wenn ich versuche, das Installationsprogramm auszuführen, um den Dienst einzurichten:

# ./InstallUtil ../../../../Applications/GasPosApp/bin/Wrapper.exe -s ../../../
../Applications/GasPosApp/properties/DispenserViewerApplication.wrapper.conf
Microsoft (R) .NET Framework Installation utility Version 4.0.30319.1
Copyright (c) Microsoft Corporation.  All rights reserved.

Ausnahme beim Initialisieren der Installation:

System.BadImageFormatException: Could not load file or assembly 'file:///C:\Appl
ications\GasPosApp\bin\Wrapper.exe' or one of its dependencies. The module was e
xpected to contain an assembly manifest..

Antworten auf die Frage(3)

Ihre Antwort auf die Frage