[PATCH] kernel32: Set environment variable %PUBLIC% on the process start-up.

Dmitry Timoshkov dmitry at baikal.ru
Tue Jul 31 22:12:24 CDT 2018


Alistair Leslie-Hughes <leslie_alistair at 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.

-- 
Dmitry.



More information about the wine-devel mailing list