C# 클래스 ZeroInstall.DesktopIntegration.Windows.AppAlias

Contains control logic for applying AccessPoints.AppAlias on Windows systems.
파일 보기 프로젝트 열기: 0install/0install-win

공개 메소드들

메소드 설명
Create ( FeedTarget target, [ command, [ aliasName, bool machineWide, [ handler ) : void

Creates an application alias in the current system.

Remove ( string aliasName, bool machineWide ) : void

Removes an application alias from the current system.

비공개 메소드들

메소드 설명
AddToAppPaths ( string exeName, string exePath, bool machineWide ) : void

Adds an EXE to the AppPath registry key.

GetStubDir ( bool machineWide ) : string
RemoveFromAppPaths ( string exeName, bool machineWide ) : void

Removes an EXE from the AppPath registry key.

메소드 상세

Create() 공개 정적인 메소드

Creates an application alias in the current system.
The user canceled the task. A problem occurs while writing to the filesystem or registry. A problem occured while downloading additional data (such as icons). Write access to the filesystem or registry is not permitted.
public static Create ( FeedTarget target, [ command, [ aliasName, bool machineWide, [ handler ) : void
target ZeroInstall.Store.FeedTarget The application being integrated.
command [ The command within the alias shall point to; can be null.
aliasName [ The name of the alias to be created.
machineWide bool Create the alias machine-wide instead of just for the current user.
handler [ A callback object used when the the user is to be informed about the progress of long-running operations such as downloads.
리턴 void

Remove() 공개 정적인 메소드

Removes an application alias from the current system.
A problem occurs while writing to the filesystem or registry. Write access to the filesystem or registry is not permitted.
public static Remove ( string aliasName, bool machineWide ) : void
aliasName string The name of the alias to be removed.
machineWide bool The alias was created machine-wide instead of just for the current user.
리턴 void