fwInstallation  8.4.1
Functions
fwInstallationDeprecated.ctl File Reference

Functions

int fwInstallationXml_create (string pathName, string componentName, string componentVersion, string componentDate, dyn_string requiredComponents, bool isSubComponent, dyn_string preInitScripts, dyn_string initScripts, dyn_string deleteScripts, dyn_string postInstallScripts, dyn_string postDeleteScripts, dyn_string configFiles, dyn_string asciiFiles, dyn_string panelFiles, dyn_string scriptFiles, dyn_string libraryFiles, dyn_string otherFiles, bool dontRestartProject, dyn_string &xmlDesc)
 
 fwInstallation_getComponentDescriptionXML (string descFile)
 
 fwInstallation_addScriptsIntoFile (dyn_string &dynScriptsToBeAdded, string strComponentName)
 
int fwInstallation_fwScriptsAddedToProgsFile ()
 
 fwInstallation_createDpl (string fileName, dyn_string dataPointNames, dyn_string dataPointTypes="", string filter="DAOP")
 
int fwInstallation_packNgo (string destinationFolder, dyn_string xmlDesc)
 
int fwInstallation_appendManager (bool defActivated, string manTitle, string manager, string startMode, int secKill, int restartCount, int resetMin, string commandLine)
 
int fwInstallation_appendDriver (string defActivated, string manTitle, string manager, string startMode, int secKill, int restartCount, int resetMin, string commandLine)
 
int fwInstallation_addManager (string manager, string startMode, int secKill, int restartCount, int resetMin, string commandLine)
 
int fwInstallation_findManager (string manager, string commandLine, string &startMode, int &managerPos)
 
 pmonGetManagers (bool &err, string projName, dyn_int &manPos, dyn_string &manager, dyn_int &startMode, dyn_int &secKill, dyn_int &restartCount, dyn_int &resetMin, dyn_string &commandLine)
 
int fwInstallation_compactSection (string section)
 
int fwInstallation_addLibrary (string section, dyn_string libraryName)
 
int fwInstallation_getXml (string docPath, dyn_string &tags, dyn_string &values, dyn_anytype &attribs)
 
int fwInstallation_getXmlTag (string docPath, string tag, dyn_string &FilteredValues, dyn_anytype &FilteredAttribs)
 
int fwInstallation_xmlChildNodesContent (unsigned doc, int node, dyn_string &node_names, dyn_anytype &attributes, dyn_string &nodevalues, dyn_string &exceptionInfo)
 
int fwInstallation_shallStopManager (string managerType)
 
int fwInstallation_stopManagers (dyn_string types)
 
int fwInstallation_logCurrentManagerConfiguration (string manager, string startMode, int secKill, int restartCount, int resetMin, string commandLine)
 
int fwInstallation_getManagerIndex (string manager, string commandLine, int &pos)
 
int fwInstallation_setManagerMode (string manager, string commandLine, string mode)
 
int fwInstallation_executeAllManagerReconfigurationActions ()
 
int fwInstallation_executeManagerReconfigurationAction (string manager, string startMode, int secKill, int restartCount, int resetMin, string commandLine)
 
int fwInstallation_getManagerReconfigurationActions (dyn_string &dsManager, dyn_string &dsStartMode, dyn_int &diSecKill, dyn_int &diRestartCount, dyn_int &diResetMin, dyn_string &dsCommandLine)
 
int fwInstallation_setManagerReconfigurationActions (dyn_string dsManager, dyn_string dsStartMode, dyn_int diSecKill, dyn_int diRestartCount, dyn_int diResetMin, dyn_string dsCommandLine)
 
int fwInstallation_deleteManagerReconfigurationAction (string manager, string startMode, int secKill, int restartCount, int resetMin, string commandLine)
 
int fwInstallation_loadProjPaths (dyn_string &proj_paths)
 
int fwInstallationDB_getRemoteConnections (string systemName, string computerName, dyn_mixed &connectedSystemsInfo)
 
 fwInstallation_addComponentIntoConfigRedu (string componentConfigReduFile, string componentName)
 
