Manually Installing the RIA Client (Without ClickOnce) (Magic xpa 2.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.
-
You first need to copy the RIA client files to your client machines. The client files are located in the \RIAModules\Desktop directory.
-
Once you have this folder on your client machines, you can run the RIA client by executing the MgxpaRIA.exe file from that folder.
-
The next thing you need to do before running the client is to configure the execution details. This can be done in two ways:
-
Execute MgxpaRIA.exe using execution.properties.
For example: MgxpaRIA.exe /ini=execution.properties
The execution.properties 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 execution.properties file is in the same directory as the MgxpaRIA.exe file, you can simply execute the MgxpaRIA.exe file.
-
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
Note:
|
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.
|