}
// is the package already installed on local
- if (pMgr->IsPackageInstalled(packageId))
- {
- TryReturn(pLocalPackageInfo != NULL, E_FAILURE, "Local Package Info get Error");
-
- __isInstalled = true;
- localVersion = pLocalPackageInfo->GetVersion();
- // Upper Version Check
- if (__pTargetPackageInfo->GetVersion().CompareTo(localVersion) < 0){
- __isUpdatable = false;
- }
- else{
- __isUpdatable = true;
- }
- }
- else{
- __isInstalled = false;
- }
+ // ===================================================================================
+ // temporal modification about version checking. : allow to install lower version.
+ __isInstalled = false;
+ // ===================================================================================
__pPrivilegeList = __pTargetPackageInfo->GetPrivilegeListN();
result res = GetLastResult();