http://bugs.winehq.org/show_bug.cgi?id=10077
Summary: [~] badly handled by WriteEnvironmentStrings make Photoshop CS2 installer clear the PATH instead of adding a directory to it Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: NEW Keywords: Installer Severity: normal Priority: P2 Component: wine-msi AssignedTo: wine-bugs@winehq.org ReportedBy: mikolaj.zalewski@gmail.com
By default [~] is translated to a NUL character however in WriteEnviromnentStrings it should be translated into the current value of the variable. Photoshop CS2 writes "[~];[CommonFilesFolder]Adobe\AGL" into the PATH what in our current implementation results in the PATH being cleared instead of appended.