Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            MsiPackage misPackage       = new MsiPackage(txtMSILocation.Text);
            string     installationGuid = misPackage.GetMsiProperty("ProductCode");

            LoadInstallationTip(installationGuid);
        }
Esempio n. 2
0
        private void LoadMsiDBProperty()
        {
            PropertyClass myProp = new PropertyClass();

            CustomProperty myproperty = new CustomProperty("Installation Guid", misPackage.GetMsiProperty("ProductCode"), true, true);

            myProp.Add(myproperty);
            propertyGrid1.SelectedObject = myProp;
            //LoadListView("Installation Guid", misPackage.GetMsiProperty("ProductCode"));
        }
Esempio n. 3
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(txtMSILocation.Text))
            {
                return;
            }
            MsiPackage misPackage       = new MsiPackage(txtMSILocation.Text);
            string     installationGuid = misPackage.GetMsiProperty("ProductCode");

            LoadInstallationTip(installationGuid);
        }