Пример #1
0
        static void Main()
        {
            HHT_Registry registry = new HHT_Registry();

            if (!registry.GetRegistroInstalled())
            {
                Application.Run(new FrmBase());
            }
        }
Пример #2
0
        private void btnInstall_Click(object sender, EventArgs e)
        {
            lbITems.Items.Clear();

            HHT_Directory directory = new HHT_Directory();

            directory.Message += new HHT_BASE.EventHandler(dir_Message);

            HHT_Registry registry = new HHT_Registry();

            registry.Message += new HHT_BASE.EventHandler(dir_Message);

            registry.GetRegistro();
            directory.CreateFolder();
            directory.CopyFile();

            directory.RunCAB();

            Thread.Sleep(3000);

            registry.GetRegistroGood();

            HHT_Helper.Reset();
        }