Skip to content

GetSCCompiledVersion requires that SetSCCompiledVersion was used when installing ServiceCenter #145

@sergiomiranda-outsystems

Description

The functions GetSCCompiledVersion, GetSysComponentsCompiledVersion and GetLifetimeCompiledVersion check a registry key that is created by the corresponding Set*CompiledVersion function, so to work properly they require the previous use of those functions to setup the environment and create the registry key.

This dependency means that if a function that depends on GetSCCompiledVersion, GetSysComponentsCompiledVersion or GetLifetimeCompiledVersion (and there several) is used in an environment that was not installed/configured using SetupTools, they will fail or have inconsistent behaviour.

An example is Install-OSPlatformLicense, which will fail with the error:

Install-OSPlatformLicense : Service Center version mismatch. You should run the Install-OSPlatformServiceCenter first

because it uses GetSCCompiledVersion to compare the current version of Service Center to the version of Platform Server installed, and GetSCCompiledVersion returns an empty string if ServiceCenter was not published using SetupTool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions