debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizardData.java
branchRCL_2_4
changeset 1068 21b582a02214
parent 1066 4791b1e2e6ef
child 1091 9ce8893d737f
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizardData.java	Wed Mar 03 08:25:45 2010 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizardData.java	Wed Mar 03 08:42:58 2010 -0600
@@ -340,8 +340,13 @@
 		addBuildOptions(config);
 		// always set the current connection id
 		config.setAttribute(RemoteConnectionsTRKHelper.CONNECTION_ATTRIBUTE, Registry.CURRENT_CONNECTION_ID);
-		if (installPackage)
+		if (installPackage) {
 			config.setAttribute(PreferenceConstants.J_PN_SisFileHostPath, sisPath);
+			// special case handling for running out of E: drive - install into E: drive
+			if (exeSelection.equals(EExeSelection.USE_REMOTE_EXECUTABLE) && 
+					exeSelectionPath.getDevice().equalsIgnoreCase("E:")) //$NON-NLS-1$
+				config.setAttribute(PreferenceConstants.J_PN_InstallToDrive, 4); // index 4 == E: drive
+		}
 	}
 
 	private IPath getMmpPath(IPath exePath) {