int fwInstallation_AddComponentIntoConfigIntoMemory (dyn_string &loadedSections, dyn_dyn_string &configSectionTable, dyn_string &configLines, string fileName, string componentName)
 
int fwInstallation_addValueIntoMemory (dyn_dyn_string &configSectionTable, string section, string parameter, string value)
 
int fwInstallation_configContainsValue (dyn_dyn_string &configSectionTable, string section, string parameter, string value)
 
int fwInstallation_deleteComponentFromConfigInMemory (dyn_string &loadedSections, dyn_dyn_string &configSectionTable, dyn_string &configLines, string componentName)
 
int fwInstallation_loadConfigIntoTables (dyn_string &loadedSections, dyn_dyn_string &configSectionTable, dyn_string &configLines, string fileName)
 
int fwInstallation_updateVersion ()
 
void fwInstallation_updateComponentVersionFormat (string componentName, int reduHostNum=0)
 
 fwInstallation_getListOfNotProperlyInstalledComponents (dyn_string &dynNotProperlyInstalled)
 
int fwInstallation_checkScript (string sourceDir, string subPath, string script)
 
int fwInstallation_verifyPackage (string sourceDir, string subPath, string componentName, string destinationDir, bool registerOnly, dyn_string dynInitFiles, dyn_string dynPostInstallFiles, dyn_string dynDeleteFiles, dyn_string dynPostDeleteFiles, const dyn_string &dynFileNames, int isSilent, bool &actionAborted)
 
void deleteComponents (dyn_string dynComponentsNames, bool deleteFiles)
 
synchronized fwInstallation_getInstalledComponentsUI (int reduHostNum=0)
 
string _fwInstallation_proposeInstallationDir ()
 
int fwInstallationXml_decode (string strComponentFile, string &componentName, string &componentVersion, string &date, dyn_string &dynRequiredComponents, bool &isSubComponent, dyn_string &dynPreInitFiles, dyn_string &dynInitFiles, dyn_string &dynDeleteFiles, dyn_string &dynPostInstallFiles, dyn_string &dynPostDeleteFiles, dyn_string &dynConfigFiles_general, dyn_string &dynConfigFiles_windows, dyn_string &dynConfigFiles_linux, dyn_string &dynDplistFiles, dyn_string &dynPanelFiles, dyn_string &dynScriptFiles, dyn_string &dynLibFiles, dyn_string &dynComponentFiles, dyn_string &dynSubComponents, dyn_string &dynScriptsToBeAdded, dyn_string &dynFileNames, bool &dontRestartProject)
 
int fwInstallation_init (bool runPostInstall=true, string installationPath="")
 
 fwInstallation_addLibToConfig ()
 
 _fwInstallation_createDataPointTypes (bool create, int &result)
 
int _fwInstallation_createPendingActionsDataPointType ()
 
int fwInstallation_createPendingActionsDp ()
 
int fwInstallation_updateDPT ()
 
int fwInstallation_setAddManagersOnReduPartner (bool addManagersOnReduPartner)
 
 fwInstallation_updateComponentDps ()
 
bool fwInstallation_isAgentInstalled ()
 
int fwInstallation_installAgent ()
 
int fwInstallation_updateToolVersionInDp ()
 
int fwInstallation_loadInitFile ()
 
int fwInstallation_runInitScript ()
 
int fwInstallation_updateWCCOAInfo ()
 
int fwInstallation_updatePendingInstallationActions ()
 
int _fwInstallation_createAgentDataPointType (string type, bool create)
 
float fwInstallation_stringVersionAsFloat (string reqVersion, int &version, int &major, int &minor)
 

Detailed Description

This library contains deprecated funtions of fwInstallation component. They should not be used in developers' scripts. If they are in use already, should be replaced by proposed alternative function. If any assistance is needed please contact Iceco.nosp@m.ntro.nosp@m.ls.Su.nosp@m.ppor.nosp@m.t@cer.nosp@m.n.ch

Function Documentation

