Skip to main content

IPM.Installer

class IPM.Installer extends %Projection.AbstractProjection

Method Inventory

Parameters

parameter FILESCOUNT = 0;
Number of files for autoinstall release
parameter VERSION;
Version used for autoinstall release

Methods

classmethod AsyncSetup(Args...)
classmethod CleanupOldMappings() as %Status
When installing a new version of IPM, make sure any old mappings are cleaned up
classmethod CollectPackage(pPath As %String, Output pList, pRoot As %String)
classmethod CompactPackage(ByRef pList) as %Status
classmethod CreateTempDir() as %String
classmethod EndCompile(qstruct) as %Status
Inherited description: This is called as close to the end of the compile as possible so it can do cleanup work or more usefully it can avoid doing work multiple times. For example if class User.A would modify MyFile.txt normally in the CreateProjection() method and class User.B would normally modify the same file when it is compiled and you compile both these classes together then you may end up generating MyFile.txt twice and so doing duplicate work. By changing this so CreateProjection() just adds 'MyFile.txt' to the queue of things to be done and then processing this list in this method, making sure to only do each piece of work once, you can process the fully up to date state of User.A and User.B to create the correct MyFile.txt just once.

Note that this method will be called just once per projection subclass, so CreateProjection() may be called multiple times for each class with this projection type, but this method will only be called once at the end of the compile.

classmethod ExtractPackage(Output pFolder As %String) as %String
classmethod InitializeAndSignal()
classmethod InstallORASIfMissing()
classmethod Make(pPackage As %Stream.Object, ByRef pStream As %Stream.TmpCharacter) as %Status
classmethod MakeFile(pPackagePath As %String, pInstaller As %String)
classmethod MapIfLegacy()
classmethod NeedInstall(Output version As %String)
Check currently installed version, if any
classmethod ORASInstalled() [ Language = python ]
classmethod PythonMajorMinorVersion() [ Language = python ]
classmethod ValidatePythonRuntime() as %Boolean
classmethod ZPMInit(pRegistry As %String = "", pAnalyticsTrackingID As %String = "")
classmethod ZPMLoad(pDirectoryName)

Inherited Members

Inherited Methods

FeedbackOpens in a new tab