コード例 #1
0
    public MyInstaller()
    {
        ManagementInstaller managementInstaller =
            new ManagementInstaller();

        Installers.Add(managementInstaller);
    }
コード例 #2
0
        public XenInstallerInstaller()
        {
            processInstaller = new ServiceProcessInstaller();
            serviceInstaller = new ServiceInstaller();

            processInstaller.Account            = ServiceAccount.LocalSystem;
            serviceInstaller.StartType          = ServiceStartMode.Automatic;
            serviceInstaller.ServiceName        = "Citrix Xen Installer";
            serviceInstaller.Description        = "Installs and Updates Xen Server Tools";
            serviceInstaller.ServicesDependedOn = new string[] { "Winmgmt" };

            managementInstaller = new ManagementInstaller();

            Installers.Add(serviceInstaller);
            Installers.Add(processInstaller);
            Installers.Add(managementInstaller);
        }
コード例 #3
0
ファイル: Program.cs プロジェクト: rkuschel/win-installer
 public MyInstaller()
 {
     ManagementInstaller managementInstaller =
         new ManagementInstaller();
     Installers.Add(managementInstaller);
 }