int fwInstallationXml_create ( string  pathName,
string  componentName,
string  componentVersion,
string  componentDate,
dyn_string  requiredComponents,
bool  isSubComponent,
dyn_string  preInitScripts,
dyn_string  initScripts,
dyn_string  deleteScripts,
dyn_string  postInstallScripts,
dyn_string  postDeleteScripts,
dyn_string  configFiles,
dyn_string  asciiFiles,
dyn_string  panelFiles,
dyn_string  scriptFiles,
dyn_string  libraryFiles,
dyn_string  otherFiles,
bool  dontRestartProject,
dyn_string &  xmlDesc 
)
This function creates a component description file (xml).
Deprecated:
Parameters
pathName(in) path for the output file {if empty, only create xmlDesc}
componentName(in) name of the component {required}
componentVersion(in) version number of the component {required}
componentDate(in) date of the component {will set current date if empty}
requiredComponents(in) list of required components (componentName=minimalVersionNumber)
isSubComponent(in) TRUE if subcomponent
initScripts(in) scripts to be run during installation
deleteScripts(in) scripts to be run during deletion
postInstallScripts(in) scripts to be run after installation and subsequent restart {
postDeleteScripts(in) scripts to be run after deletion and subsequent restart
configFiles(in) config files for the project {need to be in ./config/, do not specify path}
asciiFiles(in) dplist files for the project {need to be in ./dplist/, do not specify path}
panelFiles(in) panel files for the project {need to be in ./panels/, do only specify sub-path}
scriptFiles(in) script files for the project {need to be in ./scripts/, do only specify sub-path}
libraryFiles(in) library files for the project {need to be in ./scripts/libs/, do only specify sub-path}
otherFiles(in) miscellaneous files for the project {do only specify sub-path from PROJ_PATH}
dontRestartProject(in) flag indicating if the restart of the project can be omitted after the installation of the component
xmlDesc(out) complete xml description
Returns
0 - xml file created, -1 - file creation failed, -2 - parameters missing
Author
Sascha Schmeling and Fernando Varela.
fwInstallation_getComponentDescriptionXML ( string  descFile)
This function retrieves the component information from the xml file and
displays it in the panel
Deprecated:
Parameters
descFile,:the name of a file with component description
Author
M.Sliwinski
Deprecated:
fwInstallation_addScriptsIntoFile ( dyn_string &  dynScriptsToBeAdded,
string  strComponentName 
)
This function updates the fwScripts.lst file to be run by ctrl manager
Deprecated:
Parameters
dynScriptsToBeAdded,:a dynamic string with file names of scripts to be added to fwScripts.lst file
strComponentName,:the name of the component for which the scripts are added
Author
M.Sliwinski
int fwInstallation_fwScriptsAddedToProgsFile ( )
This function checks the progs file if the fwScripts.lst has been added to it
Deprecated:
Returns
: 0 - if fwScripts.lst is added into progs file, -1 - if fwScripts.lst does not exist in progs file
Author
M.Sliwinski
fwInstallation_createDpl ( string  fileName,
dyn_string  dataPointNames,
dyn_string  dataPointTypes = "",
string  filter = "DAOP" 
)
This function allows to make an ASCII export with specific filters.
Deprecated:
Parameters
fileNamepath and name of the output file
dataPointNamesnames of the dps to be put out
dataPointTypesnames of the dpts to be put out (default all)
filterfilter on dps/dpts (default dps with alerts, params, and original values)
Author
Sascha Schmeling and Fernando Varela
int fwInstallation_packNgo ( string  destinationFolder,
dyn_string  xmlDesc 
)
This function packs a component and saves it according to an xml description.
Deprecated:
Parameters
destinationFolderpath for the component package (does not need to exist)
xmlDesccomplete xml description (for experts)
Returns
0 - component completely packed, -n - n component items not found
Author
Sascha Schmeling
int fwInstallation_appendManager ( bool  defActivated,
string  manTitle,
string  manager,
string  startMode,
int  secKill,
int  restartCount,
int  resetMin,
string  commandLine 
)
This function allows to insert a manager into a project. 

The function is meant to be used in the init or postInstall scripts of a framework component. It will popup a user interface asking whether to activate the manager if needed.

Deprecated:
Parameters
defActivatedFALSE - deactivated, TRUE - activated (if the user interface times out)
manTitletitle to be shown to the user
managername of the manager
startMode{manual, once, always}
secKillseconds to kill after stop
restartCountnumber of restarts
resetMinrestart counter reset time (minutes)
commandLinecommandline for the manager
Returns
1 - manager added, 2 - manager already existing, 3 - no user interface, 0 - manager addition failed
Author
Sascha Schmeling
int fwInstallation_appendDriver ( string  defActivated,
string  manTitle,
string  manager,
string  startMode,
int  secKill,
int  restartCount,
int  resetMin,
string  commandLine 
)
This function allows to insert a driver into a project. 

The function is meant to be used in the init or postInstall scripts of a framework component. It will popup a user interface asking whether to activate the driver or the corresponding simulator if needed.

Deprecated:
Parameters
defActivatedNONE - deactivated, {DRIVER,SIM} - activated the respective manager (if the user interface times out)
manTitletitle to be shown to the user
managername of the manager
startMode{manual, once, always}
secKillseconds to kill after stop
restartCountnumber of restarts
resetMinrestart counter reset time (minutes)
commandLinecommandline for the manager
Returns
1 - manager added, 2 - manager already existing, 3 - no user interface, 0 - manager addition failed
Author
Sascha Schmeling
int fwInstallation_addManager ( string  manager,
string  startMode,
int  secKill,
int  restartCount,
int  resetMin,
string  commandLine 
)
This function allows to insert a manager into a project. It is checked before, if the 

manager already exists.

Deprecated:
Parameters
managername of the manager
startMode{manual, once, always}
secKillseconds to kill after stop
restartCountnumber of restarts
resetMinrestart counter reset time (minutes)
commandLinecommandline for the manager
Returns
1 - manager added, 2 - manager already existing, 3 - manager addition disabled, 0 - manager addition failed
Author
Sascha Schmeling
int fwInstallation_findManager ( string  manager,
string  commandLine,
string &  startMode,
int &  managerPos 
)
This function allows to find a manager in a project. 
Deprecated:
Parameters
managername of the manager
commandLinecommandline for the manager
startMode{manual, once, always}
Returns
1 - manager found, 2 manager not found, 0 - failed
Author
Sascha Schmeling
pmonGetManagers ( bool &  err,
string  projName,
dyn_int &  manPos,
dyn_string &  manager,
dyn_int &  startMode,
dyn_int &  secKill,
dyn_int &  restartCount,
dyn_int &  resetMin,
dyn_string &  commandLine 
)
This function retrieves all managers from pmon
Deprecated:
Parameters
errerror code
projNamename of the project, "" for own
manPosposition of the manager
managername of the manager
startMode0 manual, 1 once, 2 always
secKillseconds to kill after stop
restartCountnumber of restarts
resetMinrestart counter reset time (minutes)
commandLinecommandline for the manager
Author
Sascha Schmeling
int fwInstallation_compactSection ( string  section)
This function will put together the specified section, that consists of several distributed parts.
Deprecated:
Parameters
section,:string to define the section which will be compacted
Returns
0 - "success" -1 - error -2 - section does not exist
Author
S. Schmeling
int fwInstallation_addLibrary ( string  section,
dyn_string  libraryName 
)
This function adds a library entry to a specified section of the config file.
Deprecated:
Parameters
section,:string to define the section where the library has to be added (will be created if not existing)
libraryName,:dyn_string containing the library names to be added
Returns
0 - "success" -1 - error
Author
S. Schmeling
int fwInstallation_getXml ( string  docPath,
dyn_string &  tags,
dyn_string &  values,
dyn_anytype &  attribs 
)

Deprecated function

int fwInstallation_getXmlTag ( string  docPath,
string  tag,
dyn_string &  FilteredValues,
dyn_anytype &  FilteredAttribs 
)

Deprecated function

int fwInstallation_xmlChildNodesContent ( unsigned  doc,
int  node,
dyn_string &  node_names,
dyn_anytype &  attributes,
dyn_string &  nodevalues,
dyn_string &  exceptionInfo 
)

Deprecated function

int fwInstallation_shallStopManager ( string  managerType)

Deprecated function

int fwInstallation_stopManagers ( dyn_string  types)

Deprecated function

int fwInstallation_logCurrentManagerConfiguration ( string  manager,
string  startMode,
int  secKill,
int  restartCount,
int  resetMin,
string  commandLine 
)

Deprecated function

int fwInstallation_getManagerIndex ( string  manager,
string  commandLine,
int &  pos 
)

Deprecated function

int fwInstallation_setManagerMode ( string  manager,
string  commandLine,
string  mode 
)

Deprecated function

int fwInstallation_executeAllManagerReconfigurationActions ( )

Deprecated function

int fwInstallation_executeManagerReconfigurationAction ( string  manager,
string  startMode,
int  secKill,
int  restartCount,
int  resetMin,
string  commandLine 
)

Deprecated function

int fwInstallation_getManagerReconfigurationActions ( dyn_string &  dsManager,
dyn_string &  dsStartMode,
dyn_int &  diSecKill,
dyn_int &  diRestartCount,
dyn_int &  diResetMin,
dyn_string &  dsCommandLine 
)

Deprecated function

int fwInstallation_setManagerReconfigurationActions ( dyn_string  dsManager,
dyn_string  dsStartMode,
dyn_int  diSecKill,
dyn_int  diRestartCount,
dyn_int  diResetMin,
dyn_string  dsCommandLine 
)

Deprecated function

int fwInstallation_deleteManagerReconfigurationAction ( string  manager,
string  startMode,
int  secKill,
int  restartCount,
int  resetMin,
string  commandLine 
)

Deprecated function

int fwInstallation_loadProjPaths ( dyn_string &  proj_paths)

Deprecated function

int fwInstallationDB_getRemoteConnections ( string  systemName,
string  computerName,
dyn_mixed &  connectedSystemsInfo 
)

Deprecated function

fwInstallation_addComponentIntoConfigRedu ( string  componentConfigReduFile,
string  componentName 
)

================================ Deprecated config file functions ================================ This function reads the information from the componentConfigReduFile and copies it into the project config.redu file.

Parameters
componentConfigReduFile,:the name of a componentConfigFile
componentName,:the name of a component
Deprecated:
2018-05-24

Deprecated function

int fwInstallation_AddComponentIntoConfigIntoMemory ( dyn_string &  loadedSections,
dyn_dyn_string &  configSectionTable,
dyn_string &  configLines,
string  fileName,
string  componentName 
)
This function reads the information from the component config file and saves the information into memory:

loadedSections and configSectionTable - the tables containing the information about the sections:parameters:values configLines: the table containing the lines of a config file

Parameters
loadedSections,:the list of loaded sections
configSectionTable,:the memory representation of a config file [1][i] - [section:parameter] , [i+1][j] - [value]
configLines,:the dyn_string containing the lines of a config file
fileName,:the name of a config file of a component
componentName,:the name of a component
Author
M.Sliwinski
Deprecated:
2018-05-24

Deprecated function

int fwInstallation_addValueIntoMemory ( dyn_dyn_string &  configSectionTable,
string  section,
string  parameter,
string  value 
)
This function adds [section:parameter] , [value] data into the memory representation of a config file
Parameters
configSectionTable,:the memory representation of a config file [1][i] - [section:parameter] , [i+1][j] - [value]
section,:the value of a section
parameter,:the value of a parameter
value,:the value of a "value"
Author
M.Sliwinski
Deprecated:
2018-05-24

Deprecated function

int fwInstallation_configContainsValue ( dyn_dyn_string &  configSectionTable,
string  section,
string  parameter,
string  value 
)
This function checks whether the section-parameter-value is defined in the memory
Parameters
configSectionTable,:the memory representation of a config file [1][i] - [section:parameter] , [i+1][j] - [value]
section,:the value of a section
parameter,:the value of a parameter
value,:the value of a "value"
Author
M.Sliwinski
Deprecated:
2018-05-24

Deprecated function

int fwInstallation_deleteComponentFromConfigInMemory ( dyn_string &  loadedSections,
dyn_dyn_string &  configSectionTable,
dyn_string &  configLines,
string  componentName 
)
This function deletes the config info about a component from the memory representation of a config file - [section:parameter] , [value]

and from the configLines dyn_string

Parameters
loadedSections,:the list of sections loaded from the config file
configSectionTable,:the memory representation of a config file [1][i] - [section:parameter] , [i+1][j] - [value]
configLines,:the dyn_string containing the lines from the config file
componentName,:the name of a component to be deleted
Author
M.Sliwinski
Deprecated:
2018-05-24

Deprecated function

int fwInstallation_loadConfigIntoTables ( dyn_string &  loadedSections,
dyn_dyn_string &  configSectionTable,
dyn_string &  configLines,
string  fileName 
)
This function builds the memory representation of a config file
Parameters
loadedSections,:the list of sections loaded from the config file
configSectionTable,:the memory representation of a config file [1][i] - [section:parameter] , [i+1][j] - [value]
configLines,:dyn_string containing the lines from the config file
fileName,:the name of a config file
Author
M.Sliwinski
Deprecated:
2018-05-24

Deprecated function

int fwInstallation_updateVersion ( )

================================ End of config file functions ================================ This function updates the version number of the installation tool from previous versions

Returns
0 if OK, -1 if errors
Deprecated:
2018-10-15
void fwInstallation_updateComponentVersionFormat ( string  componentName,
int  reduHostNum = 0 
)
Deprecated:
2018-10-24
fwInstallation_getListOfNotProperlyInstalledComponents ( dyn_string &  dynNotProperlyInstalled)
This function retrieves the list of components which were not properly installed - there was error in dependencies

and the user still wanted to install the component.

Parameters
dynNotProperlyInstalled,:the list of components which were installed with broken dependencies - .requiredInstalled:_original.._value is false
Author
M.Sliwinski
Deprecated:
2018-10-26
int fwInstallation_checkScript ( string  sourceDir,
string  subPath,
string  script 
)

This function checks the syntax of a component script

Deprecated:
2018-10-01
Note
Obsolete: From version 8.1.1 script checking is no longer performed (FWINS-2105)
Parameters
sourceDir(in) source directory for installation
subPath(in) path to the appended to the source directory
scriptname of the script to be tested
Returns
0 if OK, -1 if errors
int fwInstallation_verifyPackage ( string  sourceDir,
string  subPath,
string  componentName,
string  destinationDir,
bool  registerOnly,
dyn_string  dynInitFiles,
dyn_string  dynPostInstallFiles,
dyn_string  dynDeleteFiles,
dyn_string  dynPostDeleteFiles,
const dyn_string &  dynFileNames,
int  isSilent,
bool &  actionAborted 
)

This function verifies the integrity of a package

Deprecated:
2018-10-01 Use fwInstallation_verifyDestinationDirAndSourceFiles() instead
Parameters
sourceDir(in) source directory for installation
subPath(in) path to be appended to the sourceDir
componentName(in) name of the component being installed
destinationDir(in) target directory for installation
registerOnly(in) flag indicating whether file copying can be avoided or not if the files already exist
dynInitFiles(in) component init scripts - obsolete - no longer used
dynPostInstallFiles(in) component post-install scripts - obsolete - no longer used
dynDeleteFiles(in) component delete scripts - obsolete - no longer used
dynPostDeleteFiles(in) component post-delete scripts
dynFileNames(in) component files
isSilent(in) flag to define if the installation is silent, i.e. no pop-ups
actionAborted(out) flag that indicates if the action was aborted by the user
Returns
0 if OK, -1 if error
void deleteComponents ( dyn_string  dynComponentsNames,
bool  deleteFiles 
)
Deprecated:
2018-10-26
synchronized fwInstallation_getInstalledComponentsUI ( int  reduHostNum = 0)
This function retrieves the installed components from the PVSS database and 

fills the graphic table - "tblInstalledComponents"

Author
M.Sliwinski and F. Varela
Deprecated:
2018-10-26
string _fwInstallation_proposeInstallationDir ( )

This function proposes an installation directory

Deprecated:
2018-11-06
Returns
path to the installation directory defined by the user as a string
int fwInstallationXml_decode ( string  strComponentFile,
string &  componentName,
string &  componentVersion,
string &  date,
dyn_string &  dynRequiredComponents,
bool &  isSubComponent,
dyn_string &  dynPreInitFiles,
dyn_string &  dynInitFiles,
dyn_string &  dynDeleteFiles,
dyn_string &  dynPostInstallFiles,
dyn_string &  dynPostDeleteFiles,
dyn_string &  dynConfigFiles_general,
dyn_string &  dynConfigFiles_windows,
dyn_string &  dynConfigFiles_linux,
dyn_string &  dynDplistFiles,
dyn_string &  dynPanelFiles,
dyn_string &  dynScriptFiles,
dyn_string &  dynLibFiles,
dyn_string &  dynComponentFiles,
dyn_string &  dynSubComponents,
dyn_string &  dynScriptsToBeAdded,
dyn_string &  dynFileNames,
bool &  dontRestartProject 
)

This function decodes an XML file (obsolete, legacy)

Deprecated:
2018-11-23
Parameters
strComponentFile(in) XML file loaded into a string
componentName(out) name of the component
componentVersion(out) version of the component
date(out) date when the component was packaged
dynRequiredComponents(out) list of required components
isSubComponent(out) flag indicating if the component is a subcomponent
dynInitFiles(out) list of init scripts
dynDeleteFiles(out) list of delete scripts
dynPostInstallFiles(out) list of post-install scripts
dynPostDeleteFiles(out) list of post-delete scripts
dynConfigFiles_general(out) list of config files for both Windows and Linux
dynConfigFiles_windows(out) list of config files specific for Windows
dynConfigFiles_linux(out) list of config files specific for Linux
dynDplistFiles(out) list of dpl files
dynPanelFiles(out) list of panels
dynScriptFiles(out) list of scripts
dynLibFiles(out) list of libraries
dynComponentFiles(out) full list of component files
dynSubComponents(out) list of subcomponents
dynScriptsToBeAdded(out) list of scripts (legacy, obsolete)
dynFileNamesfull (out) list of files (legacy, obsolete)
dontRestartProject(out) flag indicating if the restart of the project can be omitted after the installation of the component
Returns
0 if OK, -1 if error
int fwInstallation_init ( bool  runPostInstall = true,
string  installationPath = "" 
)
Deprecated:
2019-08-14
fwInstallation_addLibToConfig ( )
Deprecated:
2019-08-14
_fwInstallation_createDataPointTypes ( bool  create,
int &  result 
)
Deprecated:
2019-08-14
int _fwInstallation_createPendingActionsDataPointType ( )
Deprecated:
2019-08-14
int fwInstallation_createPendingActionsDp ( )
Deprecated:
2019-08-14
int fwInstallation_updateDPT ( )
Deprecated:
2019-08-14
int fwInstallation_setAddManagersOnReduPartner ( bool  addManagersOnReduPartner)
Deprecated:
2019-08-14
fwInstallation_updateComponentDps ( )
Deprecated:
2019-08-14
bool fwInstallation_isAgentInstalled ( )
Deprecated:
2019-08-14
int fwInstallation_installAgent ( )
Deprecated:
2019-08-14
int fwInstallation_updateToolVersionInDp ( )
Deprecated:
2019-08-14
int fwInstallation_loadInitFile ( )
Deprecated:
2019-08-14
int fwInstallation_runInitScript ( )
Deprecated:
2019-08-14
int fwInstallation_updateWCCOAInfo ( )
Deprecated:
2019-08-14
int fwInstallation_updatePendingInstallationActions ( )
Deprecated:
2019-08-14
int _fwInstallation_createAgentDataPointType ( string  type,
bool  create 
)
Deprecated:
2019-08-14
float fwInstallation_stringVersionAsFloat ( string  reqVersion,
int &  version,
int &  major,
int &  minor 
)

Converts a Component or Tool version from string to float for easy comparison

Parameters
reqVersion- (in) name of the pvss version
version- (out) number corresponding to the version of the release
major- (out) number corresponding to the major version of the release
minor- (out) number corresponding to the minor version of the release
Returns
pvss version as a float
Deprecated:
2019-12-02