Failed to set data for ApplicationFolder

Hi,

When my delphi application is started on a Windows XP machine one customer gets following errormessage:
Error: Failed to set data for ApplicationFolder

I check the registrysettings for AppData
HKEY_CURRENT_USER\software\Microsoft\windows\CurrentVersion\Explorer\User Shell Folder\AppData
and..
HKEY_CURRENT_USER\software\Microsoft\windows\CurrentVersion\Explorer\Shell Folder\AppData
Both values seem to point to the correct folder.

What could be a solution for this problem?
Stef MerlijnDeveloperAsked:
Who is Participating?
 
FayazCommented:
Un-install the application>>restart comupter>>Install the application
During the process if it prompts to select, slect for all users rather just one.
Make sure the user is having access to the folders where you install the application.
0
 
pasoloCommented:
"Error: Failed to set data for ApplicationFolder"
The Application folder is the folder where the application is installed which is not the same as
AppData

The correct way to determine the Shell folders is not going through the Registry. Please clarify ?
0
 
Stef MerlijnDeveloperAuthor Commented:
I have not much more to go on.
I need to determine what the error is saying in order to correct it.
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
Neil RussellTechnical Development LeadCommented:
It is almost certainly a permissions error on the folder that your app is installed into. What user installed the app? Is it the same user that is now trying to run it and get the error?
Can the user who is now getting the error install the software successfully under their own login?
0
 
Stef MerlijnDeveloperAuthor Commented:
Neilsr:
Yes, it is the same user who installed the application, I don't know if it is a administrator user.
0
 
Stef MerlijnDeveloperAuthor Commented:
The user is a administrator and installed the software on it's own useraccount
0
 
Stef MerlijnDeveloperAuthor Commented:
Any new suggestions?
0
 
Stef MerlijnDeveloperAuthor Commented:
Thank you all.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.