TAke a look at this simple program
static void Main(string args)
RegistryKey key = Registry.LocalMachine.OpenSubKey("Software", true);
RegistryKey newkey = key.CreateSubKey("YourNAme");
After Compiling this file i got .exe with 6 kb in size that run very well on my system, But when i try to run that .exe (Only Exe)on other machine whcih havent have .net frame work install, gives error message regarding missing resources,Isnt there is any way to deploy(just runnable) such .exe on other operating system like win98 , winxp and all others.( I have win2000 professional).