static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); frmInstaller frmInstaller = new frmInstaller(); // Read the command line arguments Globals.CommandLine = CommandProcessor.ParseCommand(System.Environment.CommandLine); // Set the language of the installer to English PageManager.ActiveStringTable = new Translations.EnglishStringTable(); MaintenanceHelper.RunProperMode(Globals.CommandLine); Application.Run(frmInstaller); }