Dmitry Timoshkov dmitry@baikal.ru writes:
Alistair Leslie-Hughes leslie_alistair@hotmail.com wrote:
This patch fixes an installer that has "[%PUBLIC]\Documents" entry for some of the targets being copied from a cabinet file. Under Windows %PUBLIC% environment variable is set to C:\Users\Public.
On windows, these are set to different values.
ALLUSERSPROFILE=C:\ProgramData
PUBLIC=C:\Users\Public
Why have you made them the same?
Yes, I'm aware of that difference. However since Wine already has the code path to set ALLUSERSPROFILE=C:\Users\Public I decided to reuse it path to set PUBLIC=C:\Users\Public. Changing ALLUSERSPROFILE to point to another place is not the subject of my patch.
It would be more correct to retrieve it from the "Public" registry key, then the paths can be updated independently of each other.