public MainWindow()
        {
            Configuration.Load(false);
            Version.AddExternalChanges();

            // choose language
            if (!LanguageWindow.ShowSelection(Configuration.Language))
            {
                Close();
                return;
            }

            if (Configuration.Language != Localization.LanguageIndex)
            {
                Configuration.Language = Localization.LanguageIndex;
            }
            Version.AddExternalChanges();
            // init main window
            InitializeComponent();

            // set title
            this.Title = string.Format("{0} {1}", Localization.Get("Name"), Version.PatcherVersion);

            // set search path in ui
            SetBrowsePath();

            SetLocalizedUIElements();
            DisplayLicense();
        }
 static void Main(string[] args)
 {
     Configuration.Load();
     Version.AddExternalChanges();
     ResolvePath();
     ResolveArgs(args);
     SilentInstall();
 }