I am using HaskellPlatform-2012.4.0.0 on Win7. It\'s installed as portable. Paths are managed through .bat file so ghci and ghc works. But caba
ghci
ghc
Run cabal with:
cabal --config-file="path/to/config"