Move download resolver and expanded install dir setup to preInstall method
Fix port config check when skipping install
More formnatting tidyup