Installing .NET protected service

Post here messages if you have any problems with working of Enigma Protector
Post Reply
Site Admin
Posts: 2598
Joined: Wed Aug 20, 2008 2:24 pm

Installing .NET protected service

Post by Enigma » Mon Oct 01, 2012 10:24 am

We have been noted about problems installing protected .NET exe service using standard Windows installer utility - Installutil.exe ... S.80).aspx

The workaround for this - making a custom utility for service installation as written there: ... 21#1195621

The problem appears because Installutil.exe is trying to read NET assembly data from the exe file. When exe is protected, the assembly data is not accessible and Installutil.exe raises System.BadImageFormatException exception.
Apart of this scenario, custom installation utility just run the service, without reading assembly, that's working well in case the file is protected.

Post Reply