javaruntimes/installer/starterdll/src/main.cpp
branchRCL_3
changeset 17 0fd27995241b
parent 14 04becd199f91
child 18 9ac0a0a7da70
--- a/javaruntimes/installer/starterdll/src/main.cpp	Fri Apr 30 10:40:48 2010 +0300
+++ b/javaruntimes/installer/starterdll/src/main.cpp	Tue May 11 16:07:20 2010 +0300
@@ -361,10 +361,21 @@
     }
 
 #ifdef RD_JAVA_INSTALLERUI_ENABLED
+#if 0 // Disable 10.1 JavaInstallerUi
+//#ifdef RD_JAVA_S60_RELEASE_10_1_ONWARDS
+    jvm->appendSystemProperty(
+        L"-Dcom.nokia.mj.impl.installer.ui="
+        L"com.nokia.mj.impl.installer.ui.eswt2.InstallerUiEswt");
+    // Replace RuntimeUi with installer specific implementation.
+    jvm->appendSystemProperty(
+        L"-Dcom.nokia.mj.impl.rt.ui="
+        L"com.nokia.mj.impl.installer.ui.eswt2.InstallerRuntimeUi");
+#else
     jvm->appendSystemProperty(
         L"-Dcom.nokia.mj.impl.installer.ui="
         L"com.nokia.mj.impl.installer.ui.eswt.InstallerUiEswt");
-#endif
+#endif // RD_JAVA_S60_RELEASE_10_1_ONWARDS
+#endif // RD_JAVA_INSTALLERUI_ENABLED
 
     std::wstring extendedBootClassPath;
     // This call is platform dependent.