equal
deleted
inserted
replaced
203 |
203 |
204 if( install ) |
204 if( install ) |
205 { |
205 { |
206 // Install interface was available. |
206 // Install interface was available. |
207 // So, start installing with silent install operation. |
207 // So, start installing with silent install operation. |
208 // Get silent install parameters |
208 SwiUI::TInstallOptions options( |
209 Usif::COpaqueNamedParams * options = Usif::COpaqueNamedParams::NewLC(); |
209 IAUpdateUtils::SilentInstallOptionsL( Node() ) ); |
210 |
|
211 IAUpdateUtils::UsifSilentInstallOptionsL ( options ); |
|
212 |
210 |
213 operation = install->SilentInstallL( *this, options ); |
211 operation = install->SilentInstallL( *this, options ); |
214 |
212 |
215 if( !operation ) |
213 if( !operation ) |
216 { |
214 { |
217 // Could not create the operation for some reason. |
215 // Could not create the operation for some reason. |
218 IAUPDATE_TRACE("[IAUPDATE] ERROR Could not create the operation."); |
216 IAUPDATE_TRACE("[IAUPDATE] ERROR Could not create the operation."); |
219 User::Leave( KErrGeneral ); |
217 User::Leave( KErrGeneral ); |
220 } |
218 } |
221 CleanupStack::Pop( options ); |
219 |
222 CleanupStack::PopAndDestroy( install ); |
220 CleanupStack::PopAndDestroy( install ); |
223 } |
221 } |
224 else |
222 else |
225 { |
223 { |
226 IAUPDATE_TRACE("[IAUPDATE] Install interface was not found."); |
224 IAUPDATE_TRACE("[IAUPDATE] Install interface was not found."); |