views:

737

answers:

3

The application that I'm building requires the .NET framework. Unfortunately our end users will not have admin privileges. I know it isn't possible to install .NET without admin privileges, but is it possible to build a pre-packaged version of it into our system so the user doesn't need admin privileges? If it is possible, how would I go about doing it? One approach I have heard is to place the neccessary .dll files in the same folder as the executable, but that didn't seem to work.

Thanks in advance.

+1  A: 

You can use a tool like Xenocode's PostBuild:

http://www.xenocode.com/Products/Postbuild-for-NET/

BobbyShaftoe
I've used Xenocode quite a bit. Great stuff.
JD Conley
A: 

No, but assuming that the individual who installs your app must have admin proviliges to install a new app on the machine, You can have the msi installer for your app also install the framework for you...

But if you're hoping to have your app installed by someone without admin priviliges, then I believe you're out of luck.

Charles Bretana
A: 

Either go with something like Xenocode (BobbyShaftoes's answer) or get .NET installed on the destination machines before you distribute your application. If you're on an Active Directory this can be done pretty easily through group policy.

JD Conley