xsharp.eu • Failed to expand shell folder constant "userdocs" - X# public installer (win10)
Page 1 of 1

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

Posted: Sat Nov 09, 2019 8:56 am
by Anonymous
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.

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

Posted: Sat Nov 09, 2019 12:18 pm
by Chris
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:

https://www.iliumsoft.com/support/artic ... Windows-PC
https://answers.microsoft.com/en-us/win ... e101d37671
https://www.valentina-db.com/en/valenti ... t-userdocs
https://www.unifiedremote.com/tutorials ... t-userdocs

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

Posted: Sat Nov 09, 2019 12:26 pm
by LG
I have fixed the issue, it was related to a non-standard 'My Documents' folder location. Thank you for your reply though!

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

Posted: Fri Nov 15, 2019 4:50 pm
by ic2
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

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

Posted: Fri Nov 15, 2019 5:35 pm
by robert
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

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

Posted: Sat Nov 16, 2019 3:45 pm
by ic2
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

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

Posted: Mon Nov 18, 2019 10:49 pm
by Chris
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.

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

Posted: Tue Nov 19, 2019 6:28 am
by ic2
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

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

Posted: Tue Nov 19, 2019 7:12 am
by robert
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

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

Posted: Tue Nov 19, 2019 7:22 am
by wriedmann
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