Bug #3785 - Synwinxt.dll error opening file for writing during install of 1.4.15
- Duplicated by: Support #3768 - failed to load shell library, synwinxt.dll is missing or invalid / XP Pro Sp3
- Duplicated by: Support #3769 - failed to load shell library syswinxt.dll is missing or invalid
- Duplicated by: Support #3776 - Installation failed
- Duplicated by: Support #3811 - Upgrade to 1.4.15 on Windows fails due to locked synwinxt.dll
- Duplicated by: Support #3815 - After installing client on WinXP it wont start
Steps to reproduce:
- On both a Windows 8.1 machine and on a Windows 7 machine both 64x start the install of 1.4.15 of 64 bit
- During install receive error "Error opening file for writing" for C:\Program Files\Synergy\synwinxt.dll - I believe this happens on the registration of the file, but I'm not 100%%%%%%%% sure.
- Presented with the Abort, Retry or Ignore.
- Click on Ignore and the program works fine afterwards. (Though both were uninstalling either 1.4.14 or 1.4.12 during install. Have not tested a completely clean install.)
I can confirm this is an issue on Windows 7 x64, Windows 8 x64, Windows 8.1 x64 using the 64 bit Synergy client. Have not attempted with 32 bit client or 32 bit computers.
Yes both the 8.1 and 7 machine are x64 with 64 bit client. Forgot to mention that.
Can confirm this is an issue on Windows 7 x64. Clicked "ignore" and went through install. Synergy is working but drag and drop does not work.
Can confirm that same error with Win7 64bit install - 'error opening file for writing etc.' however Synergy does not work - although starts and says accepts connection - does not in fact work with Mac OSX 10.6 client
Windows 7 64 bit here. Was having this issue and tried the following: I tried to manually delete the synergy folder and it said something?.exe was using the dll. So I killed that process and tried again. Then it said ibnet_client.exe was using the dll. So I killed that; then it said Catalyst Control Center: Host application was using the dll. Uninstalled synergy using uninstaller. Restarted. Installed again - fixed the issue.
V1.4.15 Server = Win 7 32 bit. Client = Win 7 64 bit. No error messages during install. Everything I've tried so far works except: - Drag and drop of files - Copy/Cut and paste of files - Copy/Paste of text data into an open doc worked once then failed thereafter - Copy/Paste of image data into an open doc failed.
So, I get what I got before, without at least copy/paste it isn't much good to me.
By the way, with reference to my feedback above, I understand that getting this type of support across a range of platforms is a really difficult challenge, and chops to Nick & Co for sticking with this. I will definitely continue to test new versions and will leave it installed as soon as these features are working.
based off of Matt's info i used app unlocker and deleted folder.. rebooted and then did install.
I have this issue on both: - windows 7 64 bit - windows vista 32 bit
I concur with Damon's and Matt's info. I uninstalled the program on both the Win 8.1 64x machine and the Win 7 64x machine. I attempted to remove the folder on the Win7 machine but it required me to shutdown winlogin (which I couldn't), so instead I rebooted and then removed the folder. I then reinstalled and I had no errors during install. On the Win8.1 machine I uninstalled, rebooted, deleted the old folder, and then reinstalled. No errors on that machine either. I now have drag and drop working and copy and paste (at least with text) without issue as well. I do wish there was some sort of visual feedback for the drag and drop. I didn't think it was working for a bit until I noticed the desktop getting some added items. (my desktop tends to be a little cluttered)
So if everyone on the Windows machine follows...
- Uninstall older version (or current)
- Reboot the machine
- Delete the Synergy folder from Program Files and/or Program Files (x86)
- Reinstall the latest synergy.
For me no errors and it appears to be working. I'm guess the installer needs to catch that it cannot remove the old program fully and that a restart is required before it can be installed.
Win XP 32bit, previously running 1.4.12, trying to upgrade to 1.4.15: same problem (failed to load shell library, synwinxt.dll is missing or invalid; failed to start server: unable to open screen). Tim's 4 steps did not work for me. Nor did I see any errors with the installer. Any other workarounds?
George Webb is correct, this doesn't work. Win XP 32bit still cannot load synwinxt.dll. And using 1.4.12 no longer works either - the protocol is different (I am using 1.4.15 on the other machines for drag-n-drop). I don't use my Win Xp machine much, but when I do, I NEED Synergy. Please fix this ASAP!
Same here. Synergy 1.4.15-Windows-x64. Windows 7 SP1.
Same issue here, with Windows XP X86 SP2. Server Running 1.4.15 X64 on Win7. Rolled back to 1.4.12, works again.
I think this is due to the use of RegDeleteTree in synwinxt.cpp This function is unavailable pre-vista. Use SHDeleteKey instead. It should be a super-simple fix (the API appears identical). I'd test and submit a patch if it wouldnt take longer to download 1GB of QT and python deps and then wrestle with them all than it would to actually fix it. To my knowledge, theres no reason SHDeleteKey wont work in this situation.
Same problem. I was successfully using 1.4.12 with a Win 7, 64bit server and XP, 32 bit client. Donated and upgraded to 1.4.15 to get the drag and drop function and now find that I cant get 1.4.15 working on the client with the error message 'synwinxt.dll is missing or invalid'.
Tried the various fixes listed here without success. Having deleted the 1.4.12 version download from my machine I don't have any Synergy at all. :-( Is there anywhere to download the earlier versions?
Having the same problem. Seems like the problem has been around for a bit as well as there have been no nightly builds since Oct31st. Guess Devs are taking a 2 month break?
If you don't want to restart, you can also do the following steps to get it upgraded:
- Open a administrative cmd window.
- Press CTRL+SHIFT+ESC
- Kill explorer.exe
- Switch to the cmd window opened above.
- Run "rm C:\Program Files\Synergy\."
- In the task manager do File>New Task
- type "explorer" and press enter.
- Re-run the installer
Step 5 should be (forgot to use code and cannot edit the above comment):
rm C:\Program Files\Synergy\*.*
Also this is for the 64-bit install or a 32-bit install on a 32-bit windows. If you are using the 32-bit install you will need to change to "Program Files (x86)"
Donated to get drag and drop,but it does not work on a windows xp machine client and win 7 server. You should put a disclaimer on the 1.4.15 that windows xp does not support drag and drop as it was my only reason for donating :(
I see that in the latest nightly build there is a workaround for XP: if (osvi.dwMajorVersion < 6) // skipping shell library load ...
However, it is trivial to make synwinxt.dll run on XP. Simply replacing the calls to RegDeleteTree (unsupported) with SHDeleteKey will do the trick. I did this and it runs just fine on XP.
I have just started a clean install of 1.4.15 on Windows 8.1, same issue. I see that it is marked fixed with a target version of 1.4.16. I will try that.
ERROR: invalid shell library, use a newer synwinxt.dll
I guess I will have to wait for a stable release of 1.4.16. Make no mistake, I am a big Synergy fan. I would just really like to be able to use this to control my Debian system from my 8.1 machine. Thanks for everything.
Had the same issue but was able to fix it by doing a clean install. Steps below on windows: 1- uninstall Synergy program 2- restart PC to release synwinxt.dll 3- delete the Synergy c:\program files\synergy directory using normal file explorer (this will not remove the configuration you have for server) 4- install the latest release 1.4.16 and it should work with existing configuration
I confirm an error with 1.4.16 when 1.4.15 was installed on Windows 8.1 64bits:
INFO: starting new process
INFO: Synergy 1.4.16 Server on Microsoft Windows 6.2 x64
ERROR: invalid shell library, use a newer synwinxt.dll
FATAL: failed to start server: unable to open screen
ERROR: failed to launch, error: process immediately stopped
INFO: backing off, wait=10s, failures=26
INFO: watchdog status: error
I had this error, removed synwinxt.dll. This caused explorer to crash every time I opened a file from explorer (.txtr,.pdf, etc), restart did not fix issue.
I had to uninstall synergy and restart to fix the issue.
Scratch that, as soon as I turn the server on (on client side) this error occurs again. Explorer crashes all the time. running 1.4.16 beta (64 bit, windows 7)
Just go to services - stop synergy service. (If you want, rename synwinxt.dll for example to synwinxt_.dll) Now just reinstall.
Confirmed the above instructions. Stop Synergy service, uninstall Synergy, goto C:Program Files\Synergy folder and rename synwinxt.dll to synwinxt_old.dll, then re-install Synergy 1.4.16 and everything works fine.
Confirmed the fix above. The faulty version of synwinxt.dll is 24Kb, after reinstalling it's 27Kb.
I got a similar bug to this when upgrading from 1.4.15 to 1.4.16. The file looks like it was in use so didn't get upgraded. The install worked but Synergy failed to do anything. I had to uninstall, rename the synwinxt.dll file (as it was in use by Windows) and then re-install for it to be fixed. I didn't need to restart Windows.
I had the same issue upgrading to .46. Had to uninstall, restart, then install it.
As above - had issues with upgrading from 1.4.15 to 1.4.16.
ERROR: invalid shell library, use a newer synwinxt.dll FATAL: failed to start server: unable to open screen ERROR: failed to launch, error: process immediately stopped
Uninstalling, renaming C:/Program Files/Synergy/synwinxt.dll to C:/Program Files/Synergy/synwinxt_old.dll and reinstalling would force Synergy to reinstall the correct .dll file. It then ran as usual.
I just had this... wasnt upgrading, just started to error out, I then tried to upgrade and got the dll error... I followed Richard Mayes procedure and it worked great (running the latest build (1.4.16-r1969-Windows)on Windows 8.1 64bit
Open a administrative cmd window. Press CTRL+SHIFT+ESC Kill explorer.exe Switch to the cmd window opened above. Run "rm C:\Program Files\Synergy*.*" In the task manager do File>New Task type "explorer" and press enter. Re-run the installer
I just had this too. I tried to upgrade from version 1.4.12 to 1.4.16. The steps mentioned by Richard Mayes works perfectly.
I noticed that before running step number 5:
del C:\Program Files\Synergy\*.* that synwinxt.dll is still exist in C:\Program Files\Synergy\ after I tried to first uninstall Synergy using Windows' Add/Remove programs.
I suppose the installer/uninstaller couldn't remove the (old) synwinxt.dll.
The fact that killing explorer.exe helped to remove the dll may suggest that the dll is still being used by explorer.exe when the installer tried to remove it?
After installing version 1.4.16 on a 10.8.4 osx server and a windows 7 x64 client my mouse drags items very quickly on the client. Too fast so i end up highlighting many more icons in a folder or browser than i intended. This happens every time when hold a left click to select items in a folder and draw the square of intended items i want to select. It ends up snapping the selected area to the extreme space it can get. Another example of this usage would be highlighting specific text for copy on a web page using the mouse. It is impossible to select a specific amount of text using the mouse as it selects way more too quickly compared to my mouse movement. This happens on IE9/Chrome v33/FF v27 and windows explorer. Sorry this is hard to describe but it is a major nuisance. Both installs were done after completely uninstalling the older version and installing clean, as i have seen this resolve other issues in the past. Unfortunately this did not fix the issue this time. I believe this issue is related to what others are seeing and this issue should be reopened and looked at. Contemplating going back an older version.