コード例 #1
0
ファイル: InstallerEngine.cs プロジェクト: Crae/rhiexec
        public static string InstallRoot(PackageInstallRoot root)
        {
            switch (root)
            {
            case PackageInstallRoot.AllUsers:
                return(AllUsersInstallRoot);

            case PackageInstallRoot.CurrentUserLocalProfile:
                return(CurrentUserLocalProfileRoot);

            case PackageInstallRoot.CurrentUserRoamingProfile:
                return(CurrentUserRoamingProfileRoot);
            }
            return(null);
        }
コード例 #2
0
 public PackageInstallerPlatformSpecific(PackageContentType contentType, string installFolder, PackageInstallRoot installRoot)
 {
     m_content_type = contentType;
       m_install_folder = installFolder;
       m_install_root = installRoot;
 }
コード例 #3
0
 public PackageInstallerPlatformSpecific(PackageContentType contentType, string installFolder, PackageInstallRoot installRoot)
 {
     m_content_type   = contentType;
     m_install_folder = installFolder;
     m_install_root   = installRoot;
 }
コード例 #4
0
ファイル: InstallerEngine.cs プロジェクト: Crae/rhiexec
 public static string InstallRoot(PackageInstallRoot root)
 {
     switch (root)
       {
     case PackageInstallRoot.AllUsers:
       return AllUsersInstallRoot;
     case PackageInstallRoot.CurrentUserLocalProfile:
       return CurrentUserLocalProfileRoot;
     case PackageInstallRoot.CurrentUserRoamingProfile:
       return CurrentUserRoamingProfileRoot;
       }
       return null;
 }