Writing to [PubDir] - Forum

Forum Navigation
You need to log in to create posts and topics.

Writing to [PubDir]

I have a bit of a problem in that, my pub writes datafiles to [PubDir], and apparently this is a no no when you install into the system program folder(s).

First question.  Why is my error prompt in German?    How do I change this ?

Secondly, how can I permit this so I can write to this folder without error?

Raising the execution level only generates a different error. ;-/

Thanks

Uploaded files:
  • You need to login to have access to uploads.

Hi @rcohen

First question. Why is my error prompt in German? How do I change this ?

Although I have compiled VisualNEO Web with an english Delphi version, it seems we have something in the final executable that comes from the german version in @hpw computer. We are not sure why this is happening.

Secondly, how can I permit this so I can write to this folder without error?

You can't. Windows security measures will prevent you from doing it.
Modern Windows promote using the hidden folder "c:\ProgramData" and custom subfolders to store permanent information instead.

Please take a look here for more information:
https://www.howtogeek.com/278562/what-is-the-programdata-folder-in-windows/

Regards.

Vadim and rcohen have reacted to this post.
Vadimrcohen

Thanks.   I'll check it out.

@rcohen

In some cases it helps if you install your program not in "Program Files" but for example in "My Documents". Try this option if it fits.

Gaev and rcohen have reacted to this post.
Gaevrcohen

Got closer.   Install now into c:\ProgramData as suggested .... but something weird is happening.

I use Inno installer and when I allow "start software" after install it errors out.   BUT if you then, right after, click on the desktop icon it works just fine.

Anyone else bump into this kind of thing?   Any way around this ?

Thanks

Also I have some error in German.

I don't know why but, I think, is a problem of HPW  plugin

Hi @naglieri,

I am not using an HPW plugin (with this project) and so I must believe it's been embedded into the code as Hans IS updating Neo for everyone.    I'm sure he'll find the issue eventually but for now I guess we can just turn error reporting off for Distro versions.

 

r

Hello,

>I don't know why but, I think, is a problem of HPW  plugin

When the error is not directly from a plugin call, it is a problem with the newer core versions.

Like Luis has written it might be a problem when we use different language version of the delphi compiler (german+english).

When we exchange the update sources there might have some wrong resource get into the final englich compile.

This has to be researched in future updates.

Regards

Hans-Peter

luishp, Vadim and rcohen have reacted to this post.
luishpVadimrcohen