Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<?xml version="1.0" encoding="utf-8"?>
<AnyTimeProfileDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	
	<!-- Configure how Offline is installed -->
	<InstallSettings />
	
	<!-- Configure how Offline is uninstalled -->
	<UninstallSettings />
	
	<!-- Use an X.509 certificate from user machine to authenticate -->
	<CertificateSettings />
	
	<!-- Use an external provider with OAuth2 Device Grant support to authenticate -->
	<OAuth2DeviceSettings />
</AnyTimeProfileDefinition>

Install settings

Code Block
languagexml
<InstallSettings silent="false">
  <!-- Settings for the shortcuts that appear in Windows Start Menu -->
  <Shortcuts />

  <!-- To register AnyTime to the Windows programs list -->
  <ProgramEntryDefinition />
</InstallSettings>

...

If this setting is missing from the configuration file, it will default to false.

Shortcuts

Used to customize the Windows Start Menu shortcut for the Offline applications.

Code Block
languagexml
<Shortcuts>
  <Application enabled="true">
    <Title>KLA VFI 2.0</Title>
    <Comment>KLA VFI Offline application</Comment>
  </Application>
  
  <Uninstaller enabled="false">
    <Title>KLA VFI 2.0 Uninstall</Title>
    <Comment>Uninstaller for the KLA VFI application</Comment>
  </Uninstaller>
</Shortcuts>

Windows programs list registration

It is possible to customize how the Offline Client appears in the Windows programs list. This can be achieved by configuring the <ProgramEntryDefinition> setting in anytime.setup.config.

...

Code Block
<!-- File: anytime.setup.config -->
<ProgramEntryDefinition>
  <Id>Signifikant_Offline</Id>
  <DisplayName>KLA VFI 2.0</DisplayName>
  <Publisher>Signifikant</Publisher>
  <DisplayVersion>2.0</DisplayVersion>
  <UrlInfoAbout>https://signifikant.se</UrlInfoAbout>
  <InstallLocation>C:\ProgramData\Signifikant\Assert AnyTime</InstallLocation>
  <UninstallString>"C:\ProgramData\Signifikant\Assert AnyTime\AssertAnyTime.Uninstall.exe"</UninstallString>
</ProgramEntryDefinition>

Uninstall settings

Code Block
languagexml
<UninstallSettings silent="true" />

...

If this setting is missing from the configuration file, it will default to false.

Authentication

Configure how the Offline app authenticates against the Synchronization API.

Certificate-based authentication

Code Block
languagexml
<CertificateSettings enabled="true">
  <StoreName>My</StoreName>
  <StoreLocation>CurrentUser</StoreLocation>
  <Issuer>kla-tencor</Issuer>
  <SubjectEmailDomains>kla-tencor.com,kla.com</SubjectEmailDomains>
</CertificateSettings>

...

  • enabled: If true, the configured certificate will be used for authentication, otherwise, it will use the default basic authentication method (username/password)

  • StoreName: Specific value used to find the certificate on the user’s machine. If it’s a personal certificate, then the store name will be My.

  • StoreLocation: This is also used to find the certificate. In case of a user certificate, the location will be CurrentUser.

  • Issuer: The Certificate Authority (CA) responsible for issuing the certificate.

  • SubjectEmailDomains: A list of comma-separated domains that can suffix the user email

OAuth2 Device Grant authentication

This will allow the Offline app to authenticate using the OAuth 2.0 Device Authorization Grant which allows devices with an Internet connection but with no support for a browser to authenticate. It’s also widely used to authenticate desktop applications.

...

The various settings should come from the Identity Provider.

Miscellaneous settings

These settings should be placed at the root of the file (under AnyTimeProfileDefinition and can be used to configure a variety of things:

...