labscript-suite-temp / labscript_utils

Shared modules used by the labscript suite. Includes a graphical exception handler, debug tools, configuration management, cross platform filepath conversions, unit conversions and custom GUI widgets.
Other
0 stars 0 forks source link

Winshell functions fail on Windows Vista #9

Open philipstarkey opened 8 years ago

philipstarkey commented 8 years ago

Original report (archived issue) by Philip Starkey (Bitbucket: pstarkey, GitHub: pstarkey).


The make_shortcut and set_appusermodel functions in winshell.__init__.py fail to run on windows Vista.

This causes the installer to fail towards the end of the install process and also all the applications to raise exception windows (although so far these have not been reported to prevent execution of the software).

We should ensure these functions use a try-except block so they don't crash on windows versions that are not supported, and print an appropriate warning (and encourage the user to report a bug if they are on a modern version of windows)