Salesforce

Magic.ini Converter (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Magic.ini Converter (Magic xpa 2.x)

When migrating from eDeveloper V9 to Magic xpa, the configuration settings in the V9 Magic.ini file must be modified to be compatible with Magic xpa. The Magic.ini Converter is a Magic xpa application supplied with the Magic xpa installation for this purpose.

Running the Magic.ini Converter

You can access the INI Conversion Utility from the following location: Windows Start menu > (All) Programs > Magic xpa [version number] > Migration > INI Conversion utility.

Click the Next button on the Welcome Screen to specify the locations of the following:

  • V9 installation directory

  • V9 Magic.ini file

  • Magic xpa Ini.eng file

  • Magic xpa Magic.ini file

Click the Run button to create the Magic xpa Magic.ini file. If the Magic xpa Magic.ini file already exists, click Yes to confirm that it be overwritten.

Migration of Magic.ini Settings During V9-to-Magic xpa Conversion

MAGIC_SYSTEMS

The V9 Systems settings are not copied into Magic xpa.

MAGIC_SERVERS

The Server settings are copied from the Magic xpa Ini.eng file.

MAGIC_SERVICES

The Services settings are copied from the Magic xpa Ini.eng file.

V9 SOAP services (DEFAULT SOAP SERVER) are converted into SOAP Lite services (SOAP LITE) in Magic xpa. (Since version: 1.8 SP1)

MAGIC_COMMS

The Communications settings are copied from the Magic xpa Ini.eng file.

MAGIC_LOGICAL_NAMES

The Logical Names settings are copied from the V9 Magic.ini file.

MAGIC_PRINTERS

The Printer settings are copied from the V9 Magic.ini file.

MAGIC_LANGUAGE

The Language settings are copied from the V9 Magic.ini file.

MAGIC_JAVA

The JAVA settings are copied from the V9 Magic.ini file.

MAGIC_GATEWAYS

The Gateway settings are copied from the Magic xpa Ini.eng file.

TOOLS_MENU

The V9 Tools Menu settings are not copied into Magic xpa. Instead, they are taken from the Magic xpa Ini.eng file.

INTERFACE_BUILDERS

The V9 Interface Builder settings are not copied into Magic xpa.

MAGIC_SPECIALS

The Special settings are copied from the V9 Magic.ini file.

MAGIC_DATABASES

The Databases settings are copied from the V9 Magic.ini file with some options removed. The structure is changed to conform to the Magic xpa structure.

MAGIC_DBMS

Each entry for the DBMS settings in the Magic xpa Ini.eng file is checked against the V9 entry, and the appropriate data is copied from the V9 Magic.ini file with some options removed. The structure is changed to conform to the Magic xpa structure.

MAGIC_ENV

Each entry for the Environment settings in the Magic xpa Ini.eng file is checked against the corresponding V9 entry, and if the value is different, the appropriate data is copied from the V9 Magic.ini file.

Licenses

The LicenseFile and LicenseName settings are copied from the Magic xpa Ini.eng file.

Colors

The RuntimeApplicationColorDefinitionFile is copied from the V9 ColorDefinitionFile. If this is a relative path, the V9 Installation Directory is added to it.

The StudioColorDefinitionFile is copied from the Magic xpa Ini.eng file.

The RuntimeInternalColorDefinitionFile is copied from the Magic xpa Ini.eng file.

Fonts

The RuntimeApplicationFontDefinitionFile is copied from the V9 FontDefinitionFile. If this is a relative path, the V9 Installation Directory is added to it.

The StudioFontDefinitionFile is copied from the Magic xpa Ini.eng file.

The RuntimeInternalFontDefinitionFile is copied from the Magic xpa Ini.eng file.

Security File

The user_std file is taken from Magic xpa.

Keyboard Mapping

StudioKeyboardMappingFile – This file is copied from the Magic xpa Ini.eng file.

The RuntimeKeyboardMappingFile is copied from the V9 KeyboardMappingFile. The V9 Installation Directory is added to it.

Web Files

The files listed below are copied from the Magic xpa Ini.eng file.

  • WebDocumentPath

  • InternetDispatcherPath

  • WebDocumentAlias

  • CTLCacheFilesPath

  • CTLCacheFilesAlias

Renamed Properties

Some properties were renamed or had their properties changed:

  • StartApplication is set to blank in Magic xpa.

  • ApplicationStartup is named DeploymentMode in Magic xpa. If this was set to T, it is reset to R.

Removed Properties

The properties listed below were removed:

  • MultiUser

  • FlowModify

  • AccessApplications

  • AccessToolkit

  • TempPath

  • RequestsServerCanReplaceCtl

  • EuroFile

  • LoadMonitor

  • Monitor2File

  • RemoteFlowMonitor

  • RemoteFlowPortNumber

  • Ansi2Unicode

  • ForegroundContextManagement

Extra V9 properties

The MDIClientImageFileSome INI property does not exist in the Ini.eng file but may be added at will.

If this property is found, it will be copied from the V9 Magic.ini file to the Magic xpa Magic.ini file.

User-defined sections

User-defined sections are copied from the V9 Magic.ini file to the Magic xpa Magic.ini file.

Log file

A log file called INIConvert.log is created under the <engineDir>.

A deleted entry, for example TempPath, is not copied and instead has an entry that reads:

TempPath was not copied because it was removed in Magic xpa.

An entry that was added to the Magic.ini file manually but does not exist in the Extra V9 Properties section is added to the log file and has an entry that reads:

<Entry> was not copied to the new INI file.

Reference
Attachment 
Attachment