--- a/widgets/widgetinstaller/src/WidgetUIOperationsWatcher.cpp Tue May 11 17:13:44 2010 +0300
+++ b/widgets/widgetinstaller/src/WidgetUIOperationsWatcher.cpp Tue May 25 13:52:38 2010 +0300
@@ -185,9 +185,11 @@
void CWidgetUIOperationsWatcher::SilentInstallL(
RFile& aFile,
const TDesC8& aMIME,
+ TChar& aDrive,
TRequestStatus& aRequestStatus )
{
iSilent = ETrue;
+ iRfs.CharToDrive(aDrive,iDrive);
InstallL( aFile, aMIME, aRequestStatus );
}
@@ -1231,7 +1233,7 @@
}
else
{
- TDriveUnit selectedDrive(_L("C")); // in real should be read from install options which are ignore too at the moment.
+ TDriveUnit selectedDrive(iDrive);
UpdateWidgetBasePathL( selectedDrive );
*(iPropertyValues[EDriveName]) = selectedDrive.Name();
}