}// WizSetActive protected override int WizNext(IntPtr hwnd) { // Find out which property page this is.... switch (GetPropPage(hwnd)) { case 0: if (!m_secNode.GetSecurityPolicyNode(MyPolicyLevel).isNoSave) { m_secNode.GetSecurityPolicyNode(MyPolicyLevel).SavePolicy(true); } // Make sure that filename exists if (!File.Exists(FileToPackage)) { MessageBox(String.Format(CResourceStore.GetString("CCreateDeploymentPackageWizard:NoFile"), FileToPackage), CResourceStore.GetString("CCreateDeploymentPackageWizard:NoFileTitle"), MB.ICONEXCLAMATION); return(-1); } break; } return(base.WizNext(hwnd)); }// WizNext
}// GetMachinePolicyLevelFromLabel internal static CSingleCodeGroup GetRootCodeGroupNode(PolicyLevel pl) { return(m_GenSecNode.GetSecurityPolicyNode(GetPolicyLevelTypeFromLabel(pl.Label)).GetRootCodeGroupNode()); }// GetRootCodeGroupNode