question: public static void preinstall ( File userSettingsDir ) throws InstallFailedException { if ( ! preinstalled . compareAndSet ( false , true ) ) return ; try { CommonUtils . setUserSettingsDir ( userSettingsDir ) ; LibrarySettings . resetLibraryFoldersIfPortable ( ) ; } catch ( Exception e ) { throw new InstallFailedException ( "Settings Directory Failure" , e ) ; } }
target:  Wires initial pieces together that are required for nearly everything.