fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Failed to expand shell folder constant "userdocs" - X# public installer (win10)

Failed to expand shell folder constant "userdocs" - X# public installer (win10) 09 Nov 2019 09:56 #11654

  • LG's Avatar

  • LG

  • Topic Author


  • Posts: 3
  • Hello, everyone.

    I'm trying to install X# on my machine through the public installer and I keep getting this error (Failed to expand shell folder constant "userdocs"). I've tried the 207, 208a and RC1 installers, but got the same error on all of them. Any ideas on why this might be happening?

    Thanks in advance for your replies.

    Please Log in or Create an account to join the conversation.

    Failed to expand shell folder constant "userdocs" - X# public installer (win10) 09 Nov 2019 13:18 #11663

  • Chris's Avatar

  • Chris


  • Posts: 1873
  • Hi! A quick google search reveals that maybe this has to do with using a non-standard location for your user folder? Have you made any change in your windows settings regarding this? See some similar cases (with suggestions) for reference:

    www.iliumsoft.com/support/article/AA-013...llet-on-a-Windows-PC
    answers.microsoft.com/en-us/windows/foru...74-8168-11e101d37671
    www.valentina-db.com/en/valentina-develo...er-constant-userdocs
    www.unifiedremote.com/tutorials/how-to-f...er-constant-userdocs
    XSharp Development Team
    chris(at)xsharp.eu

    Please Log in or Create an account to join the conversation.

    Failed to expand shell folder constant "userdocs" - X# public installer (win10) 09 Nov 2019 13:26 #11664

  • LG's Avatar

  • LG

  • Topic Author


  • Posts: 3
  • I have fixed the issue, it was related to a non-standard 'My Documents' folder location. Thank you for your reply though!

    Please Log in or Create an account to join the conversation.

    Failed to expand shell folder constant "userdocs" - X# public installer (win10) 15 Nov 2019 17:50 #11740

  • ic2's Avatar

  • ic2


  • Posts: 672
  • Hello Chris,

    I got the same error today installing the latest public release at the Pc of my client. He indeed has his documents directory on a server disk instead of c:\users etc.

    I assume it is only solved in the latest Fox build? Or is there anything he can (now) do to install?

    Dick

    Please Log in or Create an account to join the conversation.

    Failed to expand shell folder constant "userdocs" - X# public installer (win10) 15 Nov 2019 18:35 #11741

  • robert's Avatar

  • robert


  • Posts: 1676
  • Dick,
    Why do you install a public build on a clients machine ?
    Is this client a developer ?
    Otherwise there is no need to install the tool and you should just copy the redist folder to the app folder.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    Failed to expand shell folder constant "userdocs" - X# public installer (win10) 16 Nov 2019 16:45 #11746

  • ic2's Avatar

  • ic2


  • Posts: 672
  • Hello Robert,

    Is this client a developer ?


    Yes. Mainly my employee working on the client's premises but also regularly the contact person of the client develop there.

    So X# need to be installed there too. How (or maybe I should ask when?) can we do that?

    Dick

    Please Log in or Create an account to join the conversation.

    Failed to expand shell folder constant "userdocs" - X# public installer (win10) 18 Nov 2019 23:49 #11793

  • Chris's Avatar

  • Chris


  • Posts: 1873
  • Hi Dick,

    ic2 wrote: Hello Robert,

    Is this client a developer ?


    Yes. Mainly my employee working on the client's premises but also regularly the contact person of the client develop there.

    So X# need to be installed there too. How (or maybe I should ask when?) can we do that?

    Dick


    Is there any chance to use a different PC in your client that uses a standard users folder? I will log this as a problem to be fixed, but I suspect it could be a lot of work to fix it, while it applies to a probably very limited amount of users.
    XSharp Development Team
    chris(at)xsharp.eu

    Please Log in or Create an account to join the conversation.

    Failed to expand shell folder constant "userdocs" - X# public installer (win10) 19 Nov 2019 07:28 #11796

  • ic2's Avatar

  • ic2


  • Posts: 672
  • Hello Robert,

    I understand, that would be a bit of a waste of time. I will ask him to temporary change his folder to a local folder.

    Dick

    Please Log in or Create an account to join the conversation.

    Failed to expand shell folder constant "userdocs" - X# public installer (win10) 19 Nov 2019 08:12 #11797

  • robert's Avatar

  • robert


  • Posts: 1676
  • Dick,
    The problem seems to be that our installer runs "as admin", so it can install in the "Program files" location, but also wants to add some links to locations that belong to the user, such as the "My Documents" folder.
    In your customers case this location is on a Network share and the Administrator apparently does not have access to this network share.
    I'll see if I can detect a situation like that for the next installer.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    Failed to expand shell folder constant "userdocs" - X# public installer (win10) 19 Nov 2019 08:22 #11798

  • wriedmann's Avatar

  • wriedmann


  • Posts: 2232
  • Hi Robert,
    personally I would not like to have these links in my personal folder.
    IMHO the installer should behave as other installers and install them in the X# Start Menu folder.
    I'm removing them after each installation.
    Wolfgang
    Wolfgang Riedmann
    Meran, South Tyrol, Italy

    www.riedmann.it - docs.xsharp.it

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1