#include "InstallerUtil.h"
-#define OSP_INSTALLER_VERSION "version=[20130412.1]"
+#define OSP_INSTALLER_VERSION "version=[20130412.2]"
#define DIR_BIN L"/bin"
#define DIR_INFO L"/info"
DirectoryInstaller::OnInit(void)
{
InstallationContext* pContext = GetContext();
+
+ if ((File::IsFileExist(pContext->GetSignatureXmlPath()) == true) &&
+ (File::IsFileExist(pContext->GetAuthorSignatureXmlPath()) == true))
+ {
+ AppLog("[VerifySignature] VerificationMode ON");
+ pContext->__isVerificationMode = true;
+ }
+
String installPath = pContext->__installDir;
String newInstallPath;
srcPath = path + AUTHOR_SIGNATURE_XML_FILE;
destPath = destRootPath + AUTHOR_SIGNATURE_XML_FILE;
InstallerUtil::CreateSymlink(srcPath, destPath);
-
- AppLog("[VerifySignature] VerificationMode ON");
- pContext->__isVerificationMode = true;
}
pContext->__installDir = destRootPath;
res = system_info_get_value_int(SYSTEM_INFO_KEY_SCREEN_WIDTH, &width);
if (res != SYSTEM_INFO_ERROR_NONE)
{
- fprintf(stderr, " ## system_info_get_value_int() failed. result = [%d]\n", res);
+ AppLog("system_info_get_value_int(SYSTEM_INFO_KEY_SCREEN_WIDTH) failed. res = [%d]", res);
defaultIconType = L"Xhigh";
}
else
{
- fprintf(stderr, " ## system_info_get_value_int() succeeded. result = [%d]\n", res);
-
if (width == 480)
{
defaultIconType = L"High";