Exemplo n.º 1
0
        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);
        }
 public PackageInstallerPlatformSpecific(PackageContentType contentType, string installFolder, PackageInstallRoot installRoot)
 {
     m_content_type = contentType;
       m_install_folder = installFolder;
       m_install_root = installRoot;
 }
 public PackageInstallerPlatformSpecific(PackageContentType contentType, string installFolder, PackageInstallRoot installRoot)
 {
     m_content_type   = contentType;
     m_install_folder = installFolder;
     m_install_root   = installRoot;
 }
Exemplo n.º 4
0
 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;
 }