views:

78

answers:

2

I look for a free launcher or bootstrapper that checks whether the .net framework is installed, and starts my app1.exe, or app2.exe if not. Alternatively a louncher that checks for the OS version.

+1  A: 

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

Nick
Thank you. Can you provide a link to the ready compiled application that works from a command line and does the needed checks and launches?
Shurup
It is at the bottom of the post
Nick
A: 

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.

BruceCran
Is it possible to launch it without GUI, I don't want to install the Framework, but only to start app1 or app2
Shurup
Yes, you can use the installerLinker application to create the bootstrapper from the command line.
BruceCran