Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installutil.exe is not a valid win32 application

When I try to install service using Installutil.exe I receive a message c:\windows\Microsoft.net\framework\v4.0.30319\Installutil.exe is not a valid Win32 application.

enter image description here

like image 722
kulNinja Avatar asked Dec 12 '22 10:12

kulNinja


2 Answers

I found out that for some reason the InstallUtil got corrupted during installation and got 0 byte size. So replacing that executable with correct size one - should fix the issue.

enter image description here

like image 58
kulNinja Avatar answered Dec 28 '22 09:12

kulNinja


I had the same problem. finally like I'm on 64 bit OS, I used the "Framework64" directory instead of the "Framework" directory (C: \ Windows \ Microsoft.NET \ ramework64 \ v4.0.30319> installutil.exe ......) and then it work.

like image 33
BELotfi Avatar answered Dec 28 '22 08:12

BELotfi