davidlars99
asked on
run .exe files without install
is it possible to run .exe files without installation..? I mean right out of bin folder on the machine without .NET framework installed...?
^ What he said.... dammit you got to it first :-p
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I think you did... but I was just commenting on an alternative of what you were saying about running the exe file from the bin folder.
I can understand him asking though, have been quite a few times when I've done the simplest of applications to check something on someones computer (like terminate a bad and persistant process)... but for them to run the app they need to install a 25Mb+ distributable framework. I understand that it has libraries and all... just saying its a bit of a shame :P
I can understand him asking though, have been quite a few times when I've done the simplest of applications to check something on someones computer (like terminate a bad and persistant process)... but for them to run the app they need to install a 25Mb+ distributable framework. I understand that it has libraries and all... just saying its a bit of a shame :P
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
what about "ngen.exe"? what does it do...?
you can use the ngen.exe tool that comes with .NET to compile to native machine language
it compiles EXE to platform specific
usage:
ngen.exe path_and_filename_of _compiled_IL_assembly
it compiles EXE to platform specific
usage:
ngen.exe path_and_filename_of _compiled_IL_assembly
ASKER
no, I mean will ngen.exe make it work the way I mentioned..?
ASKER
It is very hard to believe that .NET only works that way, is there any other ways but http://thinstall.com/
No without .Net Framework ngen will not work
>> is there any other ways but http://thinstall.com/
Not that I know of
>> is there any other ways but http://thinstall.com/
Not that I know of
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks everybody!
You can run .NET exe file "right out of bin folder on the machine" but it requires .NET Framework to be installed.
Your exe that you make in .NET uses a lot of library files that are a part of the Framework. So unless framework is installed it won't run.
But yes if framework is installed you need not install, just copy the exe (from bin) along with any additional dll it uses if any (that are also there in bin) on the other machine and it will run