internal CCreateDeploymentPackageWizard(CGenSecurity node)
 {
     m_secNode        = node;
     m_aPropSheetPage = new CPropPage[] {
         new CCreateDeploymentPackageWiz1(),
         new CCreateDeploymentPackageWiz3(),
         new CCreateDeploymentPackageWiz2()
     };
 }// CCreateDeploymentPackageWizard
Exemple #2
0
        }// CreatePropertyPages

        //-------------------------------------------------
        // CreateChildren
        //
        // This function creates the node's children, registers
        // the nodes with the node manager, and places the node's
        // cookies in it's child array
        //-------------------------------------------------
        internal override void CreateChildren()
        {
            CNode node    = null;
            int   iCookie = 0;

            bool fNonMMC = CNodeManager.Console is INonMMCHost;


            // Some of these nodes we shouldn't add if we're not MMC


            // This node is only valid on the local machine
            if (Data == 1 && !fNonMMC)
            {
                node    = new CSharedAssemblies();
                iCookie = CNodeManager.AddNode(ref node);
                AddChild(iCookie);
            }

            if (!fNonMMC)
            {
                // Now add a Version Policy node
                node    = new CVersionPolicy();
                iCookie = CNodeManager.AddNode(ref node);
                AddChild(iCookie);

                // Now add a Subscribed services node
                node    = new CRemoting();
                iCookie = CNodeManager.AddNode(ref node);
                AddChild(iCookie);
            }
            // Add a Security policy node
            node    = new CGenSecurity();
            iCookie = CNodeManager.AddNode(ref node);
            AddChild(iCookie);

            // And add an Applications Node
            node    = new CGenApplications();
            iCookie = CNodeManager.AddNode(ref node);
            AddChild(iCookie);
        } // CreateChildren