Silent Installer - to install scripting langues from winform Application
I am developing Winform application, using C# on .NET 4.0, which need to install scripting langue(s) based on the user selection. What is the best way to detect if a particular scripting environment/Engine for a given langue(Ruby, python, Perl, etc) is installed on client machine and silently install it if not already i开发者_开发问答nstalled.
Though I agree with idea that a truly "silent" install might not be desirable for the users, there are many different installer packages that support silent installation.
This page actually has a good breakdown of the various installers and the command arguments needed to do unattended and silent installations. I am more familiar with MSI and it has lots of options.
So if you go this route, you'd fire up a Process (uh, Task I guess in C# 4) and run an installer.
精彩评论