none
install util issue RRS feed

  • Question

  • Dear Colleagues,

    I have one issue and hope that somebody maybe can help me.

    Namely I want to install one service via installutil and got some error messages.

    What I did is next :

    1) Started Command Prompt as Administrator

    2) Move to folder where my exe files and dll files are (via CD command)

    3) Executed next command : C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil TestService.exe /name=TestService_01 /display=TestService_01

    Instead to get my service installed I get next error message :

    Exception occurred while initializing the installation:
    System.BadImageFormatException: Could not load file or assembly 'file:///C:\InstallFolder\bin\TestService.exe' or one of its dependencies. An attempt was made to load a program with
    an incorrect format..


    Can somebody maybe help with this.Why I get this Bad Format exception.


    • Edited by stomar_3 Thursday, April 3, 2014 9:09 AM wrong error message
    Thursday, April 3, 2014 8:50 AM

Answers