string PathofFile = Application.StartupPath + "\\" + Application.ProductName;
            if (File.Exists(PathofFile) == true)
            {
                MessageBox.Show("adf");
            }
            else
            {
                MessageBox.Show("adsfsafsafsaf");
            }