https://bugs.winehq.org/show_bug.cgi?id=42446
--- Comment #37 from Stan markau0@lycos.com --- On further testing I think that Native Access is passing a pathname with unix style slashes maybe because it thinks it's on a mac due to some bug in Native Access.
Native Access seems to be passing
"C:/Program Files/Native Instruments/Native Access/Native Access.exe"
to GetVolumePathNameW and GetVolumePathNameW is not prepared for the unix style slashes and Native Access should be passing
"C:\Program Files\Native Instruments\Native Access\Native Access.exe" to GetVolumePathNameW
Pretty weird but I think that that is what it is.
Native Access seems to have some mac detection code in it and hence the can't run from mounted volume move Native Access to the Applications folder error and maybe the unix style pathname sent to GetVolumePathNameW
If GetVolumePathNameW is altered to be able to handle unix style paths (see my code above) then Native Access runs ok but that is not normal for GetVolumePathNameW which needs to handle window style paths and so the Wine volume tests fail as would be expected.
I don't know what a fix would be, maybe detect unix style paths at the start of GetVolumePathNameW and convert them to windows style paths.