Salesforce

MgxpaSettings Utility (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

MgxpaSettings Utility (Magic xpa 3.x)

The Magic xpa directory includes an executable file, called MgxpaSettings.exe, which is available in both the Studio and Runtime. This utility allows you to:

  • Change the Magic xpa settings that are defined in the Studio's Environment Editor.

  • Create cabinet files from the project sources without opening the Studio.

External Environment Editor

You can edit the Magic xpa settings by selecting the options from the Edit menu or the Options menu (depending on the values assigned to the various Allow Access environment settings).

Changes made using this utility will take affect the next time the application is run.

The utility supports the command line options, such as ‘/ini=xxx’, '/user=xxx' and '@ini'. This lets you provide a silent login and lets you use your own ini file with a reference to your settings files (such as colors and users).

When the utility is launched with the addition of '/StartApplication' in the command line, the application will be opened behind the scenes and the application will appear as the Project Name in the Environment/User ID/Rights dialog box.

Creating Cabinet Files

Since version: 3.1

This utility lets you create cabinet files from the project sources without using the Studio. This functionality is often required if you create the cabinet files in a customer location where you do not have the Studio installed.

Syntax: MgxpaSettings.exe [/CreateECF edp_path=xxx [,ecf_path=yyy]]

Parameters:

edp_path – The file path of the source .edp file.

ecf_path – The destination path of the .ecf file (optional). If not specified, the .ecf file will be created in the same folder as the .edp file.

The two parameters are separated by a comma.

Example: MgxpaSettings.exe /CreateECF edp_path=c:\myapp\myapp.edp ,ecf_path=c:\myapp\app.ecf

Since version:

2.5a

Reference
Attachment 
Attachment