Fix preloaded app issue for uninstallable
authorDuyoung Jang <duyoung.jang@samsung.com>
Mon, 29 Apr 2013 04:53:16 +0000 (13:53 +0900)
committerDuyoung Jang <duyoung.jang@samsung.com>
Mon, 29 Apr 2013 04:53:16 +0000 (13:53 +0900)
Change-Id: I09f8472a02bf64167266608ecc030b99d8b737e1
Signed-off-by: Duyoung Jang <duyoung.jang@samsung.com>
inc/InstallerDefs.h
src/Manager/ConfigurationManager.cpp

index 5e0ebc4..ff8bfcb 100755 (executable)
@@ -23,7 +23,7 @@
 
 #include "InstallerUtil.h"
 
-#define OSP_INSTALLER_VERSION "version=[20130426.3]"
+#define OSP_INSTALLER_VERSION "version=[20130429.1]"
 
 #define DIR_BIN                                L"/bin"
 #define DIR_INFO                       L"/info"
index 6a91f76..4cc3bb3 100755 (executable)
@@ -364,7 +364,8 @@ ConfigurationManager::PostInstall(InstallationContext* pContext, bool error) con
                String roXmlPath;
                roXmlPath.Format(1024, DIR_RO_PACKAGE_SYSTEM_MANIFEST, pContext->__packageId.GetPointer());
 
-               if ((File::IsFileExist(roXmlPath) == true) && (pContext->__isHybridService == false))
+               if ((File::IsFileExist(roXmlPath) == true) && (pContext->__isHybridService == false)
+                               && (pContext->__isPreloaded == false))
                {
                        SetPreloadedProperty(packageId);
                }