Learn More about Xafari Application Starter

Using ngen.exe to compile the application libraries

To compile, use the Optimization button that becomes active as soon as the local copy of the application appears in a special folder. Administrator rights are required to use this option. If the current version has already been optimized, the button becomes inactive.

There is also the ForceOptimizationAfterUpdate mode. To use it, open the App.config file, find the ForceOptimizationAfterUpdate property, and set its value to true. After that, the optimization will run automatically right after each update.

Running a particular version by choice

For this case, AppStarter should be stored on the network drive. The Configurations.xml file that contains the list of all existing versions is placed into the root AppStarter folder. In this scenario, the user cannot customize the list of versions. The list of versions available to the user is defined explicitly in Configurations.xml and can be accessed through the icon that links to AppStarter in the network.

When the application is launched, it is initially deployed into the user’s local folder and only then is started from the local folder. In case any updates are available for the application, they are applied automatically.

The user has access to the following buttons: Update, Create Shortcut, Open local folder, Start, and Exit.

Edit mode for the predefined versions list

Sometimes, it is required to provide the opportunity to edit the predefined versions list. To enable this option, open the parameters of the AppStarter shortcut and add the /edit parameter there. After that, the user will be able to edit the predefined versions list. However, the modified list will be accessible only for those users who had access to it before editing. It is caused by the fact of using the predefined list initially.

AppStarter /install shortcut settings

To make the setup of the version unnoticed by the user, there is a special shortcut parameter /install [id1 id2 idn]. After the /install parameter, put the IDs of the versions to be installed separated by a single space. There should be at least one identifier. When the AppStarter shortcut with the described parameter is started, the appropriate version is set up, and its icon is created on the desktop. The UI is not shown during the process.

/debug mode

To provide the opportunity of debugging, modify the AppStarter shortcut parameters to have the /debug one. It is possible to use this option together with any of the others; however, the /debug parameter should always be the last one by order.