Agree. Plus these "compiled" options are much bigger exe's. If everyone
did this, they would end up being bigger then the framework on your HD.
--
William Stacey [MVP]
| Huihong wrote:
| > Yes, you can do this, using the following means:
| >
| > 1. Purchase our linker/native compiler tool.
| >
http://www.remotesoft.com/linker/
| > It can even natively compile your .exe to x86 code, and runs without
| > .NET Framework. The resulting package guarantee you the following:
| >
| > (1) The best performance and best startup time. It beats any
| > competition.
| > (2) Simply the best source code protection. All code are in native x86
| > format. Guaranteed that your code is not able to be reverse engineered.
| > No other product can achieve this. For more info, check out:
| >
http://www.remotesoft.com/deprotector
| >
| > 2. If you want to do it on your own for free, you can use the following
| > undocumented features to deploy your app with a subset of Microsoft
| > .NET Framework included. This is only usefuk for simple windows
| > application. For complex apps, you will need to implement a virtual
| > registry system to include some registry setting:
| >
| > (1) set COMPLUS_InstallRoot environment variable to your appdir. This
| > is not public API, but it works.
| > (2) copy the framework directory
| > c:\windows\microsoft.net\framework\v1.14322, or v2.0.50727 into your
| > application dir. You can remove unused files by launching your
| > application
| > (3) create a local GAC dir inside your application dir, and copy all
| > GAC assemblies into your local gac.
| >
| > Huihong
| > RemoteSoft, Inc.
| >
| >
| It has to be said, I still don't get why so many people seem to want to
| do this. Yes, requiring a 23MB download may seem prohibitively
| expensive... IF your application is the only .NET application installed
| on a users machine. But consider how much space you're saving the user
| if you and 20 other applications all install the bits of .NET framework
| they need as separate copies...
|
| Then, of course, when a security bug is found in the framework, but the
| user hasn't installed the framework by this point, you have 20
| unpatched copies of the framework installed on the users machine (not
| sure whether, if the framework is properly installed, then that version
| will be used or not)
|
| So my recommendation is - if you're developing a downloaded
| application, point users at window update. If you're a CD or DVD based
| app, bung the redistributable on it. In the long run, the users will
| thank you for leaving them with a *standard* setup.
|
| Damien
|