#include "InstallerUtil.h"
-#define OSP_INSTALLER_VERSION "version=[20130423.1]"
+#define OSP_INSTALLER_VERSION "version=[20130528.1]"
#define DIR_BIN L"/bin"
#define DIR_INFO L"/info"
#define FILE_EXT_INFO L"info"
#define VERSION_INFO_FILE L"/info/version.info"
#define COMPAT_INFO_FILE L"/info/compat.info"
+#define VIRTUAL_ROOT_INFO_FILE L"/info/virtualroot.info"
#define UISCALABILITY_INFO_FILE L"/info/uiscalability.info"
#define WEBSERVICE_INFO_FILE L"/info/webservice.info"
#define TYPE_INFO_FILE L"/info/type.info"
#define TERMINATE_RETRY_COUNT 300
#define DIR_OSP_APPLICATIONS_TEMP L"/opt/usr/apps/__@@osp_tmp@@__"
+#define DIR_INSTALL_LOGS L"/opt/usr/apps/logs"
#define DIR_RO_PACKAGE_SYSTEM_MANIFEST L"/usr/share/packages/%ls.xml"
#define DIR_RW_PACKAGE_SYSTEM_MANIFEST L"/opt/share/packages/%ls.xml"
#define TIZEN_CATEGORY_HOMESCREEN "http://tizen.org/category/homescreen"
#define TIZEN_CATEGORY_LOCKSCREEN "http://tizen.org/category/lockscreen"
#define TIZEN_CATEGORY_MENUSCREEN "http://tizen.org/category/menuscreen"
+#define TIZEN_CATEGORY_ANTIVIRUS "http://tizen.org/category/antivirus"
+
+// custom metadata
+#define METADATA_FONT L"http://developer.samsung.com/tizen/metadata/font"
+#define METADATA_SPLASH L"http://developer.samsung.com/tizen/metadata/splash"
+#define METADATA_SPLASH_INDICATOR_DISPLAY L"http://developer.samsung.com/tizen/metadata/splash/indicatordisplay"
+#define METADATA_SPLASH_PORTRAIT L"http://developer.samsung.com/tizen/metadata/splash/portrait"
+#define METADATA_SPLASH_LANDSCAPE L"http://developer.samsung.com/tizen/metadata/splash/landscape"
#define DIR_APPLICATIONS_TMP "/opt/usr/apps/tmp"
static const int BLOCK_SIZE = 4096;
static const int SIGNATURE_FILE_NUMBER_DISTRIBUTOR = 1;
+static const int SIGNATURE_FILE_NUMBER_DISTRIBUTOR2 = 2;
#define OSP_INSTALLER "osp-installer"
INSTALLER_OPTION_NO_INPUT = 16,
INSTALLER_OPTION_FILELOG_ON = 32,
INSTALLER_OPTION_UPDATE_STDOUT = 64,
+ INSTALLER_OPTION_CSC = 128,
+ INSTALLER_OPTION_RESET_PRELOADED = 256,
};
SIGNATURE_FILE_TYPE_NONE,
SIGNATURE_FILE_TYPE_AUTHOR,
SIGNATURE_FILE_TYPE_DISTRIBUTOR,
+ SIGNATURE_FILE_TYPE_DISTRIBUTOR2,
};
enum InstallationStorage
{
+ INSTALLATION_STORAGE_NONE,
INSTALLATION_STORAGE_INTERNAL,
INSTALLATION_STORAGE_EXTERNAL,