rem: var profDir = wizardManager.WSM.PageData["newProfile1_2"].ProfileDir.value; 
add: var profDir = wizardManager.WSM.PageData["newProfile1_2"].ProfileDir.rootFolder; 
context: function onFinish(){  dump("*** IN ONFINISH\n");  // check if we're at final stage   if( !wizardManager.wizardMap[wizardManager.currentPageTag].finish )    return;  var tag =  wizardManager.WSM.GetTagFromURL( wizardManager.content_frame.src, "/", ".xul" );  wizardManager.WSM.SavePageData( tag, null, null, null );  var profName = wizardManager.WSM.PageData["newProfile1_2"].ProfileName.value;  dump("**** profName: "+ profName + "\n");  var profDir = wizardManager.WSM.PageData["newProfile1_2"].ProfileDir.value;  proceed = processCreateProfileData( profName, profDir );	if( proceed ) {		if( window.opener ) {			window.opener.CreateProfile( profName, profDir );			window.close();		}     else {      profile.startApprunner( profName );      ExitApp();    }	}	else		return;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/9240cecb16b31470f57a5e6c8ff40ba0185e6512/createProfileWizard.js/buggy/profile/resources/content/createProfileWizard.js