Search code examples
windowsinno-setupspecial-foldersparallels

InnoSetup can't find 'My Documents' on Win XP installed on Mac Parallels


I'm stuck trying to help a user install our software. Our software setup is distributed using InnoSetup, and he is installing it on a Mac Pro with Parallels and Windows XP. During installation, InnoSetup fails with:

Internal error: Failed to expand shell folder constant "userdocs"

In InnoSetup, {userdocs} maps to the 'My Documents' folder, and as InnoSetup is written in Delphi, I assume it uses CSIDL_Personal or CSIDL_MYDOCUMENTS to retrieve this folder, but I don't know how to fix these locations.

Anyone encountered this before? If so, do you know how to fix it?

Thanks!


Solution

  • To solve such problems on XP, use TweakUI from XP PowerToys.