https://bugs.winehq.org/show_bug.cgi?id=39111
Bug ID: 39111 Summary: Reinstalling Nvidia Physx adds path multiple times to 'HKLM\System\CurrentControlSet\Control\Session Manager\Environment\Path' Product: Wine Version: 1.7.49 Hardware: x86 OS: Linux Status: NEW Keywords: download, Installer Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com Distribution: ---
Steps to reproduce the problem:
1. create a new prefix, install Physx: 'winetricks physx'. Open regedit and see that 'C:\Program Files\NVIDIA Corporation\PhysX\Common' was added to the PATH registry key under 'HKLM\System\CurrentControlSet\Control\Session Manager\Environment', and it was added only once. 2. start 'wine uninstaller', select Nvidia Physx entry and click <Modify...>. In the Nvidia maintenance tool select <Repair>. It should report back that Physx was (re)installed successfully. 3. open regedit and see that the same path was added again, so it is present twice.
I tried this on Windows XP running in a VM, and reinstalling Physx added the path only once.In Wine if you reinstall Physx multiple times, the path will also be added multiple times.
wine-1.7.49-143-gcfbc37c