installationservices/swi/source/sislauncher/client/sislauncherclient.cpp
changeset 33 8110bf1194d1
parent 25 98b66e4fb0be
child 42 d17dc5398051
equal deleted inserted replaced
29:26b6f0522fd8 33:8110bf1194d1
    91             {
    91             {
    92             return err;
    92             return err;
    93             }
    93             }
    94         }    
    94         }    
    95     }
    95     }
    96 
       
    97 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
    96 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
    98 EXPORT_C void RSisLauncherSession::Close()
    97 EXPORT_C void RSisLauncherSession::Close()
    99     {	
    98     {	
   100     if (iBuffForLanguages)
    99     if (iBuffForLanguages)
   101         {
   100         {
   104         }
   103         }
   105 	    
   104 	    
   106     RSessionBase::Close();
   105     RSessionBase::Close();
   107     }
   106     }
   108 #endif
   107 #endif
   109 
       
   110 EXPORT_C void RSisLauncherSession::RunExecutableL(const TDesC& aFileName, TBool aWait)
   108 EXPORT_C void RSisLauncherSession::RunExecutableL(const TDesC& aFileName, TBool aWait)
   111     {
   109     {
   112     TPckgC<TBool> wait(aWait);
   110     TPckgC<TBool> wait(aWait);
   113     User::LeaveIfError(SendReceive(ERunExecutable, TIpcArgs(&aFileName, &wait)));
   111     User::LeaveIfError(SendReceive(ERunExecutable, TIpcArgs(&aFileName, &wait)));
   114     }
   112     }
   408     User::LeaveIfError(err);
   406     User::LeaveIfError(err);
   409     
   407     
   410     Usif::CApplicationRegistrationData* applicationData= Usif::CApplicationRegistrationData::NewLC();
   408     Usif::CApplicationRegistrationData* applicationData= Usif::CApplicationRegistrationData::NewLC();
   411     // Got the buffer, internalise the arrays
   409     // Got the buffer, internalise the arrays
   412     RDesReadStream readStream(*appRegData);
   410     RDesReadStream readStream(*appRegData);
   413     CleanupClosePushL(readStream);
   411     CleanupClosePushL(readStream);    
   414     applicationData->InternalizeL(readStream);
   412     applicationData->InternalizeL(readStream);
   415     CleanupStack::PopAndDestroy(&readStream); 
   413     CleanupStack::PopAndDestroy(&readStream); 
   416     CleanupStack::Pop(applicationData);
   414     CleanupStack::Pop(applicationData);
   417     CleanupStack::PopAndDestroy(appRegData);
   415     CleanupStack::PopAndDestroy(appRegData);
   418 	if (iBuffForLanguages)
   416 	if (iBuffForLanguages)