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.
Asked
Active
Viewed 347 times
1

skaffman
- 398,947
- 96
- 818
- 769

Alexander Zwitbaum
- 4,776
- 4
- 48
- 55
-
ClickOnce will check for you but then goes and installs it for you (assuming you say yes) which, if I read your question correctly, is not what you want. – ChrisF May 07 '10 at 15:18
-
If there's no .Net Frameworks installed ClickOnce started an installation, but I want that it launch my application. – Alexander Zwitbaum May 07 '10 at 15:44
2 Answers
2
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
- 3,217
- 5
- 30
- 42
-
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? – Alexander Zwitbaum Jul 21 '10 at 18:28
-
2
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.

BCran
- 1,921
- 19
- 16
-
Is it possible to launch it without GUI, I don't want to install the Framework, but only to start app1 or app2 – Alexander Zwitbaum Sep 06 '10 at 09:42
-
Yes, you can use the installerLinker application to create the bootstrapper from the command line. – BCran Sep 07 '10 at 00:55
-
dotNetInstaller in basic mode does exactly waht I need. Thank you! – Alexander Zwitbaum Dec 10 '10 at 10:54
-
Hi, can we terminate setup process on not finding required registry key ? http://stackoverflow.com/questions/10688463/dotnetinstaller-should-terminate-on-failure-of-registry-check – Anand May 21 '12 at 15:58