if (!__isLaunchable)
{
- GridLayout* pLayout = static_cast<GridLayout*>(static_cast<Panel*>(GetControl(IDC_PANEL))->GetLayoutN());
+ GridLayout* pLayout = static_cast<GridLayout*>(static_cast<Panel*>(GetControl(IDC_PANEL))->GetLandscapeLayoutN());
+ pLayout->SetColumnCollapsed(2, true);
+ pLayout->Update();
+ delete pLayout;
+ pLayout = static_cast<GridLayout*>(static_cast<Panel*>(GetControl(IDC_PANEL))->GetPortraitLayoutN());
pLayout->SetColumnCollapsed(2, true);
pLayout->Update();
delete pLayout;
r = notificationManager.NotifyByAppId(mainAppId, request);
AppLogExceptionIf(IsFailed(r), "[%s] Failed to notify message.", GetErrorMessage(r));
- String* pFilePath = dynamic_cast<String*>(__filePathList.GetAt(++__index));
- if (pFilePath)
+ String* pFilePath = null;
+ do
{
- r = Install(*pFilePath);
- if (r == E_SUCCESS)
+ pFilePath = dynamic_cast<String*>(__filePathList.GetAt(++__index));
+ if (pFilePath)
{
- return;
+ r = Install(*pFilePath);
+ if (r == E_SUCCESS)
+ {
+ return;
+ }
}
- }
+ } while (pFilePath);
__pFrame->SetShowState(false);
Terminate();
delete __pInfo;
__pInfo = PackageManager::GetInstance()->GetPackageInfoFromFileN(filePath);
+ TryReturn(__pInfo, GetLastResult(), "[%s] Failed to get the packageInfo. - %ls", GetErrorMessage(GetLastResult()), filePath.GetPointer());
__packageId = __pInfo->GetId();
PackageAppInfo* pMainAppInfo = __pInfo->GetPackageAppInfoN(__pInfo->GetMainAppId());
__pProgress->SetValue(0);
__pDegreeLabel->SetText(L"0%");
+ __pFrame->Invalidate(true);
__pFrame->SetShowState(true);
__pFrame->Show();