1# Preset Application Configuration Guide 2 3OpenHarmony supports differentiated configuration of preset applications on different devices. 4 5In addition, OpenHarmony provides **GetCfgDirList** for your application to obtain the preset directories, such as **system**, **chipset**, **sys_prod**, and **chip_prod**, in ascending order of priority. For example, the priority of **chip_prod** is higher than that of **system**. 6 7## Configuring the Preset Applications to Be Installed 8 9### Procedure 10 111. Add the application name in the preset directory as the application directory. 122. Preset the application in the application directory, for example, **/system/app/Hiworld/entry.hap**. 133. Add the application directory to [install_list.json](https://gitee.com/openharmony/vendor_hihope/blob/master/rk3568/preinstall-config/install_list.json) and configure **removable** as required. 14 15### Example 16 17``` 18{ 19 "install_list" : [ 20 { 21 "app_dir" : "/system/app/Hiworld", 22 "removable": false // The application cannot be uninstalled. 23 } 24 ] 25} 26``` 27 28## Configuring the Preset Applications Not to Be Installed 29 30The configuration priority of [**uninstall_list.json**](https://gitee.com/openharmony/vendor_hihope/blob/master/rk3568/preinstall-config/uninstall_list.json) is higher than that of **install_list.json**. The applications added to **uninstall_list.json** will not be installed. 31 32### Example 1: 33 34``` 35/system/etc/app/uninstall_list.json 36{ 37 "uninstall_list": ["/system/app/Hiworld"], // Hiworld will not be installed. 38 "recover_list" : [] 39} 40``` 41 42### Example 2: 43 44``` 45/system/etc/app/uninstall_list.json 46{ 47 "uninstall_list" : ["/system/app/Hiworld"], 48 "recover_list" : [] 49} 50 51/chipset/etc/app/uninstall_list.json 52{ 53 "uninstall_list" : [], 54 "recover_list": ["/system/app/Hiworld"] // Hiworld will be installed. 55} 56``` 57