Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Coapp service engine interface

fearthecowboy edited this page Aug 9, 2011 · 18 revisions

Interface for CoApp's Service Engine

Connecting to the engine

  • via named pipe, either over an async bidirectional pipe, or two pipes for WSH
// sample connection via jscript scripting language
  • uses url-encoding syntax for messages (both send and receive):
name-of-message?someparameter=value&someotherparameter=value2

Policy Location:

All policies will be found in Computer Configuration\Administrative Templates\Control Panel\CoApp (TODO: verify, unsure)

All policy values will be stored in the registry under HKLM\Software\CoApp\PackageManager\Policies

Policies:

Name Default Users Description
Connect Everyone Allows access to communicate with the CoApp service
EnumeratePackages Everyone Allows access to query the system for installed packages
InstallPackage Administrators Allows a new package to be installed
UpdatePackage Everyone Allows a newer version of an package that is currently installed to be installed
RemovePackage Administrators Allows a package to be removed
ChangeActivePackage Administrators Allows a user to change which version of a package is the active (default) one
ChangeRequiredState Administrators Allows a user to change whether a given package is required (user requested)
ChangeBlockedState Administrators Allows a user to change whether a given package is blocked from being upgraded
EditFeeds Administrators Allows users to edit remembered feeds

Messages accepted by the service Service-Request-Messages

Name
start-session
find-package
install-package
recognize-file
unable-to-acquire
remove-package
set-package
verify-file-signature
add-feed
remove-feed
find-feeds

Messages sent from the service Service-Response-Messages

Name
session-started
no-packages-found
found-package
package-details
found-feed
scanning-packages
installing-package
installed-package
failed-install-package
failed-remove-package
require-remote-file
signature-validation
operation-requires-permission
message-argument-error
file-not-found
unknown-package
package-is-blocked
unable-to-recognize-file
Clone this wiki locally