Upgrade install doesn't work on Windows platform

In the upgrade, a slash is added at the beginning of the cre_path which
breaks the install process