C# 클래스 Microsoft.VS.ConfigurationManager.Primitives

Publically available actions for handling uninstall actions
상속: IDisposable
파일 보기 프로젝트 열기: Microsoft/VisualStudioUninstaller 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BundlesToFiles void
DeleteFileIfExists void
DeleteRegistryKey void
FileToBundle Bundle
GetBundlesFromWixPDB Microsoft.Tools.WindowsInstallerXml.Table
GetUniquePackages void
GetUpgradeCode string
RecursivelyDeleteFolder void
Uninstall int

공개 메소드들

메소드 설명
ApplyFilter ( string Source ) : string

Using the List of Filter classes, do a replace of strings per the user's specification.

CleanupSecondaryInstallerCache ( ) : void

Cleanup %ProgramData%\Microsoft\VisualStudioSecondaryInstaller

CleanupVisualStudioFolders ( IEnumerable vsInstallPaths ) : void

Clean up Visual Studio folders.

CleanupVisualStudioRegistryHives ( ) : void

Clean up HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio Clean up HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio

Dispose ( ) : void

Explicit disposal of objects

GetAllInstalledItems ( ) : ICollection

GetInstalledItems lists all items that are installed on this machine.

Initialize ( ) : void

Locate PDB files on disk and store them in the release object

InstalledVisualStudioReport ( ) : void

Report what Visual Studio's were installed on this system.

LoadFromDataFile ( Stream stream ) : void

Load from a data file stream.

LoadFromDataFile ( string path ) : void

Load from a data file.

LoadFromFile ( string value ) : Bundle

Given a file that has been serialized out, this will read in the file and hydrate the object model for a list of InstallableItem.

It specifically takes a directory to read all BIN files associated. If an invalid BIN file is found, it will report an error and the loop will continue.

LoadFromWixpdb ( string path ) : bool

Load a wixpdb

Primitives ( ) : System

Constructor.

Save ( ICollection installable ) : void

Takes a list of InstallableItem and converts it to binary output.

This is used after data is extracted from a wixpdb using Primitive.GetDataFromPdb()

SaveToDataFile ( ) : void

Save BundlesAndPackageStore object to a data file.

Uninstall ( ) : int

Uninstall Visual Studio 2013/2015/vNext

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
BundlesToFiles ( ICollection installable, string DataFilesPath, string ext ) : void
DeleteFileIfExists ( string filePath ) : void
DeleteRegistryKey ( string keyPath ) : void
FileToBundle ( string file ) : Bundle
GetBundlesFromWixPDB ( Microsoft pdb ) : Microsoft.Tools.WindowsInstallerXml.Table
GetUniquePackages ( HashSet upgradeCodeHash, HashSet noUpgradeCodeProductCodeHash, Microsoft.Tools.WindowsInstallerXml chainmsipackageTable, Microsoft.Tools.WindowsInstallerXml uxPackageBehavior ) : void
GetUpgradeCode ( string installSource ) : string
RecursivelyDeleteFolder ( string folder ) : void

delete a folder and all its content

Uninstall ( Package package ) : int

메소드 상세

ApplyFilter() 공개 메소드

Using the List of Filter classes, do a replace of strings per the user's specification.
public ApplyFilter ( string Source ) : string
Source string
리턴 string

CleanupSecondaryInstallerCache() 공개 메소드

Cleanup %ProgramData%\Microsoft\VisualStudioSecondaryInstaller
public CleanupSecondaryInstallerCache ( ) : void
리턴 void

CleanupVisualStudioFolders() 공개 메소드

Clean up Visual Studio folders.
public CleanupVisualStudioFolders ( IEnumerable vsInstallPaths ) : void
vsInstallPaths IEnumerable
리턴 void

CleanupVisualStudioRegistryHives() 공개 메소드

Clean up HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio Clean up HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio
public CleanupVisualStudioRegistryHives ( ) : void
리턴 void

Dispose() 공개 메소드

Explicit disposal of objects
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetAllInstalledItems() 공개 메소드

GetInstalledItems lists all items that are installed on this machine.
public GetAllInstalledItems ( ) : ICollection
리턴 ICollection

Initialize() 공개 메소드

Locate PDB files on disk and store them in the release object
public Initialize ( ) : void
리턴 void

InstalledVisualStudioReport() 공개 메소드

Report what Visual Studio's were installed on this system.
public InstalledVisualStudioReport ( ) : void
리턴 void

LoadFromDataFile() 공개 메소드

Load from a data file stream.
public LoadFromDataFile ( Stream stream ) : void
stream Stream
리턴 void

LoadFromDataFile() 공개 메소드

Load from a data file.
public LoadFromDataFile ( string path ) : void
path string
리턴 void

LoadFromFile() 공개 메소드

Given a file that has been serialized out, this will read in the file and hydrate the object model for a list of InstallableItem.

It specifically takes a directory to read all BIN files associated. If an invalid BIN file is found, it will report an error and the loop will continue.

public LoadFromFile ( string value ) : Bundle
value string
리턴 Bundle

LoadFromWixpdb() 공개 메소드

Load a wixpdb
public LoadFromWixpdb ( string path ) : bool
path string
리턴 bool

Primitives() 공개 메소드

Constructor.
public Primitives ( ) : System
리턴 System

Save() 공개 메소드

Takes a list of InstallableItem and converts it to binary output.

This is used after data is extracted from a wixpdb using Primitive.GetDataFromPdb()

public Save ( ICollection installable ) : void
installable ICollection
리턴 void

SaveToDataFile() 공개 메소드

Save BundlesAndPackageStore object to a data file.
public SaveToDataFile ( ) : void
리턴 void

Uninstall() 공개 메소드

Uninstall Visual Studio 2013/2015/vNext
public Uninstall ( ) : int
리턴 int