I look for a free launcher or bootstrapper that checks whether t开发者_如何学运维he .net framework is installed, and starts my app1.exe, or app2.exe if not. Alternatively a louncher that checks for the OS version.
dotNetInstaller can do all that: you check a registry key to see if the .NET Framework is installed, and the executable is run depending on the conditions you specify. You can also launch different configurations of executable/installers based on operation system version, language, platform etc.
You could write a native app that checks for the .net framework then have it run the app1.exe or app2.exe. I wrote a blog post that covers how to do this and even shows how add a gui. It is at http://blog.foldertrack.com/?p=45
精彩评论