Manually Installing the RIA Client (Without ClickOnce) (Magic xpa 3.x)

« Go Back


Created ByKnowledge Migration User
Approval Process StatusPublished

Manually Installing the RIA Client (Without ClickOnce) (Magic xpa 3.x)

Sometimes, due to security policies in the organization, you want to pre-install the RIA application clients on the computers and not use ClickOnce for the installation.

If you want to deploy and run your RIA application without using ClickOnce, you can run it using the command line.

  1. You first need to copy the RIA client files to your client machines. The client files are located in the \RIAModules\Desktop directory.

  2. Once you have this folder on your client machines, you can run the RIA client by executing the MgxpaRIA.exe file from that folder.

  3. The next thing you need to do before running the client is to configure the execution details. This can be done in two ways:

    1. Execute MgxpaRIA.exe using

      For example: MgxpaRIA.exe /

      The file should contain the same information (such as the server name and application name) as in the rcExecProps section of the <app_name>.publish.html file that is created by the Rich Client Deployment Builder.

      If the file is in the same directory as the MgxpaRIA.exe file, you can simply execute the MgxpaRIA.exe file.

    2. Execute MgxpaRIA.exe with parameters from the command line.

      The format of the command line is as follows:

      MgxpaRIA.exe protocol=xxx server=xxx requester=xxx appname=xxx prgname=xxx

      For example:

      MgxpaRIA.exe protocol=http server=localhost requester=MagicScripts/MGrqispi.dll appname=RIATrans prgname=RC


When running the application on the client using the command line, you need to make sure that the client version is the same as the server version.