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 static string InstallRoot(PackageInstallRoot root) { switch (root) { case PackageInstallRoot.AllUsers: return AllUsersInstallRoot; case PackageInstallRoot.CurrentUserLocalProfile: return CurrentUserLocalProfileRoot; case PackageInstallRoot.CurrentUserRoamingProfile: return CurrentUserRoamingProfileRoot; } return null; }