javaruntimes/installer/starterdll/src/main.cpp
changeset 23 98ccebc37403
parent 21 2a9601315dfc
child 25 9ac0a0a7da70
--- a/javaruntimes/installer/starterdll/src/main.cpp	Mon May 03 12:27:20 2010 +0300
+++ b/javaruntimes/installer/starterdll/src/main.cpp	Fri May 14 15:47:24 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.