Свойство | Тип | Описание | |
---|---|---|---|
PerformedWindowMessageID | int |
Свойство | Тип | Описание | |
---|---|---|---|
DeleteIfExists | void | ||
DeleteServiceLogFiles | void | ||
DesktopIntegrationApply | void | ||
DesktopIntegrationRemove | void | ||
LoadManifest | Manifest | ||
NgenApply | void | ||
NgenRemove | void | ||
RegistryApply | void | ||
RegistryRemove | void | ||
RemoveOneGetBootstrap | void | ||
RemoveOneGetBootstrap | void | ||
ServiceInstall | void | ||
ServiceStart | void | ||
ServiceStop | bool | ||
ServiceUninstall | void | ||
TargetMutexAquire | void | ||
TargetMutexRelease | void |
Метод | Описание | |
---|---|---|
Deploy ( ) : void |
Runs the deployment process.
|
|
MaintenanceManager ( [ targetDir, [ handler, bool machineWide, bool portable ) : System |
Creates a new maintenance manager.
|
|
Remove ( ) : void |
Runs the removal process.
|
Метод | Описание | |
---|---|---|
DeleteIfExists ( string path ) : void | ||
DeleteServiceLogFiles ( ) : void | ||
DesktopIntegrationApply ( ) : void | ||
DesktopIntegrationRemove ( ) : void | ||
LoadManifest ( [ dirPath ) : Manifest | ||
NgenApply ( ) : void |
Runs ngen in the background to pre-compile new/updated .NET assemblies.
|
|
NgenRemove ( ) : void |
Runs ngen to remove pre-compiled .NET assemblies.
|
|
RegistryApply ( ) : void |
Update the registry entries.
|
|
RegistryRemove ( ) : void | ||
RemoveOneGetBootstrap ( ) : void |
Try to remove OneGet Bootstrap module to prevent future PowerShell sessions from loading it again.
|
|
RemoveOneGetBootstrap ( string dirPath ) : void | ||
ServiceInstall ( ) : void |
Installs the Zero Install Store Service.
|
|
ServiceStart ( ) : void |
Starts the Zero Install Store Service. Must call this after TargetMutexRelease. |
|
ServiceStop ( ) : bool |
Stops the Zero Install Store Service if it is running.
|
|
ServiceUninstall ( ) : void |
Uninstalls the Zero Install Store Service.
|
|
TargetMutexAquire ( ) : void |
Waits for any Zero Install instances running in TargetDir to terminate and then prevents new ones from starting. The TargetDir is encoded into an AppMutex name using object.GetHashCode. |
|
TargetMutexRelease ( ) : void |
Counterpart to TargetMutexAquire.
|
public MaintenanceManager ( [ targetDir, [ handler, bool machineWide, bool portable ) : System | ||
targetDir | [ | The full path to the directory containing the Zero Install instance. |
handler | [ | A callback object used when the the user needs to be asked questions or informed about download and IO tasks. |
machineWide | bool | Apply operations machine-wide instead of just for the current user. |
portable | bool | Controls whether the Zero Install instance at |
Результат | System |