RIA Deployed Files (Magic xpa 4.x)
When using ClickOnce to deploy the application, the RIA Client files are downloaded to the client machine.
ClickOnce installs the RIA Client files to the following folder:
-
On Windows Vista and Windows 7: c:\users\username\AppData\Local\Apps\2.0\obfuscatedfoldername\obfuscatedfoldername\appname
-
On Windows XP: C:\Documents and Settings\username\LocalSettings\Apps\2.0\obfuscatedfoldername\obfuscatedfoldername\appname
For each of the RIA client files, ClickOnce generates an additional two files: a .manifest file and a .cdf-ms file. These files contain information about the respective dll, of which the auto updater of the ClickOnce will make use of.
You can retrieve this folder name from within your Magic xpa program by updating a string variable with DotNet.System.IO.Path.GetDirectoryName(DotNet.System.Reflection.Assembly.GetExecutingAssembly().Location)&'\'
This update should be done on the client side. Therefore, it cannot be done in the Main Program's Task Prefix.
For improved performance, both the Magic xpa server and the Magic xpa RIA client cache the application meta-data and some of the data views that are used in a given session. The location of the cache files are as follows:
On the server:
RIA cache files are stored on the folder defined in the Magic xpa Rich Client Cache Path environment setting.
On the client machine: (Since version: 1.8 SP1)
When executing a RIA program from the Studio, or executing using MgxpaRIA.exe or ClickOnce, all resources required by the application are stored in the %TEMP%\MgxpaRIACache folder.
When launching the application on the client, a splash image is displayed.
The image is defined as follows:
-
When executing on Windows desktop, using ClickOnce or on mobile devices, the image is defined in the RIA Deployment Builder.
-
When executing directly from the Studio, the image is located at RIAModules\Desktop\Resources\startup.png.
Note that only PNG files are supported.
Since version: 2.4