appinstaller/AppinstUi/Daemon/Src/daemoninstaller.cpp
changeset 80 9dcba1ee99f7
parent 42 d17dc5398051
equal deleted inserted replaced
77:d1838696558c 80:9dcba1ee99f7
   459                             CompleteSelf(); 
   459                             CompleteSelf(); 
   460                             }                            
   460                             }                            
   461                         else
   461                         else
   462                             {  
   462                             {  
   463                             // Start also the universal indicator.
   463                             // Start also the universal indicator.
   464                             TRAP_IGNORE( iDialogs->ActivateIndicatorL( iPercentValue ) );
   464                             TRAP_IGNORE( iDialogs->ActivateIndicatorL( 
       
   465                                     iPercentValue ) );
   465                             // Start to show progress dialog. Dialog is shown 
   466                             // Start to show progress dialog. Dialog is shown 
   466                             // only 3 sec. 
   467                             // only 3 sec. 
   467                             TRAP_IGNORE( iDialogs->ShowWaitingNoteL() );    
   468                             TRAP_IGNORE( iDialogs->ShowWaitingNoteL() );    
   468                                                         
   469                                                         
   469                             FLOG_1( _L("Daemon: Start install for %S"), &iSisFile );
   470                             FLOG_1( _L("Daemon: Start install for %S"), 
       
   471                                     &iSisFile );
   470                                                                                                                                                                                                                                                    
   472                                                                                                                                                                                                                                                    
   471                             iInstallLauncher->InstallL( iSisFileHandle, 
   473                             iInstallLauncher->InstallL( iSisFileHandle, iStatus );
   472                                                         iSisFile, 
       
   473                                                         iStatus );
       
   474                                                         
   474                                                         
   475                             iState = EDSisInstallerStateInstalling;                       
   475                             iState = EDSisInstallerStateInstalling;                       
   476                             iInstallerState = iState;                                                   
   476                             iInstallerState = iState;                                                   
   477                             SetActive();                               
   477                             SetActive();                               
   478                             }
   478                             }
   526                     }
   526                     }
   527                 
   527                 
   528                 if ( iFileOpen )
   528                 if ( iFileOpen )
   529                     {
   529                     {
   530                     FLOG_1( _L("Daemon: Try install again for: %S"), &iSisFile );
   530                     FLOG_1( _L("Daemon: Try install again for: %S"), &iSisFile );
   531                     iInstallLauncher->InstallL( iSisFileHandle,
   531                     iInstallLauncher->InstallL( iSisFileHandle, iStatus );                
   532                                                 iSisFile, 
       
   533                                                 iStatus );                
       
   534                 
   532                 
   535                     iState = EDSisInstallerStateInstalling;                   
   533                     iState = EDSisInstallerStateInstalling;                   
   536                     iInstallerState = iState;                                   
   534                     iInstallerState = iState;                                   
   537                     SetActive(); 
   535                     SetActive(); 
   538                     }
   536                     }