Upgrading EPiServer CMS 6 to EPiServer CMS 7

According to EPiServer there shouldn't be any problem when upgrading an EPiServer CMS 6 R2 site to EPiServer CMS7, but I was running across this problem every time i tried on a specific site.

An unhandled error has occured: The path is not of a legal form.
When executing


At C:\Program Files (x86)\EPiServer\Framework\7.0.859.1\Install\System Scripts\


Install Module Package.ps1:157 char:16


+ Add-EPiXmlBlock <<<<  -TargetFilePath $packagesConfigPath -ElementXPath "/packages" –XmlBlock $packageRegistrationXml                 


True = Get-EPiIsBulkInstalling


An unhandled error has occured: The path is not of a legal form.


When executing


At C:\Program Files (x86)\EPiServer\Framework\7.0.859.1\Install\System Scripts\
Install Module Package.ps1:157 char:16


+ Add-EPiXmlBlock <<<<  -TargetFilePath $packagesConfigPath -ElementXPath "/packages" –XmlBlock $packageRegistrationXml

The sites path was containing Swedish character letter “ö” which I thought was the problem. Tried to remove those letters and gave the upgrade another try and still got the same problem.

The solution was to move the VPP that was on a share and was not containing any suspicious letters, to the local computer. Took me a couple of hours to figure it out, hope this saves some hours for someone else.