3

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!

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
Irish Buffer
  • 852
  • 1
  • 8
  • 11
  • Problem solved: after user insisting that their installation of XP was working fine, it became clear that their specified "My Documents" folder doesn't exist! I've suggested they need to reinstall XP, but also passed along MSalter's suggestion of using TweakUI to change the folder location to one that exists. – Irish Buffer Dec 09 '10 at 13:41

1 Answers1

0

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

MSalters
  • 173,980
  • 10
  • 155
  • 350